Contact us

Managed vs Unmanaged AppExchange Packages: What’s The Difference

| 4 min read
In this blog post, we’re breaking down the difference between Managed and Unmanaged Salesforce AppExchange Packages.
Managed vs Unmanaged AppExchange Packages: What’s The Difference
Vova Babin
By: Vova Babin
Head of Salesforce Delivery at MagicFuse, certified Salesforce Architect with 13+ years of experience.

Let’s begin with what a package is. It’s a container that can be used for a small, individual component as well as for a large set of related apps. It’s available in Salesforce Classic (not in all orgs) and Lightning Experience interface.

You can create a package using Salesforce tools and distribute it to your own company, other Salesforce users and orgs. A package can be uploaded and installed in Group, Professional, Enterprise, Performance, Unlimited, and Developer Editions.

A package consists of components that specify items, including custom objects and custom fields. By combining various components in one package, you can design useful features and apps.

In turn, components include attributes that represent fields on the components, e.g., the unique name of the dashboard or the Allow Activities checkbox on a custom object.

There are two kinds of packages - managed and unmanaged. How do they differ from each other? Salesforce managed services are created by Salesforce partners to distribute and sell apps to their customers. Salesforce unmanaged packages are used to produce open-source projects or app templates that developers can use for building their apps.

The main distinction between them is that in the managed model, you can upgrade the package if a new version is available, whereas, in the unmanaged model, you can only edit components but can’t upgrade them. In case an app’s new version is released, you need to reinstall it, which can cause difficulties if you have valuable data. So, Salesforce unmanaged support services are typically used to share the metadata.

What is a Salesforce managed package and its benefits?

managed salesforce appexchange packages

A Salesforce managed package includes app components that are presented as a unit on the AppExchange marketplace. Developers can sell and control user-based licenses by using the License Management Application (LMA).

Managed packages can have three states, such as:

  • Managed - Beta (an early version of the managed package for testing apps);
  • Managed - Released (this means that the package is launched on AppExchange and publicly available);
  • Managed - Installed (this means a package was installed from another Salesforce org, but it’s managed).

Among the key benefits of Salesforce services managed packages are the following:

  • Intellectual property protection is automatically included in certain components, e.g., in obfuscating Apex code.
  • API accessible components have integrated versioning support.
  • A previous version of the app can be branched and patched.
  • You can seamlessly provide subscribers with patch updates.
  • You can give unique names to components to avoid conflicts when installing the app.

When it’s better to use unmanaged packages?

unmanaged salesforce appexchange packages

Unmanaged packages are convenient to use when your apps require custom settings after installation because these packages have visible code that can be edited by another org.

Also, you can utilize such packages if you need to move metadata or components from one org to another org (even if it’s an unrelated or completely different org). It’s easy to install an unmanaged package in an org and then build upon it. It’s also important to note that the package creator can’t manage the included components, so the installer can modify them according to their requirements.

Summary

Unmanaged packages are attractive because they are usually free. But if you face some technical issues while using that package, you can’t turn to official support.

Moreover, unmanaged packages can bring potential data loss risk and vulnerability issues to your business because they haven’t passed any security review (they can’t be published on the AppExchange marketplace). In turn, managed packages are fully supported and secure.

You can find more information about managed and unmanaged packages in the Salesforce packaging guide.

FAQ

  1. What is the difference between managed packages and unmanaged packages in Salesforce?

    Unmanaged packages can distribute customizations such as custom fields, objects, workflows, and apex code. They are intended for development and testing purposes, and are typically used by developers or consultants to share customizations between sandboxes or Salesforce orgs. Managed packages can distribute and install applications or customizations that are intended for production use. Once a managed package is created, its contents cannot be changed by the package installers, although new versions of the package can be created and installed. Managed packages are intended for commercial or enterprise applications that are sold or distributed to multiple customers.


  2. When should unmanaged packages be created?

    Unmanaged packages should be created when you need to bundle and distribute customizations such as fields, objects, and code between sandboxes or Salesforce orgs for development and testing purposes. Unmanaged packages are good at sharing customizations between team members or between a development environment and a production environment.


  3. When should managed packages be created?

    When you need to distribute and install an application or customizations that are intended for production use. Managed packages are useful for commercial or enterprise applications that are sold or distributed to multiple customers. They allow the package creator to control the package contents and ensure that the package installers cannot modify the components.


Trusted by:

Looking for Salesforce help?

Get started

Need professional Salesforce consultation?

Book a Call Salesforce consultation
We kindly welcome you
Ross
Ross Kurhanskyi
Head of Partner Engagement