Formatting Substitutions
Some SRC components handle the substitution syntax for you. For example, Policy Editor allows you to enter settings in fields, and it formats these settings in the correct syntax. In addition, IT managers or residential subscribers can enter settings through portals, and the portal formats these items in the correct syntax. You must enter some substitutions in SDX Admin using the correct syntax, however. Similarly, if you develop a portal that uses substitutions, you must use the correct syntax in the code for that portal.
A substitution has the following syntax:
[ ! ]<parameterName>[ :<role>]*=[<expression>][ //<comment> ]
- !—Fixes the substitution
- <parameterName>—Name of the parameter; either a name that you define or a name that is specified by the SRC software. If you are defining a substitution for a global parameter, make sure that the case of the parameter name in the substitution matches the case of the global parameter.
- <role>—Category of the parameter (see Roles)
- <expression>—A definition for the parameter (see Expressions)
- //<comment>—A comment about a substitution that appears on a new line after the substitution syntax (see Adding Comments to Substitutions)