OpenWGA 7.11 - TMLScript reference

CollectionResult
Method :

exclude(context)

On object CollectionResult
Usage Filters out the given document from the collection result
Description This is a convenience function which creates a new CollectionResult object that filters out a single document, just like known in WebTML from <tml:navigator> attribute "exclude".
Parameters

context (TMLContext or contextexpression (String)):

The context of the document to exclude

Return value A CollectionResult
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events