Changes

Jump to: navigation, search

Root Company Variable

127 bytes added, 19:39, 6 November 2013
no edit summary
* Root Company Variables have a similar utility to [[System Variables]], in that they can store information that is relevant throughout your copy of SmartSimple in a centralized location.
* The advantage advantages of Root Company Variables over System Variables is that System Variables can only return text strings, whereas are::*Root Company Variables can store have their format validated (set as date, numeric, limited values in a combo box or checkboxes, or make use of any [[The Musings of Chin - Best Practice: Correct Data Formats|data formatJavaScript Validation]] (text, number, date, etc.) supported :*Access to Root Company Variables can be controlled by SmartSimple'role permissions; only {{GUA}}s have access to edit System Variables:*Root Company Variables, like other custom fields, can be organized into [[custom fieldstabs]].
* The advantage of System Variables is that, using the System2 syntax, you can pre-process the variable name to access different system variables based on the context (see [[System Variables#System 2|System Variables]] page for further information).
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;">"@companyid@"="@rootcompanyid@"</pre>
* Irrespective of whether the custom field is visible on all internal company records or just the Root Company, the @rootcompany.''fieldname''@ syntax will only return the value entered into the field on the Root Company itself.
8,849
edits

Navigation menu