Delete Document from "My Received Docs"

In my application, a user can select a pdf document for upload into a collection. I am doing this using the uploadButton.startLoad() function in code, and it is working just fine. The url reference appears in the collection and the document shows up in “My Received Docs”.

I also allow uploaded documents to be deleted. I can delete them from the collection without an issue, but the file remains in “My Received Docs.” Is it possible to delete the file from “My Received Docs” using code?

As a secondary question, why is “My Received Docs” not visible within the Media Manager when I choose Documents from “My Uploads”? I understand that I can go to the upload button and find it through “Manage Upload Button”, but this seems pretty convoluted as a normal part of site management.

Thanks in advance for any assistance.

I guess that you can find those docs under the “Visitor Uploads” in the new Media Manager?


The docs that a visitor uploads to a Data Collection should not be stored here in my opinion and after you have deleted the record that holds the document it should go away. But here is no access to documents through code for the Media Manager.

Maybe you should contact support@wix.com to find the documents and ask them why they are added to your media manager the way you describe.

Andreas –

Thanks for the quick reply. I kind of expected that there is no code access to the Media Manager, but had to ask.

db

Andreas I’m agree. Every functionality should have it’s opposite and uploading by code it’s supported!