How to report from multiple data sources selected dynamically

The example uses DOORS 9 modules but it is applicable to any data source RPE supports.

The problem: create a document from multiple DOORS 9 modules.

The static solution: use the same template multiple times in a docspec with a different module each time. This is what is used in most cases and it’s the simplest solution when you have a fixed list of modules you want to report on.

The dynamic solution:

  • create a list of the DOORS 9 modules you want included
  • iterate the list and reconfigure the template data source with the information read from the list

The list can be kept in a DOORS 9 module or in a separate XML file. The list can generated/altered right before you start the document generation.

Continue reading “How to report from multiple data sources selected dynamically”