For the complete documentation index, see llms.txt. This page is also available as Markdown.

How Custom Label Components Work

Overview

DevOps now handles Salesforce Custom Labels as individual components. Previously, all custom labels in an organization were grouped together as a single CustomLabels component. With this change, you can retrieve, commit, and deploy only the labels you want, rather than all labels combined. This article shows the DevOps areas affected by this change to Custom Labels.

If you have an existing CustomLabels component in your branch, you can continue to use it as before. However, when adding new components to a branch, you can add only individual custom labels.

Custom Labels in DevOps

1

Retrieve Components

When an organization's metadata is retrieved, the CustomLabel components are retrieved individually. You can filter the retrieved components to display only CustomLabel components. See the screenshot below. See the following articles for more general information about retrieving metadata and viewing retrieved components.

2

Add Components

Individual CustomLabel components can be added to a branch using the same steps as other components. The screenshot below shows a branch with three CustomLabel components. See the following article to learn how to add a component to a branch.

3

Edit Components

Individual CustomLabel components can be edited directly in DevOps, just like other components. The screenshot below shows a CustomLabel open in the DevOps code editor.

4

Deploy Components

Individual CustomLabel components can be deployed the same way as other components. The screenshot below shows the deployment of two of the three CustomLabel components. See the following article to learn how to deploy components to an organization.

Last updated

Was this helpful?