OpenWGA 7.7 - TMLScript reference

Method :


On object HDBModel
Usage Returns the HDBModel document id of the given document

This would be the storage id of a given storage or the content id (!= content key, struct key) of a given content.

This id is used in the unique name of this document and all its childs document to identify it (see Using the HDBModel unique name and name parts). For contents it can be set to a custom value using HDBModel.assignContentID().


document (WGAPI object WGContent):

The document to get the ID from

Writable False
Return value The document id (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events