Difference between revisions of "Variable Syntax"
From SmartWiki
Mark Bridger (talk | contribs) (Created page with "=Overview= The Variable Processor in SmartSimple dynamically replaces variable references (e.g., {{firstname}}) with actual values (e.g., John). These variable references can...") |
Mark Bridger (talk | contribs) (→Overview) |
||
| Line 1: | Line 1: | ||
=Overview= | =Overview= | ||
| + | The Variable Processor in SmartSimple dynamically replaces variable references (e.g., <pre>{{firstname}}</pre>) with actual values (e.g., John). These variable references can be used throughout the system, allowing the same data to appear consistently in multiple locations. | ||
| − | + | Previously, variable syntax used the @ symbol as part of the reference. However, this approach is not compatible with the rich text editor. To address this, we are introducing a new syntax that uses <pre>{{</pre> and <pre>}}</pre> instead of the @ symbol. | |
| − | + | Below is a table outlining the changes. Note: | |
| − | |||
* The new syntax is currently in development and must be enabled by the SmartSimple team for your system. | * The new syntax is currently in development and must be enabled by the SmartSimple team for your system. | ||
* During this transition, both syntaxes can be used while the new format undergoes testing and refinement. | * During this transition, both syntaxes can be used while the new format undergoes testing and refinement. | ||
Revision as of 16:59, 15 December 2025
Overview
The Variable Processor in SmartSimple dynamically replaces variable references (e.g.,{{firstname}}) with actual values (e.g., John). These variable references can be used throughout the system, allowing the same data to appear consistently in multiple locations.
Previously, variable syntax used the @ symbol as part of the reference. However, this approach is not compatible with the rich text editor. To address this, we are introducing a new syntax that uses {{ and }}instead of the @ symbol.
Below is a table outlining the changes. Note:
- The new syntax is currently in development and must be enabled by the SmartSimple team for your system.
- During this transition, both syntaxes can be used while the new format undergoes testing and refinement.