Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
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
          Display Sprites in an Edit Block

          Display Sprites in an Edit Block

          Display Sprites to indicate information about an Edit Block record entry using the Default Svg Sprite and Default Svg Icon properties. For example, a User icon can indicate if the entry is a Contact record. Omnistudio supports the Lightning Design System icons. To dynamically display different sprites, map values of the SVG Controlling Element to SLDS icons in the SVG Controlling Element Map.

          Note
          Note Dynamic SVG Icon display works only if the SVG Controlling Element is of type Text.

          Replace the Default SVG Sprite and Icon

          Replace the default SVG sprite and icon.

          1. Search for an SLDS icon, and note the category and the icon name.
          2. In the Default SVG Sprite field, enter the icon's category.
          3. In the Default SVG Icon field, enter the name of the icon.
          4. Preview the Omniscript to view the new default SVG icon.

          Display SVG Icons Dynamically

          An Edit Block can dynamically display different SVG Icons for some records based on a Text element value.

          1. In the Edit Block's SVG Controlling Element property, enter the name of a Text element in the Edit Block.
            Note
            Note Dynamic SVG Icon display works only if the SVG Controlling Element is of type Text.
          2. In the Svg Controlling Element Map, click Add SVG Icon.
          3. In the Value property, enter a possible value for the SVG Controlling Element.
          4. Search for an SLDS icon, and note the category and icon name.
          5. In the Svg Sprite property, enter the icon's category.
          6. In the Svg Icon property, enter the icon's name.
          7. Preview the Omniscript and enter the value for the SVG Controlling Element to test the icon display.
          8. (Optional) Repeat the steps for additional SVG Controlling Element values.
           
          Loading
          Salesforce Help | Article