How do I create a Salesforce package?

How do I create a Salesforce package?

Create and Upload an Unmanaged Package

  1. Create the package: From Setup, enter Packages in the Quick Find box, then select Packages. Click New. Fill in the details of the package.
  2. Add the necessary components for your app. Click Add Components. From the drop-down list, choose the type of component.
  3. Click Upload.

What is 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 create unlocked package unit in Salesforce?

Create a GitHub account, if you don’t already have one. Install Salesforce CLI on your computer. After you build your unlocked package, you test it in a scratch org. Eventually, you install it in one of your more permanent orgs, like a sandbox.

What can you do with an unlocked package?

With unlocked packages, as the name indicates, you can still make changes to metadata that’s part of that package, even once it’s installed into production. For example, if an object is in an unlocked package and a system administrator needs to update the help text or label of a field, they can do so.

How are unlocked packages used in AppExchange development?

If you’ve ever installed an AppExchange app, those features were deployed to your org using packaging. With unlocked packaging (now in Beta), this way of deploying and organizing changes is available to customers and partners.

How are unlocked packages used in production environments?

Those environments can be scratch orgs, sandboxes, and, of course, production. As you make updates to the metadata in your unlocked package, you create a new version of your package. Then you can install the new version in whatever environments you want to update.