Uninstalling the Salesforce Package
- Remove the "Send Alyce Gift" button and the "Alyce Gift" Visualforce widget from all Account, Contact, Lead, Opportunity and Campaign page layouts.
- Go to Setup->Manage Users->Permission Sets->Alyce Permission Set->Manage Assignments and remove all permission set assignments.
You can remove any installed package, including all its components and all data in the package. Also, any custom fields, links, or anything else you added to the custom app after installation are also removed.
- From Setup, enter Installed Packages in the Quick Find box, then select Installed Packages.
- Click Uninstall next to the Alyce package that you want to remove.
- Select Yes, I want to uninstall and click Uninstall.
- After an uninstall, Salesforce automatically creates an export file containing the package data, associated notes, and any attachments. When the uninstall is complete, Salesforce sends an email containing a link to the export file to the user performing the uninstall. The export file and related notes and attachments are listed below the list of installed packages. We recommend storing the file elsewhere because it’s available for only two days after the uninstall completes, then it's deleted from the server.
TIP If you reinstall the package later and want to reimport the package data, see Importing Package Data.
Notes on Uninstalling Packages
- If you’re uninstalling a package that includes a custom object, all components on that custom object are also deleted. Deleted items include custom fields, validation rules, s-controls, custom buttons and links, workflow rules, and approval processes.
- You can’t uninstall a package whenever a component not included in the uninstall references any component in the package. For example:
- When an installed package includes any component on a standard object that another component references, Salesforce prevents you from uninstalling the package. An example is a package that includes a custom user field with a workflow rule that gets triggered when the value of that field is a specific value. Uninstalling the package would prevent your workflow from working.
- When you have installed two unrelated packages that each include a custom object and one custom object component references a component in the other, you can’t uninstall the package. An example is if you install an expense report app that includes a custom user field and create a validation rule on another installed custom object that references that custom user field. However, uninstalling the expense report app prevents the validation rule from working.
- When an installed folder contains components you added after installation, Salesforce prevents you from uninstalling the package.
- When an installed letterhead is used for an email template you added after installation, Salesforce prevents you from uninstalling the package.
- When an installed package includes a custom field that’s referenced by Einstein Prediction Builder or Case Classification, Salesforce prevents you from uninstalling the package. Before uninstalling the package, edit the prediction in Prediction Builder or Case Classification so that it no longer references the custom field.
- You can’t uninstall a package that removes all active business and person account record types. Activate at least one other business or person account record type, and try again.
- You can’t uninstall a package if a background job is updating a field added by the package, such as an update to a roll-up summary field. Wait until the background job finishes, and try again.
- Uninstall export files contain custom app data for your package, excluding some components, such as documents and formula field values.
- For some package types, you can also uninstall them with the Salesforce command-line interface (CLI).