Dec 3, 2022
Applying your own naming conventions for parameters and variables in Arc
Process naming is used by Arc when adding prefixes to new parameters and variables. It is also used for matching variables against dimension in CELLGET and CELLPUT functions. For example a variable called vAccount will automatically be inserted into a CELLGET (using auto-complete) if it has a dimension named Account.
The naming convention is defined in the Arcsettings.yml file as below:
processnaming: variablestring: v variablenumeric: v parameterstring: p parameternumeric: p constantstring: c constantnumeric: c numeric: "n" string: s
By using the default settings, Arc is going to add a “v” to numeric and string variables:
For example, if you don’t want to use a v as a prefix for your variables, you can leave the first two settings blank as below:
processnaming: variablestring: variablenumeric: parameterstring: p parameternumeric: p constantstring: c constantnumeric: c numeric: "n" string: s
After saving the settings.yml file, you just need to refresh your browser and Arc will pick up the new settings.
Next time you click the Create Variable button, you will see that Arc does add a prefix as below: