OpenWGA 7.11 - TMLScript reference

TMLContext "this"
Property :


On object TMLContext "this"
Usage Returns an absolute context path to the current context document
Description The path string returned here can be used to return to the current context document, no matter what the initial context was. Just use it in method this.context() or WebTML attribute context as context path.

The path syntax uses database and content keys. The content key contains the version number of the content to return to the exactly same content version as before. That may not be possible outside of authoring applications when the released version changes.

Contents example:


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