pacx optionset add - neronotte/Greg.Xrm.Command GitHub Wiki
Adds a value on an option set (global or local) or on a StatusCode field.
Arguments
| Long Name | Short Name | Required? | Description | Default value | Valid values |
|---|---|---|---|---|---|
label |
l |
Y | The label to set on the option. | - | String |
name |
n |
N | To be specified only if you want to update a global option set. It's the schema name of the global option set. | - | String |
table |
t |
N | To be specified only if you want to update a local option set. It's the schema name of the table that contains the option set. | - | String |
column |
c |
N | To be specified only if you want to update a local option set. It's the schema name of the column that contains the option set. | - | String |
value |
v |
N | The value of the option to add. If not provided, is generated automatically. | - | Int32 |
color |
col |
N | The exadecimal color code (e.g. #FF5733) of the color to set on the option. The leading # is not mandatory. | - | String |
statecode |
sc |
N | If the optionset you're trying to update with the new value is a statuscode field, you must provide also the statecode value. | 0 |
Int32 |