Skip to main content

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

NameTypeRequiredDescription
solutionStringyesUnique name of the solution to add the choice to.
schemaNameStringyesSchema name for the global choice.
displayNameStringyesDisplay name of the global choice.
descriptionStringyesDescription of the global choice.
optionsJsonStringyesJSON array of option definitions: [{"label": "Active", "value": 1}, {"label": "Inactive", "value": 2}].
dryRunBooleannoIf true, validates without persisting changes.

Output

Returns Task<MetadataCreateChoiceResult>.