---
schema_version: "1"
id: 9a72c7dc8ee7a2918f1c79793fc361b9602a1518ce98a8545dd4b970387b7b0f
title: Omniscripts Select Element (Managed Package)
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.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_omniscripts_select_element.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8fa1940868fc0c97d0e06a0daf0a28f0fd5491df1f839621153bd8e2cc37790f
description: For the managed package runtime, 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 (Managed Package)

For the managed package runtime, 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.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)

Note Users can enter text to filter Select element options only in LWC Omniscripts.

1. Drag a **Select** element from the Build panel onto the canvas.
2. In the Properties panel, give the element a name in the **Name** field.
3. In **Field Label**, enter a label visible to the user.
4. 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 From Apex (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_populating_picklist_values_from_apex.htm&release=264.0.0&type=5 "For the managed package runtime, you can populate Select, Multi-select, and Radio elements from an Apex class that implements Callable and Vlocity Open Interface. 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`.
5. If you select a manual option source, for each option follow these steps:
    
    1. Click **\+ Add New Option**.
    2. Enter the **Value** and visible **Label**.
    3. (Optional) Check **Use as Default** 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_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)
    
    Note For best performance, we recommend that you add ten or fewer options.
6. 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`.
7. 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`.
8. (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.
    4. In **Controlling Field Element**, enter an Omniscript element name.
9. (Optional) For additional properties, see [Common Omniscript Element Properties Definitions (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_common_omniscript_element_properties_definitions.htm&release=264.0.0&type=5 "For the managed package runtime, each element also includes an extensible Property set that's specific to the type of element. Use the Properties pane on the Designer to edit these properties. Some common element properties aren’t available in certain elements.").

- **[Select Properties (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_select_properties.htm&release=264.0.0&type=5)**  
    For the managed package runtime, select properties are configurable from the Properties panel when you select a Select element. With the Select element, enable users to make a selection from a dropdown list in your Omniscript.