function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
klthawklthaw 

How to get deleted ContentDocument Id By using SOAP API

Hi 

getDeleted() method is not support for ContentDocument.
so, how can we get deleted ContentDocument Id by using SOAP API from external system. Is any idea?

Thank in advance.
Regards,
LinThaw
AbhishekAbhishek (Salesforce Developers) 
Hi Klthaw,

That really depends on if there's an IsDeleted field. This field exists because SalesForce doesn't actually delete anything until a quota is hit or 15 days or passed, meaning IsDeleted allows for the record to exist and be recovered.

If this, or similar, the value doesn't exist, it's likely been permanently deleted.

Regards,
Salesforce Support.
klthawklthaw
Hi Abhishek,
Thanks for reply.

So I want to try to get these deleted ContentDocumentId in other way, if you have any idea please share me.
and, Why is difference some object have IsDeleted field and some object doesn't have IsDeleted field?

Regards,
LinThaw
AbhishekAbhishek (Salesforce Developers) 
Hi Klthaw,

Yes, you have to try in another way.

Please go through the below link for further questions,

https://success.salesforce.com/answers?id=9063A000000iqEVQAY

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Regards,
Salesforce Support.





 
klthawklthaw
Thanks Abhishek,

If there is no other way, I will try to use own mapping logic with ID list from queryAll and existing ID list from external db.

Regards,
LinThaw