ppds_metadata_add_option_value
Adds a new option value to an existing option set (global or local choice). Returns the assigned integer value.
Input schema
| Name | Type | Required | Description |
|---|---|---|---|
| solution | String | yes | Unique name of the solution containing the option set. |
| optionSetName | String | yes | Name of the option set to add the value to. |
| label | String | yes | Label for the new option. |
| value | Nullable<Int32> | no | Numeric value for the new option. Auto-assigned if omitted (optional). |
| description | String | no | Description for the new option (optional). |
| color | String | no | Color associated with the option as hex string, e.g., '#FF0000' (optional). |
Output
Returns Task<MetadataAddOptionValueResult>.