Loading

Best Practices When Uninstalling an App or Package in Salesforce

Дата публикации: Jul 3, 2025
Описание
Carefully review the details in Uninstalling a Package.

Check with your entire user base to evaluate and ensure that no one may be actively using the app's features or functionality to prevent being caught off guard.

If you have a sandbox, attempt the package or app uninstall there first. It's also a good idea to test with a small subset of users after uninstalling to ensure the changes aren't going to impact primary business processes or functions.

Before uninstalling in Production, always ensure that you have performed and downloaded a recent full data export. For more, please review Export Backup Data from Salesforce.

 

Warning
Backing up your data prior to a package uninstall is critical. Package uninstall data deletion may also affect data contained outside of the app's direct components or functionality.

Typically, dependencies built to package components will prevent an uninstall however, ‌records contained in an object outside the package may contain referential data that's removed or deleted as a part of the package's uninstall.

For more details on deletion behaviors with regards to object relationships, see the notes on deleting records in the Considerations for Relationships and Object Relationships Overview documentation.
 
Решение
During the uninstall process, carefully read through and acknowledge the following warning message that's presented on the screen:
 
Uninstalling this package will:
  • Permanently delete all components in this package (listed below)
  • Permanently delete all customizations you have made to these components
When you uninstall a package, by default, all its data as well as related notes and attachments are automatically saved as an export file. This file is available for 48 hours in case you need to recover the data. To reload the data, import the export file manually and recreate any relationships between objects. Some components can't be recreated and others require special treatment. You can also prevent the package data from being exported by selecting the appropriate radio button below. 
 
Note:
Each org's customizations are unique. It is not within the scope of Support's offerings to perform metadata or impact analysis on customer's behalves for uninstalling a package. For more, please review Admin Assist: FAQ.

Always select the "Save a copy of this package's data for 48 hours after uninstall" option and promptly download any resulting package data export files once the uninstall is complete in the off chance that you may need to re-install and re-import the data. See Importing Package Data for more details. 
Номер статьи базы знаний

000383933

 
Загрузка
Salesforce Help | Article