OpenWGA 7.6 - TMLScript reference

URLBuilder
Method :

setEncoding(encoding)

On object URLBuilder
Usage Sets the encoding by which the URL is encoded when built
Description This sets the field encoding and also returns the URLBuilder for method chaining.
Parameters

encoding (String):

The encoding, for example "UTF-8"

Return value The URLBuilder object for method chaining
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events