Global object

Allows you to share data across an instance of the PDF viewing application (i.e. data can be accessed from within any of the open documents).

Example: Once a user has entered their email once, store it in a global variable and auto-fill email fields in the other open documents.


global.userEmail = this.getField("email").value;

 

Note: The setPersistent and subscribe methods are not currently supported in Nitro Pro 7