1
General Board / 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
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