Article Details
Id:10925
Product:finPOWER Connect
Type:NEW
Version:1.06.07
Opened:13/02/2013
Closed:13/02/2013
Released:27/03/2013
Job: J011113

Pass ScriptContext data to all Scripts run from forms; Document scripts can now access ScriptContext data

The following forms have been updated to pass ScriptContext data through to the document scripts executed from the form. An example of ScriptContext data is the form key (the name of the form) that is executing the script. The form key can be retrieved using 'ScriptInfo.FormKey' (as per summary scripts).

  1. Create Account Document
    • This form is used when a Document is created via the Action 'Send Document' on an Account.
  2. Document Execute
    • This form is used when a Document is created via the Report Explorer.
  3. Workflow Actions
    • Workflow Add-On only
    • This form is used when an Email or SMS document is sent via the Workflow Actions form.