Contents
What is second-generation package Salesforce?
Second-generation managed packaging (2GP) ushers in a new way for AppExchange partners to develop, distribute, and manage their apps and metadata. You can use 2GP to organize your source, build small modular packages, integrate with your version control system, and better utilize your custom Apex code.
What is second generation package?
Second-generation managed packaging (2GP) ushers in a new way for AppExchange partners to develop, distribute, and manage their apps and metadata. You can use unlocked packages to organize your existing metadata, package an app or extension, or package new metadata. …
What is a package version?
A package version is a number that identifies the set of components uploaded in a package. Unmanaged packages are not upgradeable, so each package version is simply a set of components for distribution. A package version has more significance for managed packages.
What is a package in Salesforce?
A package is a container for something as small as an individual component or as large as a set of related apps. After creating a package, you can distribute it to other Salesforce users and organizations, including those outside your company. Packages come in two forms—unmanaged and managed: Unmanaged packages.
How to migrate to second generation managed package?
Submit second-generation managed packages for security review, and list them on AppExchange. Use 2GP to create new managed packages. You can’t currently migrate a first-generation package to a second-generation package. Second-generation managed packaging addresses the specific needs of AppExchange partners.
How to install second generation managed packaging in Salesforce?
When you use second-generation managed packaging, to be sure that you set it up correctly, verify the following. You can create and install a second-generation managed package directly from the command line.
How to use 2GP to build modular packages?
You can use 2GP to organize your source, build small modular packages, integrate with your version control system, and better utilize your custom Apex code. With version control being the source of truth, there are no packaging or patch orgs.