Book a Demo

Author Topic: RTF Document across packages  (Read 6184 times)

Tim Hosking

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
RTF Document across packages
« on: March 11, 2014, 01:48:33 pm »
Hi,

I am trying to generate an RTF doc as a report of a class diagram. the entities (elements) in the diagram are just links to entities in another package. When I run a report from the diagram, I get the picture of the diagram, but no details about the entities (elements) or attributes (features) from the other package. It's a simple data dictionary kind of report.

I would have thought that EA would not care about where the entities live and should allow me to drive the report from the diagram. It should know how to find the elements in other packages.  >:(

What am I doing wrong?  :-[

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: RTF Document across packages
« Reply #1 on: March 11, 2014, 02:10:48 pm »
Click the checkbox in the generation dialog 'Include all Diagam Elements in Report'.

Tim Hosking

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: RTF Document across packages
« Reply #2 on: March 11, 2014, 03:13:12 pm »
Thanks Simon, but I have checked that box and I still only get the diagram. I have used the standard templates as well, so I don't think there is a problem with my template. I only get the title page, table of contents, the diagram and nothing else. Same for html generation.

Does it matter that the entities are in a completely separate package, i.e. not in the same branch of the hierarchy of packages?


Nizam Mohamed

  • EA User
  • **
  • Posts: 193
  • Karma: +1/-0
    • View Profile
Re: RTF Document across packages
« Reply #3 on: March 11, 2014, 03:24:47 pm »
Tim, if you are designing your own template, you must have your element related fields populated under "Diagram -> Element" section to get the diagram elements (from other packages displayed.
Refer Pic in the below link
https://www.dropbox.com/s/bwvozd4ttwtsbdl/DocTemplate.png

Tim Hosking

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: RTF Document across packages
« Reply #4 on: March 11, 2014, 03:43:03 pm »
Hi Nizam, thanks for that. I gave it a go and it works, but I can't get the attributes (features) that then belong to the elements on the diagram included in the report.

I have been reading about the model document feature. Is this what I should be using?

Tim

Nizam Mohamed

  • EA User
  • **
  • Posts: 193
  • Karma: +1/-0
    • View Profile
Re: RTF Document across packages
« Reply #5 on: March 11, 2014, 04:16:43 pm »
Tim,
Model Templates are certainly a neat option, but you may also try the report generation from list view of the diagram
Switch your diagram to list view(right click on diagram, list view) and select all elements and generate a report. (This will report on the elements using the "Elements" section where you can have your attributes, ops, etc.)
This could be handy for a diagram at a time, but model packages (assisted with queries) will provide a robust solution.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: RTF Document across packages
« Reply #6 on: March 11, 2014, 04:59:38 pm »
Make sure your report contains an empty element section inside your diagram section. This will tell the generator where inside the diagram section elements should be reported and the fact that it's empty tells the generator to lookup the normal section (with all additional child sections).

I believe the default templates in EA 11 Beta 1 didn't contain that, but were corrected in beta 2.

EA 11 also allows you to document multiple selected elements from a diagram without switching to a list view.
« Last Edit: March 11, 2014, 05:00:23 pm by simonm »