Versions Compared

Key

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

...

The configuration is done in the PresentationSettings block of profile.config.

Below is a sample configuration which explains the options on catalogues.

Code Block
languagexml
<PresentationSettings>
	<Settings>
		<!-- Ensure to apply the below settings to presentations of base-type "Catalogue" -->
		<Trigger base-type="Catalogue"/>
		<CatalogueNodeSetting>
			<OrderEnabled>false</OrderEnabled>
			<DisplayIdentity>false</DisplayIdentity><!-- In catalogues always display filteras as a range with label "s/n" -->
			<FilterDisplaySettings display="range" range-label="s/n" />
			<!-- Group nodes by serial number -->
			<Group id="SN" label-property="Presentation.FormattedValidFilters" group-by-property="Presentation.FormattedValidFilters"/>
			<!-- Default alternative to display content is Gallery, sorted by Name (within the filter grups defined above) -->
			<NodeViewSettings default-view-selector="Gallery" display-download-tool="false" default-sort-selector="Name" page-sizes="1000" default-page-size="1000">
				<!-- In the filter selector do not present Description as an alternative -->
				<FilterSelector id="Description" ignore="true"/>
			</NodeViewSettings>
		</CatalogueNodeSetting>
		<CatalogueNodeSetting>
			<!-- If user selects node list alternative, make image size to 75px -->
			<Trigger context="NodeList"/>
			<ImageSize>75</ImageSize>
			<NodeViewSettings>
				<SortSelector id="Filter" ignore="true"/>
			</NodeViewSettings>
		</CatalogueNodeSetting>
    	<CatalogueNodeSetting>
            <!-- If user moves into a node with persistent identity matching regex, use these settings -->
			<Trigger property="PersistentIdentity" regex="\d*_Documentation"/>
			<!-- Default alternative is table, sorted by Relevance (sequence number if any) -->
			<NodeViewSettings default-view-selector="Table" default-sort-selector="Relevance">
				<!-- The below is the order of the table columns -->
				<Column id="SpecificationType1" order="1"/>
				<Column id="Name" order="2"/>
				<Column id="SpecificationType2" order="3"/>
				<Column id="SpecificationType3" order="4"/>
				<Column id="Filters" order="5"/>
				<!-- Do not present image or icon in table -->
				<Column id="Image" enabled="false"/>
				<Column id="Icon" enabled="false"/>
				<!-- Do not show Identity in sort selector -->
				<SortSelector id="Identity" ignore="true"/>
				<!-- Do not show Identity in filter selector -->
				<FilterSelector id="Identity" ignore="true"/>
			</NodeViewSettings>
		</CatalogueNodeSetting>
	</Settings>
</PresentationSettings>			

...

 

...

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@1ecd09
showSpacefalse
sortmodified
typepage
reversetrue
labelsnode catalogue table
cqllabel in ( "catalogue" , "table" , "node" ) and type = "page" and space = "ASKB"

...