OpenWGA 7.7 - TMLScript reference

Database
Method :

getPublisherOption(name)

On object Database
Usage Retrieves the value of a publisher option
Description

This method uses the registry of the retrieved publisher option so it can:

  • Provide the value of the option in its native data type that is determined in the registration (so not necessarily a string)
  • If it is not set: Provide the default value of the option that is determined in the registration
Parameters

name (String):

Name of the publisher option

Return value The value of the publisher option in its native data type
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events