OpenWGA 7.9 - TMLScript reference

Design
Property :

tmlDefaultEncoding

On object Design
Usage Returns the WebTML default encoding of the current OpenWGA design
Description This reflects the setting of the WebTML default encoding from design configuration (see Tab "Design Configuration"), which is used automatically on WebTML tags which have a high risk of being vulnerable to HTML/JavaScript injection.
Writable False
Return value The name of the WebTML default encoding (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events