Tag

From Tygron Support wiki
Jump to navigation Jump to search

Text in Panels can contain special tags that are replaced by the Tygron Platform based on the Project's data, the Session's data, and the context of the Panel, such as the owner or related Items of the Panel. A tag can be placed anywhere in the text of a Panel, and when the content of that Panel is rendered for display to the user, the tag is replaced by the appropriate data. In other words, the tag specifies a specific kind of data, and that data is inserted into the Panel's text in the location of the tag.

General tags

Tag Effect
$PROJECT_NAME Inserts the name of the Project.
$TOKEN Inserts the Web Token of the Project's Session

Web tags

Tag Effect
$LIB_CUSTOM Inserts the name of the custom javascript library, part of the web interface configuration.

Contextual tags

Tag Effect
$NAME Inserts the name of the Panel.
$ID Inserts the ID of the Panel.
$STAKEHOLDER_ID Inserts the ID of the user's Stakeholder.
$STAKEHOLDER Inserts the name of the user's Stakeholder.

Attributes tags

Tag Effect
$ATTRIBUTE_ATTRIBUTENAME, where ATTRIBUTENAME is the name of the Attribute Inserts the values of 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 Inserts the values of Globals stored in the Project, which can change based on calculation of Indicators or other Panels.

Notes