Newer Version Available
Create and Upload an Unmanaged Package
Use the following procedure to upload an unmanaged package through the UI. You can also
upload a package using the Tooling API. For sample code and more details, see the
PackageUploadRequest object in the Tooling API Developer Guide.
-
Create the package:
- From Setup, enter Package Manager in the Quick Find box, then select Package Manager.
- Click New.
- Fill in the details of the package.
- Click Save.
- On the Components tab, click Add.
- From the Component Type dropdown list, choose a component.
- Select the component you want to add.
- Click Add To Package.
- Repeat these steps until you’ve added all the components you want in your package.
- Click Upload.
You will receive an email that includes an installation link when your package has been uploaded successfully. Wait a few moments before clicking the installation link or distributing it to others, as it might take a few minutes for it to become active.
Considerations for Uninstalling Unmanaged Packages
If your unmanaged package has dependencies on metadata in another package, remove any
dependencies before attempting to uninstall either package.
If you’re working in a sandbox org, you must first remove the package dependencies in your production org.
- Locate the unmanaged package in your production org and remove the dependencies to the package you plan to uninstall.
- Create or refresh your sandbox org.
- In your sandbox org, you can now uninstall the package that your unmanaged package previously depended on.