You need to sign in to do that
Don't have an account?
vanessa veron
Hi...
how do I delete a document from SF in Apex code?
I created the document in Method 1 and I want to delete it in method 2.
delete Document SF
Hi...
how do I delete a document from SF in Apex code?
I created the document in Method 1 and I want to delete it in method 2.
Document mydoc = new Document(); mydoc.Name =nomFic; mydoc.Type = 'csv'; mydoc.folderid = UserInfo.getUserId(); mydoc.Body = csvBlob; insert mydoc; delete DOC_CREATED_PREVIOUS;
Are you facing any problem deleting document?
I created the document in Method 1 and I want to delete it in method 2.