get_option_set_values
Retrieve all option values (numeric code and label) from a Dataverse choice column or global option set. Use these values when filtering or writing records.
Instructions
Fetch all option values (integer code + label) for a Dataverse choice column or global option set. Use tableName + attributeName for a local choice/picklist/status/state column. Use optionSetName for a global option set shared across tables. Returns every option with its numeric value and display label — use these values when filtering or writing records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableName | No | Logical name of the table, e.g. 'account'. Required when using attributeName. | |
| attributeName | No | Logical name of the choice/picklist/status/state column, e.g. 'industrycode' or 'statecode'. | |
| optionSetName | No | Name of a global option set, e.g. 'industrycode'. Use instead of tableName + attributeName. |