Book a Demo

Author Topic: Automatic report generation (with filtering)  (Read 2939 times)

Martin Aspeli

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Automatic report generation (with filtering)
« on: July 16, 2009, 05:11:53 pm »
Hi,

I have a custom RTF report template that shows a list of elements and connectors. It is based on the "data model" template.

I want to show only connectors of a certain type (ideally only connectors with a certain *stereotype*, but I can't see a way to do that) in the report body.

The only way I've foundt to do this is to use a lot of "exclude" filters in the "Documentation -> Generate RTF Documentation" window. The problem is that these settings are not saved with the template, so I have to train my users to select the right things every time. We've got hundreds of packages that need to be exported like this on an ad-hoc basis, so having to go through this dance is too time consuming and error prone.

Is there a way to either:

 - Specify a condition/filter in the template so that it only lists connectors with a given stereotype?

 - Save the RTF report filters so that they're applied each time?

 - Create a script (or maybe an add-in menu item action?) that runs the given report with the given filter parameters?

Cheers,
Martin

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • ArenĀ“t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Automatic report generation (with filtering)
« Reply #1 on: July 16, 2009, 06:43:49 pm »
Quote
- Save the RTF report filters so that they're applied each time?

You can set the filters in your template so that they are stored there.
Just open the Document Options dialog and go to the Filters tab.

The filters are applied each time the template is used but can be overridden from the document generation dialog.

Oliver
« Last Edit: July 16, 2009, 06:44:09 pm by ofels »