Book a Demo

Author Topic: Reporting: relevant packages only  (Read 4324 times)

Rouven

  • EA User
  • **
  • Posts: 48
  • Karma: +0/-0
    • View Profile
Reporting: relevant packages only
« on: June 16, 2012, 12:02:02 am »
Hi everyone,

I'm trying to understand the RTF reporting that comes with Enterprise Architect and how I could build a report template that meets my current requirements. Unfortunately I'm not getting anywhere, so here's my question: how do I accomplish the following with a template:

Model structure:
Package A
+- Package A.1
     +- Package A.1.1
+- Package A.2
     +- Package A.2.1
+- Package A.3
     +- Package A.3.1


There are model elements in all of the above packages. For my report, the only relevant model elements are in A.1, A.3 and A.3.1 - I obtain them by specifying required filter criteria.

My report is to look as follows:
Headline: A.1
    <element fields as specified for all relevant elements in A.1> in table form
Headline: A.3
    <element fields as specified for all relevant elements in A.3 AND A.3.1> in table form

So essentially I have:
  • a filter for which elements are relevant
  • a criteria when a package name should appear as a headline: either it or its direct sub package contains a relevant element

All I can get is a template that will contain all package names as headlines (which means all the irrelevant ones as well) and I seem to find no way of skipping A.3.1 either.

Can this be done with EA reporting?

Thanks,
Rouven

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Re: Reporting: relevant packages only
« Reply #1 on: June 20, 2012, 02:27:09 am »
Yep. Just check Package and Element and make sure Child Package is unchecked in the RTF editors 'Sections' dialogue. Then right mouse click in the RTF editor and select File -> Document Options and check 'Skip root package' on the Advanced pane.

Regards,

Jon.

Peter Nordlund

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Reporting: relevant packages only
« Reply #2 on: November 23, 2012, 12:44:13 am »
Hi,
I am trying to do the same. And I can not figure out exactly what you mean by
"..and make sure Child Package is unchecked in the RTF editors 'Sections' dialogue.."
I have a filter that matches Element Tagged Values. Currently i have a match for 3 use cases, but there are 7 packages. And all packages are shown regardless if there is any element matching the filter.

Can you elaborate on the solution given for EA 9.3 (or 8.0).
And explain if what I am after is possible through
that?
Regards Peter

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Reporting: relevant packages only
« Reply #3 on: November 23, 2012, 06:28:35 am »
A document meta-model looks a bit like this.



All you have to do is drag the selected packages into a model document.


You then might see something like this

where two packages - "Amending the document" and "Ordering of sections" use the same model document ("Model Content") (which uses the model document template "GENERIC-Text")
« Last Edit: December 19, 2012, 06:39:30 am by skiwi »
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

beany386

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Reporting: relevant packages only
« Reply #4 on: December 18, 2012, 10:03:39 am »
Per chance is it possible to post an example eap file showing the use of a document model?

I like most people would love to see an actual example

Thanks in advance.

Robert Sheridan

  • EA User
  • **
  • Posts: 105
  • Karma: +0/-0
    • View Profile
Re: Reporting: relevant packages only
« Reply #5 on: December 19, 2012, 01:41:13 am »
I achieved something similar by dragging the packages I was interested in into a virtual document section.