Ajax (1) Apex Class (12) Apex Trigger (2) Community (2) Home Page (1) HTML (4) Integration (3) JS (7) KB (1) Label (1) Licenses (1) Listing (1) Log (1) OOPs (5) Sharing (1) Static Resource (1) Test Class (3) URI (1) Visualforce (10)

Tuesday 22 April 2014

package

Creating and Editing a Package | Salesforce

Creating and Editing a Package

Available in: GroupProfessionalEnterprisePerformanceUnlimited, and Developer Editions

User Permissions Needed
To create packages: “Create AppExchange Packages”
An app can contain many different components and you can create, upload, and register your apps on your own timeline. To group components in a container to upload to Force.com AppExchange, create a package and add components to the package. A package is the container for the app that you must use to upload all its components together.
Tip
Before you begin, determine if you want to create and upload a managed or unmanaged package.
To create a new package:
  1. From Setup, click Create | Packages.
  2. Click New.
  3. Enter a name for your package. This does not have to be the same name that appears on AppExchange.
  4. From the drop-down menu, select the default language of all component labels in the package.
  5. Optionally, 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 or s-control that you have created for your home page layouts; see the Configure Option. The custom link displays as a Configure link within Salesforce on the Force.com AppExchangeDownloads page and app detail page of the installer's organization.
  6. Optionally, in the Notify on Apex Error field, enter the username of the person who should receive an email notification if an exception occurs in Apex that is not caught by the Apex code. If you do not specify a username, all uncaught exceptions generate an email notification that is sent to salesforce.com. This is only available for managed packages. For more information, see Handling Apex Exceptions in Managed Packages.
    Note
    Apex can only be packaged from Developer, Enterprise, Unlimited, and Performance Edition organizations.
  7. Optionally, enter a description that describes the package. You will have a chance to change this description before you upload it to AppExchange.
  8. Optionally, specify a post install script. This is an Apex script that runs in the subscriber organization after the package is installed or upgraded. For more information, see Running Apex on Package Install/Upgrade.
  9. Optionally, specify an uninstall script. This is an Apex script that runs in the subscriber organization after the package is uninstalled. For more information, see Running Apex on Package Uninstall.
  10. Click Save.
After you create a package you can do any of the following:

No comments:

Post a Comment