OpenWGA 7.9 - TMLScript reference

CollectionPage
Property :

endIndex

On object CollectionPage
Usage Denotes the index that the last document on this collection page had on the original collection
Description The first document on a collection has the index 1. This index includes all returned documents, including unreadable, non-visible or otherwise filtered documents so you might not actually retrieve all documents on all indices.
Writable False
Return value Number
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events