OpenWGA 7.0 - TMLScript reference

ResultSet
Method :

getContentList([start, length])

On object ResultSet
Usage Extracts a list of content documents from the set
Description The method can either return all contens of the result set, when used without parameters, or a given subset of it.
Parameters

start (Number, optional):

The content document of the result set which is the first to retrieve, where 1 would be the absolute first document of the set.

length (Number, optional):

The number of contents to retrieve. Note that the returned number may be lower than that if there are fewer documents from the start position than requested.

Writable False
Return value A List containing content documents (WGAPI object WGContent)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events