Newer Version Available

This content describes an older version of this product. View Latest

About Managed Packages

Available in: Salesforce Classic (not available in all orgs) and Lightning Experience
Available in: Developer Edition

Package uploads and installs are available in Group, Professional, Enterprise, Performance, Unlimited, and Developer Editions


Building a new app? Have you considered using second-generation managed packages? Flexible versioning and the ability to share a namespace across packages are just two reasons why developers love creating second-generation managed packages. We think you’ll love it too. To learn more, see: Discover the Benefits of 2GP Package Development, and Comparison of First- and Second-Generation Managed Packages.

Important

A managed package is a collection of application components that are posted as a unit on AppExchange, and are associated with a namespace and a License Management Organization.

  • You must use a Developer Edition organization to create and work with a managed package.

To prevent naming conflicts, Salesforce recommends using managed packages for all packages that contain Apex to ensure that all Apex objects contain your namespace prefix. For example, if an Apex class is called MyHelloWorld and your org’s namespace is OneTruCode, the class is referenced as OneTruCode.MyHelloWorld.

Tip