Skip to main content

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​

NameTypeRequiredDescription
solutionStringyesUnique name of the solution containing the option set.
optionSetNameStringyesName of the option set to add the value to.
labelStringyesLabel for the new option.
valueNullable<Int32>noNumeric value for the new option. Auto-assigned if omitted (optional).
descriptionStringnoDescription for the new option (optional).
colorStringnoColor associated with the option as hex string, e.g., '#FF0000' (optional).

Output​

Returns Task<MetadataAddOptionValueResult>.