Default Values - AtlasOfLivingAustralia/ecodata-client-plugin GitHub Wiki

Data model items can be supplied a defaultValue attribute.

Literals and expressions are both supported. Expressions are evaluated against the parent model context of the data item, and behave the same as the computed attribute.

Examples:

{
   "dataType":"number",
   "name":"item1",
   "defaultValue":1
}
{
    "dataType":"number",
    "name":"item1",
    "defaultValue": {
        "type":"computed",
        "expression":"2*item2+3"
    }
}