Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleCustom Summary Page Example
Code Block
languagexml
titlecontactInformationCustom.xml
<summary>
	...
	<fieldlist>
		...
		<field>
			<fieldname>CONTACTINFORMATION.CIUSERFIELD2</fieldname>
			<caption>key_home_type</caption>
			<summary>true</summary>
			<filter>true</filter>
		</field>
		...
	</fieldlist>
	...
</summary	
	

Templates Properties File

The templates properties file (templates.properties) is used for defining the default summary page, generally or per community, when one or more custom summary pages exist per release summary page. Templates properties file must be created under <custom_project>/web/WebContent/pages/summary.

To define the default summary page, you have to add the following line to templates.properties file: <release_summary_page_file_path>~organisation~default=<directory_name>/<custom_summary_page_filename>

To define the default summary page for a specific community, you have to add the following line to templates.properties file:  <release_summary_page_file_path>~community~<community_id>=<directory_name>/<custom_summary_page_filename>

Note that .xml is omitted from definition_page_file_path. 

If no default layout page is specified for a specific community, 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
languagexml
titletemplates.properties
collapsetrue
contactinfo/contactInformation~organisation~default=contactinfo/contactInformationCustom
contactinfo/contactInformation~community~E78B1947EBDA4ECAA38121A7F983571F=contactinfo/contactInformationCustom

For a full list of summary page attributes, go to Summary Pages Documentation.