Actuate Reports Batch Build

Have you ever felt the need to build an amount of reports and didn't want to build each one by hand? ERDPro allows you to build your reports from the command line. This batch process builds all your reports in a specified folder and its subfolders.
@set ERDPRO_HOME=C:\Program Files\Actuate7\ErdPro
@set ERDPRO_EXEC=%ERDPRO_HOME%\BIN\eRDPro
@set COMPILE_FOLDER=%1
@set TEMP_FOLDER=c:\temp\actuate

@mkdir %TEMP_FOLDER%

FOR /R %COMPILE_FOLDER% %%I IN (*.rod) DO "%ERDPRO_EXEC%" -b "%%I" -f %TEMP_FOLDER%\%%~nI.log
For each rod file found an ERDPro will be opened, the rod will be compiled an then the ERDPro will be closed. If a library is missing the process will stop on the report opening screen for that information.

I imagine that this process will work with Actuate 8 (Maximo 6) but have not yet tried it.

0 comments:

Post a Comment