OpenWGA 7.1 - WebTML reference

WebTML tags » query

<tml:query onlypublished ="true | false">

Purpose:

Specifies if only published documents should be included in the search result or documents in any state.

Description:

Specifies if only published documents should be included in the search result or documents in any state.

"Published" means:
  • the document is in state "published"
  • the period specified by "valid from" and "valid to"  is valid
  • the document is not hidden from search by the "hide" flags
If "onlypublished" is set to false the condition above are not checked and the document will be displayed.

The "read" permission from the readers flag is not affected by the attribute "onlypublished". Read permissions are always checked and active.

Value(s):

true/false

Default value:

true