Create a First-Generation Managed Package Using a UI
If your goal is to build an app and distribute it on AppExchange, you use managed
packages to do both. Packaging is the container that you fill with metadata, and it holds the set
of related features, customizations, and schema that make up your app. A package can include many
different metadata components, and you can package a single component, an app, or
library.
| User Permissions Needed | |
|---|---|
| To create packages: | Create AppExchange Packages |
- From Setup, in the Quick Find box, enter Package Manager, and then select Package Manager.
- Click New.
- Enter a name for your package. You can use a different name than what appears on AppExchange.
- From the dropdown menu, select the default language of all component labels in the package.
- (Optional) Choose a custom link from the Configure Custom Link field to display configuration information to installers of your app. You can select a predefined custom link to a URL that you’ve created for your home page layouts; see the Configure Option. The custom link appears as a Configure link within Salesforce on AppExchange Downloads page and app detail page of the installer's organization.
- (Optional) In the Notify on Apex Error field, enter the username of the person to notify if an uncaught exception occurs in the Apex code. If you don’t specify a username, all uncaught exceptions generate an email notification that is sent to Salesforce. This option is only available for managed packages.
- (Optional) In the Notify on Packaging Error field, enter the email address of the person who receives an email notification if an error occurs when a subscriber’s attempt to install, upgrade, or uninstall a packaged app fails. This field appears only if packaging error notifications are enabled. To enable notifications, contact Salesforce Partner Support.
-
(Optional) Enable language extension packages. (Beta)
- Under Language Settings, click Edit.
- Select Enable Language Extension Package and save your changes.
- (Optional) Enter a description that describes the package. You can change this description before you upload it to AppExchange.
- (Optional) Specify a post install script. You can run an Apex script in the subscriber organization after the package is installed or upgraded. For more information, see Running Apex on Package Install/Upgrade.
- (Optional) Specify an uninstall script. You can run an Apex script in the subscriber organization after the package is uninstalled. For more information, see Running Apex on Package Uninstall.
- Save your work.