OpenWGA 7.10 - TMLScript reference

TMLForm "tmlform"
Method :

getCreatedDoc()

On object TMLForm "tmlform"
Usage Retrieves the document that was created by a TMLForm store operation
Description This method can be used after calling tmlform.store() or default action $store for a form with source "none" or "newcontent", which created a new content. It will retrieve the new content document.  It returns null if no content was created.
Return value The created document (WGAPI object WGContent)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions