...
The templates properties file (templates.properties) is used for defining the default data entry layout file, generally or per unitcommunity, when more than one layout files exist per data entry definition page, and must be created under <custom_project>/web/WebContent/pages/dataEntry.
To define the default layout of a data entry page, you have to add the following line to templates.properties file: <definition_page_file_path>~mp~defaultpath>~organisation~default=<directory_name>/<layout_filename>.xml
To define the default layout of a data entry page for a specific unitcommunity, you have to add the following line to templates.properties file: <definition_page_file_path>~channeltypes~<unit~community~<community_id>=<directory_name>/<layout_filename>.xml
...
If no default layout page is specified for a specific unitcommunity, the default layout page will be used by the system. If no default layout page is specified either, the release layout page will be used.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
contactinfo/contactInformation~mp~defaultcontactInformation~organisation~default=contactinfo/contactInformationCustomlayout.xml contactinfo/contactInformation~channeltypes~37AABC37AAF75489FC89EEA94C59024DcontactInformation~community~37AABC37AAF75489FC89EEA94C59024D=contactinfo/contactInformationCustom2layout.xml |
...