OpenWGA 7.6 - TMLScript reference

URLBuilder
Method :

setHost(host)

On object URLBuilder
Usage Sets the host part of the URL
Description This sets the field host and also returns the URLBuilder for method chaining.
Parameters

host (String):

The host

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