Loading
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
          Textual Data

          Textual Data

          Define labels, data, or any sequence of terms that belong to a document. This element does not contain any attribute or child element. It supports the macros feature.

          Required Editions

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

          The text elements are supported within these elements:

          • <p>
          • <h1> and <h2>
          • <td>
          • <th>

          Sample Code

          Here's a simple text element:

          <h1>Order confirmation</h1>
          <h2>Reference App</h2>

          This sample code describes the text element with macros:

          <!--Macros-->
                  <tr>
                    <td alignment="right">{{Labels::AddressId; defaultLabel=Address:}}</td>
                    <td>{{Declarations::salesOrg.houseNumber}} {{Declarations::salesOrg.street}}     
          {{Declarations::salesOrg.zipCode}} {{Declarations::salesOrg.city}}</td>
                    <td />
                  </tr>
           
          Loading
          Salesforce Help | Article