Versions Compared

Key

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

...

Info

This configuration is available in version 5.1 and later.

Overview

tbpThe Order preview function allows users to see latest orders on a page, typically start page, for quick access.

Configuration

...

Configuration

Favourites function is turned on in profile.config. Define where to show favourites in presentation settings.

Code Block
languagexml
<Presentation id="start" template="index" class="start view">
    <!-- Display order history preview in bodyfooter and place it in the group "history-favourite" as no 1 -->	
	<OrderHistoryPreview display="bodyfooter" display-count="5" order="1000" group="history-favourite" group-order="1">
		<!-- Define which columns to show -->
		<Column id="Title" caption-key="Title" />
		<Column id="PurchasedOrderNumber" caption-key="PurchasedOrderNumber"/>
		<Column id="PurchaseDate" caption-key="PurchaseDate" />
		<Column id="OrderStatus" caption-key="OrderStatus" />
		<Column id="ReferencePerson" caption-key="Reference" />	</OrderHistoryPreview>
	</OrderHistoryPreview>
</Presentation>


OrderHistoryPreview have the following attributes

Options

Usage

Values

A stringdisplay-count

Max number of items to show

A string

...

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

...