OpenWGA 7.10 - TMLScript reference

TMLContext "this"
Property :

path

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:

"db:main/docid:8a8b81920d689d77010d68b670430412.en.2"


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