OpenWGA 7.2 - TMLScript reference

TMLContext "this"
Method :

isBrowserInterface()

On object TMLContext "this"
Usage Returns true if the WebTML page is rendered in some kind of OpenWGA authoring client like the OpenWGA Content Manager
Description The name of the method "isBrowserInterface()" resembles the name of a now discontinued authoring client of earlier WGA versions, named only the "WGA Browser Interface" back then.

In OpenWGA it returns true if the page is displayed inside OpenWGA Content Manager or some other authoring client. Therefor it may be used to conditionally display information that should only visible to authors but not to simple website users.
Return value (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions