Salesforce DX projects can be used to create Unlocked Packages in your Dev Hub. These Unlocked Packages and Package Versions can then be installed in any Scratch Org, Salesforce Sandbox, or Developer Edition Org. Unlocked Packages are the key technology for organizing your unpackaged Metadata and reducing the complexity of your Org.
Most Salesforce Orgs contain a sea of unpackaged metadata. Some customizations are made by hand with the Setup Menu, others are created with Change Sets or the Metadata API. Unpackaged customizations can pile up over time and make the org difficult to manage. Too many customizations can result in slow performance, reduced agility, sluggish adoption, and added complexity. Moving assets into Unlocked Packages can solve this problem and add much needed structure to your Salesforce account.
There are significant benefits to adopting Salesforce DX and Unlocked Packages. Bugs and problems are isolated to the package instead of being spread across the entire org. When a project needs to be upgraded or replaced, the package makes entangled assets easier to identify. Packages are the foundation for agile development, enabling smaller groups of developers to focus on more isolated sections of code. Packages can be individually tested in a Scratch Org or developer account. Modular packages can be used to enable multiple orgs and partners. Packages lower cost, increase flexibility, reduce complexity, and improve time to production.
Metazoa Snapshot has powerful tools to convert a Salesforce DX project into an Unlocked Package that will be stored in the Dev Hub. Then an administrator can install these Packages and Package Version into any Salesforce Org. When you have built Salesforce DX projects that are working correctly, you can create packages in your Dev Hub and then install the packages into Sandboxes for testing or Production for deployment. The Metadata API can be used to deploy other unpackaged assets. You can also use the Metadata API to move Second-Generation Unlocked Packages into Production. This has the advantage of automatic roll-back if there is an error.
Here are some helpful links with more information about unlocked packages:
Snapshot provides powerful tools for Salesforce Administrators that help manage the change and release process, visualize org complexity, improve security and compliance, and lower the total cost of Org ownership. Visit the AppExchange to start a 14 day free trial or click the button below to schedule a demo.
© 2018-2024 Metazoa. All rights reserved. Proudly made in California