Miscellaneous utilities

CALLSCRIPT – Call and retrieve a script

331 views June 1, 2018 admin 0

Overview

This Custom Field calls an ExtendScript in the ‘Scripts’ data source folder and retrieves a result. The script can refer to record data as myRecord[“fieldname”].

Syntax

CALLSCRIPT(FormatPrice.jsx)

Element Description
FileName The script to call

Example

CALLSCRIPT(‘myscript.jsx’)

The script itself will be passed the contents of the other fields for this record in an array called ‘myRecord’. An example script to concatenate the contents of “field b” to “field a” would be:

myRecord[“field a”] + myRecord[“field b”];

See also

GROUPSCRIPT

Was this helpful?