...
The templates properties file (templates.properties) is used for defining the default data entry layout file per database and/or unit when , generally or per unit, when more than one layout files exist per data entry definition page. Templates properties file must be created under ../pages/dataEntry in you custom project's directory.
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 default layout page is defined specified 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 |
...