OpenWGA 7.6 - TMLScript reference

TMLPortlet "portlet"
Method :

getSessionVar(varname)

On object TMLPortlet "portlet"
Usage Retrieves a WebTML portlet session variable
Description Unlike this.item() this method does not return items or WebTML variables of different types.
Parameters varname (String):
Name of the WebTML variable
Return value Value of the variable
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events