OpenWGA 7.2 - TMLScript reference

QueryResult
Property :

firstResult

On object QueryResult
Usage Returns the first result document of the query
Description This is an effective way of returning the very first content document that is returned by the query 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