JavaScript in RPE

Simple templates can be created in RPE by doing drag&drop mainly. However for some of the more interesting templates you need to write some code: process the data that is being rendered, conditions for exclusion of elements or formatting etc.For all this you use JavaScript.

RPE exposes a standard JavaScript engine meaning you can one of the many JavaScript resources available on the WWW. For more details on the JavaScript engine supported by RPE check Mozilla Rhino: JavaScript for Java

Continue reading “JavaScript in RPE”

Advertisements

Reporting with RQM 301

RQM 3.0.1 Reportable API used for document generation with RPE is, excepting a few areas, backwards compatible meaning the templates you’ve created for 2.x should work with 3.0.1

For the areas where RQM 3.0.1 is not backwards compatible see Notable Changes in RQM Schema

Another interesting link is RQM API Fields This new API will allow you to build more elegant and efficient RPE templates for RQm document generation.

Passing arguments to Word macros

Update 2012.02.10:  a better solution is now available . See Passing arguments to Word macros (2)

Passing arguments to Word macros is very desirable and often necessary. Having parametrized macro allows the macro to be reused in your organisation. Unfortunately there is no direct way to provide arguments to macros when invoking the macros from outside Office, like RPE does.

Continue reading “Passing arguments to Word macros”