Usage
Represents a value of a data-collection which is being used as source for a dropdown or multiselect parameter.
Definition
Field |
Type |
Description |
(M)andatory / (O)ptional |
Default Value (If Optional) |
---|---|---|---|---|
Key |
String(100) |
A unique key for this setting |
M |
null |
ParentKey |
String(100) |
The key of the parent value for grouped datacollection (only a hierarchy of 1 level is possible) |
O |
null |
Label |
String(100) |
Label of the select option |
M |
null |
Value |
String(200) |
A value of the setting |
O (M if Label is not defined) |
null |
Example
Normal
[ { "Key": "A", "Label": "Option A" }, { "Key": "B", "Label": "Option B" } ]
Hierarchical
[ { "Key": "CATA", "Label": "Material Category A" }, { "Key": "CATB", "Label": "Material Category B" }, { "Key": "MATA1", "ParentKey": "CATA", "Label": "Material A1", "Value": "20.20" }, { "Key": "MATA2", "ParentKey": "CATA", "Label": "Material A2", "Value": "15.20" }, { "Key": "MATA3", "ParentKey": "CATA", "Label": "Material A3", "Value": "9.82" }, { "Key": "MATB1", "ParentKey": "CATB", "Label": "Material B1", "Value": "11.20" }, { "Key": "MATB2", "ParentKey": "CATB", "Label": "Material B2", "Value": "4.20" } ]