What are Salesforce unlocked packages

Salesforce unlocked packages contain reusable metadata components, such as objects, fields, workflows, and Lightning components, bundled together for easy deployment and management.

  • Published 25 Jan 2024
  • 5 mins read
What are Salesforce unlocked packages
Table of contents

Hutte expert panel

Harald Mayer
Harald Mayer
Hutte CEO & Founder
Harald is the Co-Founder of Hutte, bringing his vision of no-code DevOps to life. His passion enables teams and individuals to focus on what matters most – bringing value to the users they build for.
Samantha Spiro
Samantha Spiro
Senior Content Manager & Editor-In-Chief
Samantha is Hutte's Content Manager and Chief Editor. She has over six years of experience as both a content writer and a copywriter. Bringing the written word to life is the name of her game.
Article highlights
  • The article discusses the benefits of Salesforce Unlocked Packages, highlighting their flexibility for developers to modify and extend components, which facilitates better collaboration, version control, and continuous development across Salesforce orgs.
  • Hutte is presented as a tool that simplifies Git-based development for Salesforce. It offers a visual interface that removes the need for command-line interactions, making it accessible for non-technical users and enhancing collaboration among team members.
  • Hutte provides a user-friendly environment for managing Salesforce scratch orgs and sandboxes without code. It integrates with Git hosting tools like GitHub and Azure, allowing users to manage version control visually and execute changes with ease.

Unlike managed packages, unlocked packages provide a more flexible and open approach, enabling developers to modify and extend the packaged components without restrictions easily.

This flexibility allows for better collaboration, version control, and continuous development across different Salesforce orgs, making building and distributing customized solutions easier.

Additionally, unlocked packages provide a seamless upgrade experience, ensuring that any changes made to the package can be easily transferred to subscriber orgs.

🔓
Unlocked managed packages include the source code, so they can be easily integrated with Git repositories, providing a centralized and version-controlled approach to development.

Salesforce unlocked packages do present challenges

  • Unlocked packages can make it challenging for organizations to enforce standardized development practices or adhere to specific governance guidelines.
  • Managing dependencies between unlocked packages can be complex. If multiple packages rely on shared components, any changes to those components may require careful coordination and testing across all affected packages to avoid issues.
  • Upgrading unlocked packages in subscriber orgs can be more involved than managed packages. Careful planning is necessary to ensure a smooth transition and minimize disruption to existing functionality.
  • Unlocked packages may encounter compatibility issues with certain third-party apps or integrations.
  • Creating and managing packages requires a solid understanding of Salesforce's metadata structure and packaging concepts, which can be challenging for less experienced developers.

Worry not if you are a less experienced developer or a non-technical user! Hutte offers hassle-free Git-based development.

Hutte is truly one of the best tools that we use. Product owners, Salesforce solution architects, business analysts — anyone on our team can easily and visually accomplish the tasks that would otherwise take a lot of clicks, time, and coding.
Sebastian Lechner
Sebastian Lechner
Product Management Director of IPfolio

Git made visual with Hutte

At Hutte, we enable you to leverage the benefits of Git-based development visually without needing CLI. We have removed the barriers Git can pose as Hutte is a web UI to SFDX that allows for visual Salesforce version control.

You can also create and manage Salesforce scratch orgs and sandboxes. There is no need for code, meaning no stress is involved.

Furthermore, you don’t need to install or learn Git, as Hutte’s UI is already integrated into Git hosting tools, like GitHub and Azure. You can also view the changes you made from these hosting providers, including your pull request, in a line-by-line comparison format.

😃
There is no need to reproduce this data as everything is generated and integrated with Hutte. 

To get a first-hand feel of how Hutte works, start your free 30-day trial, or check out our demo below.

If you're interested in delving into Git-based development, look at our user-friendly steps that guide setting it up in Hutte.

Take a scratch org from the pool

🏊‍♂️
Once you have created a Hutte account with us, you will start from a fresh environment by taking a scratch org from the pool.

You can name your org referencing your issue tracking system (such as Jira). Once you’ve named the org, your environment will be in place.

1️⃣
With Hutte, you don’t need to share your sensitive and confidential Salesforce org credentials manually. You can simply one-click login, and you can then do your work on the platform.

Create new metadata and execute changes

You can create new SFDX metadata in your org. In this coding example, we have selected an Apex class.

You add your logic to the Apex class and save it. This now becomes an addition to your environment.

To create a change, go to “Setup.” Then, select “Object Manager” from the dropdown menu on the left. This is where the data model lives. Then, open a custom object.

☝️
You can make any change you desire with access to the data model. To implement a change to a field, for example, you will select “Field & Relationships.” In this instance, we are changing the “Help Text.”

Once you have added in your help text, you will save it. To view your changes, you will go to the “Changes” tab.

In this example, the changes had the following impact to the org:

  • “MyClass” was added
  • The admin profile was touched by adding a new class
  • The field change was added.

You can now pull changes

From here, you can describe your actions and select what to include from the changes you committed. Then, click on “Submit.”

This will create your SFDX pull request, and your changes will get added to Git.

Stay ahead of the pack with Git

Non-technical users often face difficulties with the complex installation processes of Git, such as SFDX or the Git command-line tool.

🤝
With Hutte, individuals from all backgrounds and skill levels can easily collaborate using Git, modify code, and generate pull requests.

Sign up for Hutte

Last updated: 06 Aug 2024