---
schema_version: "1"
id: 93c578600d86373eb631ee883e6723734f2f9af7dc2502b6bf62d5b6a182628b
title: Omniscripts Select Element
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_omniscripts_select_element_17122.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_omniscripts_select_element_17122.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 625fbccfbdaae1ca61f70ee62ae543f906b335e0d8ee4881adbdadbabf286e26
description: Enable users to select from a dropdown by adding a Select element to your Omniscript. Users can enter text to filter the options. Omnistudio pulls the options from an Apex class and method or from a Salesforce object.
products:
  - Omnistudio
release: "264"
---
# Omniscripts Select Element

Enable users to select from a dropdown by adding a Select element to your Omniscript. Users can enter text to filter the options. Omnistudio pulls the options from an Apex class and method or from a Salesforce object.

1. In **Option Source**, select the source of the options:
    - **Manual**: (Default) Manually enter value and label pairs.
    - **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](https://help.salesforce.com/s/articleView?id=xcloud.os_populating_picklist_values_from_apex_21650.htm&release=264.0.0&type=5 "You can populate Select, Multi-select, and Radio elements from a Callable Apex class. The values for the element are obtained during the Omniscript's activation.").
    - **SObject**: Retrieves the picklist values from the Salesforce object and field. Use the format `ObjectAPIName.FieldAPIName`.
2. If you select a manual option source, for each option follow these steps:
    
    1. Click **Add Option**.
    2. Enter the **Value** and visible **Label**.
    3. (Optional) Check **Use as Default Value** to make the option selected by default.
    4. (Optional) Check **Auto Advance** to advance the user to the next step when they click this option.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/images/icon_note.png)
    
    Note
    
    For best performance, Salesforce recommends that you add ten or fewer options.
3. 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`.
4. 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`.
5. (Optional) 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 by retrieving picklist options from an Apex class, select **Custom**.
    2. To define the source of the controlling field by retrieving dependent picklist values from a Salesforce object, select **SObject**.
    3. In **Controlling Field Source**, enter an Apex class.
        
        The Controlling Field Property on a Select Element can display Select Field Values based on the selection of another value from a Controlling Select field. Both the controlling and dependent fields must pull their field values from a field in Salesforce using the sObject property and those fields must have a Field Dependency setup between one another via Salesforce Field Dependency feature.
    4. In **Controlling Field Element**, enter an Omniscript element name.
6. For additional properties, see [Common Omniscript Element Properties](https://help.salesforce.com/s/articleView?id=xcloud.os_common_omniscript_element_properties_definitions__10687.htm&release=264.0.0&type=5 "Each Omniscript element has settings, some of which are unique to that element. Some settings are common among the elements, though some of these setting aren’t available in all elements. To edit these settings, use the Properties pane on the Designer.").
7. Activate the Omniscript for the Select elements to function properly in the Preview mode.