Loading
Salesforce now sends email only from verified domains. Read More
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Bindings

          Bindings

          The Bindings element defines a container element that contains all resource and binding data for UI controls. It has no attributes.

          Required Editions

          Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.

          The Bindings element can contain these elements:

          • Resource
          • Binding

          Sample Code

          <!-- left out details for brevity -->
                      <Bindings>
                        <Resource target="Label" type="Label" id="InitiatorId" defaultLabel="Initiator" />
                        <Binding target="Value" binding="ProcessContext::NotificationDetail.usrName" bindingMode="ONE_WAY" />
                      </Bindings>
          • Binding
            You can use the Binding to bind values from the objects to the UI. Different binding modes are used to control the updating process of the values in the UI and objects.
          • Resource
            The Resource element is used to bind localized texts, labels, images, and so on, into the UI. The default value is shown if there are no localized files for the selected language.
          • Binding Modes
            This topic lists the binding modes available for the Resource and Binding elements.
          • Dynamic Binding Type
            The Dynamic Binding type is used to handle heterogeneous data in lists. It allows the usage of different UI controls for each list item. You can use the Dynamic Binding type by setting the type Binding element attribute as Dynamic.
           
          Loading
          Salesforce Help | Article