Tag: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 9: Line 9:


===Contextual tags===
===Contextual tags===
* $NAME, name of the panel.
* $NAME, name of the [[Panel]].
* $ID, id of the panel.
* $ID, [[ID]] of the [[Panel]].
* $STAKEHOLDER_ID, the [[ID]] of the owner of the panel, if it has one. -1 if it has none.
* $STAKEHOLDER_ID, the [[ID]] of the [[stakeholder]] who owns the [[Panel]], if it has one. -1 if it has none.
* $STAKEHOLDER, the name of the owner of the panel, if it has one. Empty text if it has none.
* $STAKEHOLDER, the name of the [[stakeholder]] who owns the [[Panel]], if it has one. Empty text if it has none.


===Attributes tags===
===Attributes tags===
* $ATTRIBUTE_ATTRIBUTENAME, where ATTRIBUTENAME is the [[TQL name|name]] of the [[Attribute]]. This allows users to acquire attributes stored in this panel, which can change based on calculations of indicators or other panels.
* $ATTRIBUTE_ATTRIBUTENAME, where ATTRIBUTENAME is the [[TQL name|name]] of the [[Attribute]]. This allows users to acquire attributes stored in this panel, which can change based on calculations of indicators or other panels.
* $GLOBAL_GLOBALNAME, where GLOBALNAME is the [[TQL name|name]] of the [[Global]]. This also allows users to acquire values of globals stored in your project, which can change based on calculation of indicators or other panels.
* $GLOBAL_GLOBALNAME, where GLOBALNAME is the [[TQL name|name]] of the [[Global]]. This also allows users to acquire values of globals stored in your project, which can change based on calculation of indicators or other panels.

Revision as of 07:03, 29 June 2020

Text in panels can contain special tags that are replaced by the Tygron Platform based on the project data, session and the context (owner, maplink etc.) of the panel. This page shows the supported panel tags.

General tags

Web tags

Contextual tags

  • $NAME, name of the Panel.
  • $ID, ID of the Panel.
  • $STAKEHOLDER_ID, the ID of the stakeholder who owns the Panel, if it has one. -1 if it has none.
  • $STAKEHOLDER, the name of the stakeholder who owns the Panel, if it has one. Empty text if it has none.

Attributes tags

  • $ATTRIBUTE_ATTRIBUTENAME, where ATTRIBUTENAME is the name of the Attribute. This allows users to acquire attributes stored in this panel, which can change based on calculations of indicators or other panels.
  • $GLOBAL_GLOBALNAME, where GLOBALNAME is the name of the Global. This also allows users to acquire values of globals stored in your project, which can change based on calculation of indicators or other panels.