Files
developer.sailpoint.com/docs/connectivity/saas-connectivity/connector-spec/select.md
Animesh Tarodia 69b6742da8 Update select.md
Maintaining standard across all types
2024-08-27 12:47:22 +05:30

1.3 KiB

id, title, pagination_label, sidebar_label, keywords, description, slug, tags
id title pagination_label sidebar_label keywords description slug tags
connector-spec-select Select Select Select
connectivity
connectors
connector-spec
select
Details on using the select item /connectivity/saas-connectivity/connector-spec/select
Connectivity
Connector Spec

How to use the Select type in the connector spec

You can use the select type to create a dropdown for users to interact with to select from a predefined set of values.

This is an example implementation:

Example select item type

{
    "key": "airtableURL",
    "type": "select",
    "label": "Airtable URL",
    "required": true,
    "options": [
        {
            "label": "Standard",
            "value": "standard"
        },
        {
            "label": "Custom",
            "value": "custom"
        }
    ]
}

select input type

You can also create dependencies on other fields so they are hidden until the selection is made. This same type of dependency can be built into any field and linked by using the parentKey/parentValue fields.

Example dependency on earlier select field

{
    "key": "baseUrl",
    "type": "text",
    "label": "Base URL",
    "parentKey": "airtableURL",
    "parentValue": "custom",
    "placeholder": "https://{your domain}",
    "required": true
}