...
This page covers:
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
...
Amp Impact Uninstallation Steps
Before uninstalling the Amp Impact managed package from a Salesforce org, certain manual steps must be taken for the uninstall process to succeed. For official Salesforce documentation on uninstalling managed packages, click here.
Delete PushTopic
Open the Developer Console using the Setup menu.
...
...
In the Developer Console, click “Query Editor” in the tabs along the bottom.
...
In the “Query Editor”, enter the following string:
...
select id, name from pushtopic
...
Click “Execute” in the bottom left.
...
...
Select the PushTopic named “AggregateCalculateUpdate”.
...
Click “Delete Row”.
Unassign Lightning Record Pages
All Amp Impact Lightning Record Pages must not have any custom assignments before the uninstallation. Follow the steps below to ensure that these custom assignments do not prevent package uninstallation.
Open Setup.
Use the QuickFind menu to click Lightning App Builder.
For each page managed by Amp Impact that has been activated in the system:
Click “View” next to the page.
Click the “Activation” button in the Lightning App Builder.
Remove any Org Default, App Default, and/or App and Profile assignments, so that the page has no assignments in the end.
Click “Save”.
Info |
---|
Some Amp Impact Lightning Record Pages (e.g. Project) have an out-of-the-box assignment to either the Amp Impact app or the org default. Out-of-the-box assignments will not prevent uninstallation. For steps with regard to custom Lightning pages that use Amp components, go to the section Custom on Lightning Pages. |
Unassign Permission Sets
All Amp Impact permission sets must not be assigned to any users in order for the package uninstallation to succeed. Follow the below steps to remove any user assignments from the permission sets.
Open Setup.
Use the QuickFind menu to click “Permission Sets”.
Open the Amp Impact Admin permission set.
Click “Manage Assignments”.
Select all users assigned the permission set and click “Remove Assignments”.
Repeat Steps 3-5 for every other permission set managed by Amp Impact:
Submission Response
Submission Review
Submission Template
Info |
---|
Custom permission sets that provide access to Amp Impact objects do not need to be altered for the uninstallation to succeed. |
Deactivate Processes
Processes in the Amp Impact package must be deactivated before the package uninstallation can succeed. Follow the below steps to deactivate all Amp processes.
Open Setup.
Use the QuickFind menu to click “Process Builder”.
Expand the process named “Copy Objective Field Values onto Project Objective”.
Click “Deactivate”.
Expand the process named “Copy Indicator Field values onto Project Indicator”.
Click “Deactivate”.
...
Delete Custom Processes
The above instructions only pertain to the processes included in the Amp Impact package. For custom Custom processes that reference Amp Impact objects, see section Custom Processes for uninstallation stepsany Amp Impact components must be deleted before uninstalling the package.
Open Setup.
Use the QuickFind menu to click “Process Builder”.
Expand the custom process that references the Amp Impact component(s).
Make sure all versions of the custom process are Inactive.
If a version is Active, open that version of the process and click the Deactivate button.
Click Delete next to the process. If there are multiple versions, each version must be deleted before uninstalling Amp Impact.
Repeat Steps 3-5 for every custom process that references Amp Impact components.
Deactivate Flows
Flows in the Amp Impact package must be deactivated before the package uninstallation can succeed. Follow the below steps to deactivate all Amp processes.
From Setup, enter Flows in the Quick Find box, then select Flows.
Click the label of the flow.
Click Activate or Deactivate next to the relevant version of the flow.
Info |
---|
These instructions only pertain to processes included in the Amp Impact package. For custom processes that reference Amp Impact objects, see section Custom Flow for uninstallation steps. |
Delete Custom Flows
The above instructions only pertain to flows included in the Amp Impact package. Custom flows that reference any Amp Impact components must be deleted before uninstalling the package.
Open Setup.
Use the QuickFind menu to click “Flow”.
Open the custom flow that references the Amp Impact component(s).
Make sure all versions of the custom flow are Inactive.
If a version is Active, click the Deactivate button next to that version.
Click the Delete button for the flow.
Repeat Steps 3-5 for every custom flow that references Amp Impact components.
...
Custom Steps
...
for Certain Use
...
Cases
If customizations (e.g. custom Lightning pages, automation, etc.) have been made on top of the Amp Impact package, additional steps may be necessary before package uninstallation, depending on the type of customization(s).
...
For any custom Lightning Pages that contain Amp Impact components (including Lightning Components, Visualforce Pages, or Amp Impact objects), those Lightning Pages need to be either deleted or edited such that they no longer reference those components.
Remove any Amp Impact Component References from Custom Lightning Page
Open Setup.
Use the QuickFind menu to click “Lightning App Builder”.
For each custom Lightning Page that needs Amp components removed:
Click “Edit” next to the Lightning Page.
Click the Delete icon for each component that references an Amp component. Some examples include (but are not limited to):
Standard Visualforce Component that references an Amp Visualforce page
Standard Report Chart Component that references an Amp report / object
Custom - Managed Lightning Components from the Amp package
Click “Save”.
Delete the Custom Lightning Page
Open Setup.
Use the QuickFind menu to click “Lightning App Builder”.
For each custom Lightning Page that needs to be deleted:
Click “Edit” next to the Lightning Page.
Click “Activation” in the Lightning App Builder.
Remove any activation/assignments of the page.
Return to the list of Lightning Pages by clicking “Back”.
Click “Del” next to the Lightning Page.
Digital Experience Sites
Any references to Amp Impact components must be removed from all Digital Experience in your Salesforce system.
Navigation Menu
Open Setup.
Use the QuickFind menu to click “Digital Experience”.
Click
...
“Builder” next to the Digital Experience
...
which has a Navigation Menu that references Amp Objects.
Click
...
on the Navigation Menu in the Builder.
...
In the popup that appears, click the “Navigation Menu” button.
...
...
In the next popup that appears, click the X next to every Amp Object listed in the Navigation Menu.
...
Click “Save” in the popup.
...
Click “Publish”.
Lightning Components
Open Setup.
Use the QuickFind menu to click “Digital Experience”.
Click “Builder” next to the Digital Experience
...
which has Object Pages that reference Amp Components.
Click “Home” to expand the list of pages in the Digital Experience.
Click the Template Page that is referencing an Amp Component.
In the Digital Experience Builder, remove any component that either belongs to the Amp Impact package (e.g. ActivityChart Lightning Component) or references an Amp Impact component (e.g. Report Chart component that references an Amp Impact object) from the page.
Repeat Steps 4-6 for every page that contains an Amp Impact component.
Click “Publish”.
Object Pages
Open Setup.
Use the QuickFind menu to click “Digital Experience”.
Click “Builder” next to the Digital Experience that has Object Pages that reference Amp Objects (e.g. Project, Submission, etc.).
Click “Home” to expand the list of pages in the Digital Experience.
Click the ellipsis [...] next to the Object Page that references an Amp Object.
Click “Delete Object Pages” in the menu that expands, and confirm the delete in the popup.
Repeat Steps 4-6 for every Object Page that references an Amp Object.
Click “Publish”.
Permission Sets
Open Setup.
Use the QuickFind menu to click “Digital Experience”.
Click “Workspaces” next to the Digital Experience that has Object Record Pages that reference Amp Objects.
Click the Administration tile in the Digital Experience Workspace.
Click “Members” in the Administration side menu.
Scroll to the “Select Permission Sets” section. Move any Amp Impact permission sets (e.g. Amp Impact Admin, Submission Response) from the “Selected Permission Sets” list to the “Available Permission Sets” list.
Click Save.
Automation
Any custom automation that has been built to reference Amp Impact components (e.g. objects, fields, et al) must be deactivated or deleted for the package uninstallation to succeed.
...
Custom processes that reference any Amp Impact components must be deleted before uninstalling the package.
Open Setup.
Use the QuickFind menu to click “Process Builder”.
Expand the custom process that references the Amp Impact component(s).
Make sure all versions of the custom process are Inactive.
If a version is Active, open that version of the process and click the Deactivate button.
Click Delete next to the process. If there are multiple versions, each version must be deleted before uninstalling Amp Impact.
Repeat Steps 3-5 for every custom process that references Amp Impact components.
Custom
...
Flows
Custom flows that reference any Amp Impact components must be deleted before uninstalling the package.
Open Setup.
Use the QuickFind menu to click “Flow”.
Open the custom flow that references the Amp Impact component(s).
Make sure all versions of the custom flow are Inactive.
If a version is Active, click the Deactivate button next to that version.
Click the Delete button for the flow.
Repeat Steps 3-5 for every custom flow that references Amp Impact components.
...
Uninstall the Amp Impact Package
Once all the above steps are complete, then proceed with the actual uninstallation of the Amp Impact managed package.
Open Setup.
Use the QuickFind menu to click “Installed Packages”.
Click “Uninstall” next to the Amp Impact package.
In the next screen, you will be prompted to save a copy of this package’s data for 48 hours after uninstall. This temporarily saves all data and metadata from the package in case you need to re-install the package and re-upload your historical data.
Check the box next to “Yes, I want to uninstall this package and permanently delete all associated components”.
Click
...
“Uninstall”.
...