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
JerryHJerryH 

AppExchange: Uninstall With Rollback?

I'm developing a managed package that will import customer data into Salesforce and create new Account / Opportunity / Task / Product records.  Since I'm using the "standard" set of Salesforce objects and schemas all of the information that is imported will be left behind if a customer uninstalls my application.

 

What I'd like to do is offer customers the option to either leave the imported data (how the uninstall works now, by default) *or* to remove both the application and the imported data.  Is there any way to hook into the Salesforce uninstall so that I can call my own code to clean up the imported data?  Maybe an extend / inherit that I can subclass to pick up on an "uninstall event"?

 

Thanks!

 

Jerry H.

 

gv007gv007

After installing yours package ,deleting the download csv file option will remove yours data from the org.i think