> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/devops/devops-ja/yi-ban-qing-bao/kasutamuraberukonpnentonomi.md).

# カスタムラベルコンポーネントの仕組み

## ![](https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FG5ZbxX918xOHwbAwAJ4n%2FSummary2-Small-Icon.svg?alt=media\&token=da26a67f-ff7f-47b3-8669-06be960dc2d7) 概要

DevOps が Salesforce を扱うようになりました **カスタムラベル** 個別のコンポーネントとして。以前は、組織内のすべてのカスタムラベルが 1 つの単一の **CustomLabels** コンポーネントとしてまとめられていました。この変更により、すべてのラベルをまとめてではなく、必要なラベルだけを取得、コミット、デプロイできるようになります。この記事では、カスタムラベルに対するこの変更の影響を受ける DevOps の領域を示します。

{% hint style="info" %}
既存の **CustomLabels** コンポーネントがブランチにある場合は、これまでどおり使用できます。ただし、ブランチに新しいコンポーネントを追加する場合は、個別のカスタムラベルのみを追加できます。
{% endhint %}

## DevOps のカスタムラベル

{% stepper %}
{% step %}

### コンポーネントを取得する

組織のメタデータが取得されると、 **CustomLabel** コンポーネントは個別に取得されます。取得したコンポーネントをフィルターして、次のものだけを表示できます。 **CustomLabel** コンポーネント。以下のスクリーンショットを参照してください。メタデータの取得と取得済みコンポーネントの表示についての一般的な情報は、次の記事を参照してください。

* [組織メタデータの取得](/devops/devops-ja/zu-zhi/no-1/metadtano.md)
* [組織のコンポーネントタブの使用](/devops/devops-ja/zu-zhi/no-1/nokonpnentotabuno.md)

<div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FujjVA1c5IQVoUNUuRmHY%2FHowCustomLabelComponentsWork-S01-01.png?alt=media&amp;token=c83988da-5373-4e76-aab9-225ccd5b636b" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### コンポーネントを追加する

個別の **CustomLabel** コンポーネントは、他のコンポーネントと同じ手順でブランチに追加できます。以下のスクリーンショットでは、3 つの **CustomLabel** コンポーネントがあるブランチを示しています。コンポーネントをブランチに追加する方法については、次の記事を参照してください。

* [ブランチへのコンポーネントの追加](/devops/devops-ja/kdo/buranchi/buranchihenokonpnentono.md)

<div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2Fvue6vUlVdSU5mz4l9Fff%2FHowCustomLabelComponentsWork-S02-01.png?alt=media&amp;token=b37eff8f-1025-4d44-bf1a-d5483b449cf6" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### コンポーネントを編集する

個別の **CustomLabel** コンポーネントは、他のコンポーネントと同様に、DevOps で直接編集できます。以下のスクリーンショットは、 **CustomLabel** DevOps コードエディターで開かれている&#x20;

<div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FCUgJma5gMNRtJYYBvA89%2FHowCustomLabelComponentsWork-S03-01.png?alt=media&amp;token=5cbe551d-8c43-4dfb-8ef0-8f3cb200a6e7" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### コンポーネントをデプロイする

個別の **CustomLabel** コンポーネントは、他のコンポーネントと同じ方法でデプロイできます。以下のスクリーンショットは、3 つのうち 2 つの **CustomLabel** コンポーネントのデプロイを示しています。コンポーネントを組織にデプロイする方法については、次の記事を参照してください。

* [ブランチのデプロイ](/devops/devops-ja/kdo/buranchi/buranchinodepuroi.md)

<div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FhsihvCE1YgTLEp0roHmP%2FHowCustomLabelComponentsWork-S04-01.png?alt=media&amp;token=2d73ad93-977c-4898-a47a-057afb0baa45" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flosum.com/devops/devops-ja/yi-ban-qing-bao/kasutamuraberukonpnentonomi.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
