To uninstall the ClosePlan app from a Sandbox or a Production Org, the following are required:

Uninstall ClosePlan:

  1. Go to Setup > Historical Trending > object CP Event > disable the checkbox Enable Historical Trending and Save

  1. Go to ClosePlan Admin tab > Environment > Maintenance > click Delete Context Metadata button and Confirm.

    1. NOTE:
      If there is any problem, this step can be achieved also manually by deleting all the records related to ClosePlan Custom Metadata Type objects.
      To do that, navigate to Setup > Custom Code > Custom Metadata Types and click Manage Records. Delete all records for following objects:


3. Go to Installed Packages and uninstall ClosePlan app

Troubleshooting:

  1. If Delete Context Metadata button is disabled:

The likely reason is that the Connected App configuration is broken (configuration for ClosePlan Metadata)

To resolve:

If you need assistance, please contact the People.ai support team at support@people.ai

  1. If component type errors appear:

https://help.salesforce.com/s/articleView?id=000386372&type=1