OpenWGA 7.11 - TMLScript reference

HDBModelParams
Property :

refDocument

On object HDBModelParams
Usage The reference document of the operation
Description

For update/delete operations this is the document to be updated/deleted.

For create operations it is the reference document for the creation. It therefor should be a parent content of the content to create or a storage in-between. It may be null if the content to create has no parent content.

Writable True
Return value Reference document (WGAPI object WGContent)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events