ppds_metadata_create_choice
Creates a new global choice (option set) in the specified solution. Options are provided as a JSON array of {label, value} objects. Supports dry-run mode.
Input schema
| Name | Type | Required | Description |
|---|---|---|---|
| solution | String | yes | Unique name of the solution to add the choice to. |
| schemaName | String | yes | Schema name for the global choice. |
| displayName | String | yes | Display name of the global choice. |
| description | String | yes | Description of the global choice. |
| optionsJson | String | yes | JSON array of option definitions: [{"label": "Active", "value": 1}, {"label": "Inactive", "value": 2}]. |
| dryRun | Boolean | no | If true, validates without persisting changes. |
Output
Returns Task<MetadataCreateChoiceResult>.