OpenWGA 7.2 - TMLScript reference

Property :


On object QueryResult
Usage Returns the first result document of the query as WGAPI content object
Description This is an effective way of returning the very first content document that is returned by the query if only this is important. Note that this variant returns an WGAPI content object instead of a TMLContext.
Return value A WGAPI content object (WGContent)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events