Inserting Custom Labels into Editor Labels

Custom labels can be applied to labels displayed in the editor wherever the icon appears. Clicking this icon opens a modal window where you can select and apply the desired custom label.

Example: Changing the Label of the Lookup Selector Button in the Editor

This example demonstrates the configuration of a Line Item Editor for Opportunity Products:

  • Parent: Opportunity

  • Line Item: OpportunityLineItem

  • Lookup: PricebookEntry

When the lookup object is set to Pricebook Entries, the name of the lookup selector button displayed in the editor automatically inherits the object name. However, such button names may appear awkward to users. Changing the object label in Salesforce settings is inefficient because the object is used in multiple contexts, potentially impacting other screens.

Steps to Configure:

  1. Navigate to the Labels menu in the side panel.

  2. Click the icon next to the lookup button label input field.

  3. Select the preconfigured custom label “Add Products (SmallBuilder_AddProducts)” from the modal window.

  4. Confirm that the selected custom label is applied to the input field.

  5. Run the editor and verify that the lookup selector button label displayed in the editor reflects the updated custom label.

Result

The custom label will be translated and displayed in the editor based on the user’s language settings.

Example of Custom Label Translations for “Add Products (SmallBuilder_AddProducts)”:

Language
Translation

English

Add Products

Korean

제품 추가

When the user’s language is set to Korean, the button label displayed in the editor shows as “제품 추가”.

When the user’s language is set to English, the button label displayed in the editor shows as “Add Products”.

Last updated

Was this helpful?