Tag: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Line 15: Line 15:


===Attributes tags===
===Attributes tags===
'''$ATTRIBUTE_ATTRIBUTENAME''', where '''ATTRIBUTENAME''' is the TQL approved attribute name. 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 approved attribute name. This allows users to acquire attributes stored in this panel, which can change based on calculations of indicators or other panels.

Revision as of 14:30, 27 February 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.

General tags

  • $PROJECT_NAME, name of the project.
  • $TOKEN

Web tags

  • $LIB_CUSTOM

Contextual tags

  • $NAME, name 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, the name of the owner of the panel, if it has one. Empty text if it has none.

Attributes tags

$ATTRIBUTE_ATTRIBUTENAME, where ATTRIBUTENAME is the TQL approved attribute name. This allows users to acquire attributes stored in this panel, which can change based on calculations of indicators or other panels.