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
Li LeeLi Lee 

Questions about upgrade 1GP to 2GP

Hi all,

We want to upgrade our 1GP package to 2GP package, we have some question about move to 2GP package:

  1. Will the new package ID be different from the existing package ID?
  2. Is it possilbe for extisting user to updgrade the package version as usual?
  3. In our package we have some custom objects in our Package, if our customer use 2GP package to upgrade current version, in my understand the existed records in custom object will not been effect right?


Thanks for your help.

VinayVinay (Salesforce Developers) 
Hi Lee,

There is no direct answer for above,  however I found below references that can help you.

https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_dev2gp_comparison.htm
https://salesforce.stackexchange.com/questions/279415/converting-first-generation-managed-package-to-second-generation-2gp-packages

Thanks,
Tejas Kshirsagar 7Tejas Kshirsagar 7
how to manage the 2GP packages like 1GP from setup? any idea?