No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Creating and Uploading a Managed Package
Use the following procedure to create and upload a managed package.
The procedure assumes you have already created a namespace and beta
package. If you are uploading a beta package for testing, see Creating and Uploading a Beta Package.
- Create a package:
- From Setup, click .
- Click New.
- Enter a name for your package.
- From the drop-down menu, select the default language of all component labels in the package.
- Optionally, choose a custom link from the Configure Custom Link field to display configuration information to installers. The custom link displays as a Configure link within Salesforce on the Installed Packages page and package detail page of the subscriber's organization.
- In the Apex Exception Notification Recipient field, enter the username of the person who will receive an email notification if an exception occurs in an Apex script that is not caught by the script.
- Enter a description of the package.
- On the right side of the screen, select the Managed checkbox.
- Click Save.
- Optionally, change the API access privileges. By default, API access is set to Unrestricted, but you can change this setting to further restrict API access of the components in the package.
- Add components:
- Click Add Components.
- From the drop-down list, choose the type of component.
- Select the components you want to add.
- Click Add To Package.
- Repeat these steps until you have added all the components you want in your package.
- Optionally, click Show Dependencies and review a list of components that rely on other components, permissions, or preferences within the package. For more information on dependencies, see Understanding Dependencies. Click Done to return to the Package detail page.
- Click Upload.
- On the Upload Package
page, do the following:
- Enter a Version Name, such as Spring 12. The version name is the marketing name for a specific release of a package and allows you to create a more descriptive title for the version than just a number.
- Enter a Version Number, such as 1.0. For more information on versions, see Upgrading Your App.
- Select a Release Type of Managed - Released.
- Change the Description, if necessary.
- Optionally, enter and confirm a password to share the package privately with anyone who has the password. Don't enter a password if you want to make the package available to anyone on AppExchange and share your package publicly.
- Salesforce automatically selects the requirements it finds. In addition, select any other required components from the Package Requirements and Object Requirements sections to notify installers of any requirements for this package.
- Click Upload.
- Once your upload is complete, you can do any of the following.
- Click Change Password link to change the password option.
- Click Deprecate to
prevent new installations of this package while allowing existing
installations to continue operating.
When you deprecate a package, remember to remove it from AppExchange as well. See “Removing Apps from AppExchange” in the AppExchange online help.
- Click Undeprecate to make a deprecated version available for installation again.
You will receive an email that includes
an installation link when your package has been uploaded successfully.