Newer Version Available

This content describes an older version of this product. View Latest

View Details about Your Converted 2GP Package

So you’ve converted your 1GP package to a 2GP package. You can use one of two Salesforce CLI commands to retrieve details about your 2GP packages.

To see details about the new managed 2GP package, run:

1sf package list --verbose

In the verbose command output, there's a column labeled Converted From Package Id. When that field is populated it indicates that the package was originally created using 1GP, and has been converted to 2GP. The 033 ID that displays in that column maps to the original 1GP package.

To see details about the new managed 2GP package version, run:

1sf package version list

If the value in the Released column of the command output is false, this indicates that the package is a beta package version, and you must promote the package to the managed-released state before you migrate the package. See Get Ready to Promote and Release a Second-Generation Managed Package Version.

The package convert command creates a new managed 2GP package, and a new managed 2GP package version, and both are now associated with your Dev Hub org. The association between the Dev Hub org and your package can’t be changed. And you can't associate the package with a second, separate Dev Hub org. This means any subsequent package conversions you initiate for this package, must be associated with the Dev Hub org you specified the first time you converted a particular package.