Folder level JavaScripts are JavaScript files (.JS) that are run during application startup. These can be useful for loading reusable JavaScript functions into the application, or accessing methods/properties whose security restrictions only allow them to be run in the app/init event.
Simple examples include loading the user’s Windows login into a global JavaScript variable at startup, or loading a list of employee names from your company into a JS array at startup which can be used by the forms that are opened in Nitro Pro.
To add or edit a folder level JavaScript
- Open Nitro Pro
- On the Forms ribbon, in the Document Setup group, click on the arrow next to JavaScript and then select Folder Level
- Add JS files to the folder or edit existing ones