some configurations of the sample application have default values, example
ConfigSample, stringArrrayParam=value1,value2
ConfigSample2, stringParam=Default Value
ConfigSampleSub, stringArrrayParam=value1,value2
these default values are contained in the JSON response (effectiveValue), but are not displayed in the configuration editor.
example URLs:
- Should a default effectiveValue become a "real" value whenever the user saves the config - even if they do not edit the default value?
e.g.
There is a config with
stringParam0: default=false; value="user set this before"
stringParam1: default=true; effectiveValue="defaultValue1"
If the user modifies stringParam0, does not modify stringParam1 and then clicks Save, what is included in the POST:
stringParam1: null or stringParam1: defaultValue1?
Should a default effectiveValue become a "real" value whenever the user saves the config - even if they do not edit the default value?
yes, the value should become a "real value".
thanks!