Text Panel: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
{{article end
{{article end
|seealso=*[[Panel]]
|seealso=*[[Panel]]
|api=*Text Panel text property endpoin
|api=*Text Panel text property endpoint:
:<syntaxhighlight>/api/session/items/panels/ID/text</syntaxhighlight>
:<syntaxhighlight>/api/session/items/panels/ID/text</syntaxhighlight>
:where ID should be replaced with the Text Panel's [[Item ID]]
:where ID should be replaced with the Text Panel's [[Item ID]]
*Text Panel HTML endpoint: [[Web panel]]
*Text Panel HTML endpoint: [[Web panel]]
}}
}}

Revision as of 15:27, 12 November 2026

Calculation Model

The $TQL tags in the text content of a Text Panel are calculated and replaced by their resulting values. These tags must always be preceded by a dollar sign ($), followed by either a TQL Select statement, or one of the supported text panel tags. The TQL tags may also end with a dollar sign. TQL statements always require a performed project calculation.

Example: $SELECT_NAME_WHERE_NEIGHBORHOOD_IS_0 and $SELECT_NAME_WHERE_NEIGHBORHOOD_IS_0$ will both be identified and replaced.

Important: $TQL tags used in JavaScript that contain X or Y clauses should be put between brackets.

See also

API Endpoints

  • Text Panel text property endpoint:
/api/session/items/panels/ID/text
where ID should be replaced with the Text Panel's Item ID