Loading

Roll Back a 1GP or 2GP Managed Package to a Previous Version

Publiseringsdato: Apr 7, 2026
Beskrivelse

There is no functionality to roll back or downgrade a 1GP (first-generation managed package) or 2GP (second-generation managed package) version to the previously installed version in any type of org (sandbox or production). 

Løsning

Salesforce does not support rolling back or downgrading a first-generation managed package (1GP) or second-generation managed package (2GP) to a previously installed version.

The only workaround is to:

  1. Export all data associated with the managed package before uninstalling.
  2. Uninstall the current package version.
  3. Reinstall the desired earlier version.
  4. Import the previously exported data back into the org.

Note: Uninstalling a package deletes all package data. Ensure you have a complete data export before proceeding.


Learn more about uninstalling a package.

Knowledge-artikkelnummer

000386776

 
Laster
Salesforce Help | Article