add_picklist_option
Add a new option to an existing Dataverse Local or Global OptionSet. Provide a label, value, and the target OptionSet or picklist attribute.
Instructions
Add an option to an existing Local or Global OptionSet (Dataverse InsertOptionValue action). Requires Customizer or System Administrator role; HTTP 403 otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | UI label for the new option (e.g. 'Queued') | |
| value | No | Explicit option value. Must fall within the publisher's customization prefix range (e.g. 909890XXX). If omitted, Dataverse assigns the next free value. | |
| description | No | Optional description | |
| language_code | No | Language code for the label (default: 1033 = English) | |
| option_set_name | No | Global OptionSet name. Mutually exclusive with entity_logical_name/attribute_logical_name. | |
| entity_logical_name | No | Entity logical name (Local OptionSet; pair with attribute_logical_name). Mutually exclusive with option_set_name. | |
| solution_unique_name | No | Solution unique name (defaults to the Default Solution) | |
| attribute_logical_name | No | Picklist attribute logical name (Local OptionSet; pair with entity_logical_name). Mutually exclusive with option_set_name. |