You need to sign in to do that
Don't have an account?
Mel Lisau
How can i permanently delete custom objects from Salesforce?
I have custom objects in Salesforce that i delete , but if i lok in Salesforce it says "deleted objects(2)". I need to go into there and Erase.
At the moment i am doing the following
custids is a string[] of the salesforce id for that object.
sfservice.DeleteResult[] deleteResult = mysrvc.delete(custids);
and then
sfservice.EmptyRecycleBinResult[] emptyresult= mysrvc.emptyRecycleBin(custids);
But when i look in Salesforce , I can still see the objects as Deleted Objects and I need to go in manually and delete them
How can i delete them permanently ?
At the moment i am doing the following
custids is a string[] of the salesforce id for that object.
sfservice.DeleteResult[] deleteResult = mysrvc.delete(custids);
and then
sfservice.EmptyRecycleBinResult[] emptyresult= mysrvc.emptyRecycleBin(custids);
But when i look in Salesforce , I can still see the objects as Deleted Objects and I need to go in manually and delete them
How can i delete them permanently ?
Greetings!
Seems like the components will still be available after running EmptyRecycleBinResult[] unless salesforce run the physical delete as mentioned in the below thread:
https://salesforce.stackexchange.com/questions/4020/whats-the-actual-meaning-of-all-rows-in-soql
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri