...
The templates properties file (templates.properties) is used for defining the default data entry layout file per database and/or unit when more than one layout files exist per data entry definition page.
To define the default layout of a data entry page, you have to add the following line to templates.properties file: <directory_name>/<definition_page_filename>~mp~default=<directory_name>/<layout_filename>.xml
To define the default layout of a data entry page for a specific unit, you have to add the following line to templates.properties file: <directory_name>/<definition_page_filename>~channeltypes~<unit_id>=<directory_name>/<layout_filename>.xml
If no deafult layout page is defined for a specific unit, the default layout page will be used by the system. If no default layout page is specified either, then the release layout page will be used.
Code Block | ||||
---|---|---|---|---|
| ||||
contactinfo/contactInformation~mp~default=contactinfo/contactInformationCustomlayout.xml contactinfo/contactInformation~channeltypes~37AABC37AAF75489FC89EEA94C59024D=contactinfo/contactInformationCustom2layout.xml |
For a full list of data entry page attributes, go to Data Entry Pages Documentation