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
Stéphane CStéphane C 

Can't uninstall managed package

Hello,

I have made a managed packaged that I installed on a custom sandbox as a beta for tests. Then I tried to uninstall it for installing a new version and the uninstall process said on an automated e-mail that a certain picklist value set of the managed package can't be uninstall because :

"null: This global picklist is used by 1 or more custom fields. Remove the usage and try again."

So I checked directly on the value set where it is used and here is the problem : The only use is on a custom field of a custom object that belongs the managed packaged I'm trying to uninstall.

I obviously can't change this field before uninstall because it comes from the managed package so I don't have any idea for this issue.

Any idea ?
Best Answer chosen by Stéphane C
Anant KamatAnant Kamat
Please refer the below link and see if it helps.

https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_managed_component_deletion.htm