Changes

Jump to: navigation, search

System Variables

980 bytes added, 19:39, 29 June 2019
no edit summary
==Overview Overview==
The '''System Variables '''setting on the [[Global Settings]] page will allow you to create and edit system-wide variables within your [[instance]]. These variables can then be referred to from anywhere within your [[SmartSimple]] copy by using the following syntax: 
: <span style="font-size: medium;">@system.''variable name''@</span>
'''Example:'''  If   If you have created a System Variable named '''Tax Rate''' you would use:
@system.tax rate@
: <span style="font-size: medium;">@system.library.''variable name''@</span>
'''Example:'''  To   To return a list of languages from the global library, you would use:
@system.library.language@
:: [[File:Sys variables list.png|900px|border]]
You can use the '''Search '''function on the top right at any point to specify the results of the list of system variables.
 
===Setting a System Variable===
Once you have accessed the list of '''System Variables '''via [[Global Settings]], you can set new system variables. 
 
1. Click on the '''+ '''icon on the top left of the System Variables list page to create a new system variable.
 
2. The new system variable form will be displayed: 
 
:: [[File:New sys variable.png|400px|border]]
 
Fill in the fields appropriately: '''Name, Description, '''and '''Value. '''The '''ID '''field will be autopopulated.
You can use '''Note: '''Once you set the '''Search Name '''of a system variable and save it, it ''cannot be changed. '' 3. Click '''Save '''when you are done filling out the fields.  The page will reload and the page title will be redisplayed as '''Edit '''function on rather than '''New, '''with the top right at '''Name '''field now greyed out as it is non-editable.  Any changes that you make to the system variable from this page will be impacted system-wide for any point reference to specify the results of the list of this specific system variablesvariable. 
==System 2==
2,299
edits

Navigation menu