(English) Configuration for a Synapcus box (desbox) in a form

A design box is a container of fields on a Synapcus form. Some design boxes can be freely configured, or extended through the Synapcus-Configuration. Let’s take a look to the project data design box and a typicall configuration for it.
The configuration key in Synapcus-Configuration is:

desbox/qPrjData

The content of desbox is a JS-object containing all the fields which shoul appear in the box.

{

   "name": "qPrjData",

   "rows": [

      {

         "label": "HOAI-Version",

         "type": "comboBox",

         "value": "prj_hoai_version",

         "selectItems": [

            "",

            "HOAI-2009",

            "HOAI-2013"

         ]

      },

      {

         "label": "Benutzer-Nr.",

         "type": "inputText",

         "value": "prj_user_no",

         "format": "#,##0"

      },

      {

         "label": "IT-Abteilung",

         "type": "comboBox",

         "value": "prj_it_abt",

         "selectItems": [

            "",

            "ja",

            "nein"

         ]

      },

      {

         "label": "Schnittstelle",

         "type": "comboBox",

         "value": "prj_schnittstelle",

         "selectItems": [

            "",

            "Der Mandant entwickelt",

            "Der Kunde entwickelt",

            "keine"

         ]

      },

      {

         "label": "B-Technologie",

         "type": "comboBox",

         "value": "prj_tech_user",

         "selectItems": "var arr = @Unique( @DbColumn(( new QEEConfig()).getValueFromCurrent('qcfg', 'default', 'cfg_cfg_filepath')[0], 'svwTechnologieUser', 2));[''].concat( arr)"

      },

      {

         "label": "P-Technologie",

         "type": "comboBox",

         "value": "prj_tech_prg",

         "selectItems": "var arr = @Unique( @DbColumn(( new QEEConfig()).getValueFromCurrent('qcfg', 'default', 'cfg_cfg_filepath')[0], 'svwTechnologiePrg', 2));[''].concat( arr)"

      }

   ]

}
In the code above there are some fixed field values (like ‚prj_hoai_version‘ or ‚prj_it_abt‘) but also some joined values from other data sources (like ‚prj_tech_user‘ or ‚prj_tech_prg‘). Through this JS configuration mechanism you can embed data from any data source (Synapcus tables or other and also define some static data).