OpenWGA 7.9 - TMLScript reference

TMLPortlet "portlet"
Method :

getVar(varname)

On object TMLPortlet "portlet"
Usage Retrieves a normal WebTML portlet 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