Writing Document Information into the Log

A simple script that works with an Interactive Reporting document or a folder of Interactive Reporting documents can be used to determine each file name and the number of sections it contains.

Example: Using a Windows command file for desktop execution

Rhino.bat is a general purpose command file that is used to launch most Impact Management Services scripts on the desktop. Parameters must be entered in the form: <documentOrPath> param_1=value_1 param_2=value_2.

Example: Using a script file for one file or a folder of files

Where the document parameter of the script is a folder, then the script instructs the environment to expand the folder into a list of files and calls the script once for each file in the list. Script execution is called a task and is monitored in EPM Workspace using the Show Task Status and Task Management lists. If the document parameter of the script is one file, then the script is called once.