Server-side JavaScript Expressions
Certain parts of the configuration record can be generated dynamically server-side before the final configuration is then used by the FSM module. These areas of config can be identified by the following syntax ${javascript_expression_here}
where the expression within the ${ }
tags is evaluated as JavaScript and the result is set in place of the original tag.
These expressions will have various data in scope and available to them depending on the section of config being modified. Global nlapi
functions and nlobj
objects are also available for use within ${ }
tags. Being evaluated server-side, these expressions run with the permission level of the related Suitelet deployment (by default, with the permissions of the Field Service System role).