OpenWGA 7.7 - TMLScript reference

CollectionResult
Property :

firstResult

On object CollectionResult
Usage Returns the first result document of the collection
Description This is an effective way of returning the very first content document that is returned by the query or navigator if only this is important.
Writable False
Return value TMLContext
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events