Loading
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
          Omniscripts Radio Element

          Omniscripts Radio Element

          Enable users to select one from multiple items by adding the Radio element to your Omniscript. Display options vertically, horizontally, or as an image.

          1. Select the display format for the radio buttons. These options are available:
            • Horizontal: (Default) Display radio buttons next to each other.

            • Vertical: Display radio buttons stacked.

            • Image: Display each radio button as an image.

          2. If you select Image as the display format, configure these additional properties:
            • Width: Sets the image width.

            • Height: Sets the image height.

            • Image Count In Row: Sets how many images per row to display.

            • Enable Caption: Displays a caption below the image.

          3. In Option Source, select where the list of options come from. Select from one of the following:
            • Manual: (Default) Manually enter value/label pairs. Available when Display Mode is not Image.

            • Custom: Enter the Apex class and method that returns the options. Use the format ClassName.method. See Populating Picklist Values in Omniscript Inputs from Apex.

            • SObject: Retrieves the picklist values from the Salesforce object and field. Use the format ObjectAPIName.FieldAPIName.

            • Image: When Image is selected as Display Mode, manually enter value/label pairs and upload images to display. If no image is uploaded, the label displays in the image box.

          4. If you select Manual or Image as an Option Source, for each option follow these steps:
            1. Click Add Option.

            2. Enter the Value and visible Label.

            3. If your option is an image, select an image available from the Choose existing image dropdown. Or upload an image from your computer from the Or upload new image section.

              Note
              Note

              If you're using the Omnistudio standard runtime and standard designer without the Omnistudio managed package installed, you may encounter an error when uploading images. To resolve this issue, install the latest version of Omnistudio managed package. For installation instructions, seeInstall or Upgrade the Omnistudio Managed Package.

            4. If needed, make the option selected by default.

            5. If needed, advance the user to the next step when they click this option.

          5. If you select Custom as an Option Source, in the Source, enter the name of a method to call on a class in the format class.method.
          6. If you select SObject as an Option Source, in the Source, enter the name of a field on an object in the format SObject.field.
          7. To display options based on the selection of another value, configure Controlling Field Type by following these steps:
            1. To define the source of the controlling field:

              • To retrieve picklist options from an Apex class, select Custom.

              • To retrieve dependent picklist values from a Salesforce object, select SObject.

            2. In Controlling Field Source, enter an Apex class.

            3. In Controlling Field Element, enter an Omniscript element name.

          8. For additional properties, see Common Omniscript Element Properties.
           
          Loading
          Salesforce Help | Article