OpenWGA 7.10 - TMLScript reference

TMLContext "this"
Method :

tagInfo(tagid, infoname)

On object TMLContext "this"
Usage Retrieves a WebTML tag information
Description

This method is the TMLScript pendant of <tml:metadata type="taginfo"/> and is used to retrieve information fields from WebTML tags, called "tag infos".

This method is DEPRECATED. Use method tag() instead.

Parameters tagid (String):

ID of the tag to retrieve tag information from

infoname (String):
Name of the tag information. The available taginfo fields are dependent on the concrete WebTML tag and are documented for each one.

Return value A tag information field. The data type is dependent on the field itself.
Allowed in script types
  • WebTML pages and normal WebTML actions