Book a Demo

Author Topic: Tabular Reports  (Read 9101 times)

kewldee

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Tabular Reports
« on: September 28, 2018, 11:19:48 am »
Hi all, I have been modeling in EA for a while but my knowledge on custom reports is very limited. My team has a requirement to create a tabular report as shown below. We need this for all the objects in a package. Any suggestions on what would be an optimum way to get that tabular report from EA? Are there any threads on this topic in this forum that I can go through ?

Any suggestions are appreciated.

Table Columns
Source Multiplicity   Source Role Name   Source Name   Connector Name   Target Role Name   Target Name   Target Multiplicity                  

Thanks
KK

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Tabular Reports
« Reply #1 on: September 28, 2018, 04:09:57 pm »
Maybe you can use a diagram in list view for that?

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Tabular Reports
« Reply #2 on: September 28, 2018, 04:21:33 pm »
If you are only looking for an export of this info I would suggest using an SQL search.
You can export the results of a search to CSV and then use it in excel.

If you are looking for a nicely formatted table in an RTF/docx/PDF document then you'll have to look at the RTF document generator templates.
With those templates you can also create SQL fragments to get tabular information like this into the document.

Geert

kewldee

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Tabular Reports
« Reply #3 on: September 29, 2018, 02:42:07 am »
If you are only looking for an export of this info I would suggest using an SQL search.
You can export the results of a search to CSV and then use it in excel.

If you are looking for a nicely formatted table in an RTF/docx/PDF document then you'll have to look at the RTF document generator templates.
With those templates you can also create SQL fragments to get tabular information like this into the document.

Geert

Thanks for the suggestions. I tried the query builder but the fields in the result set are very limited. I did not see the multiplicity or the role name in the result set field chooser anywhere. So they will not show up ever. In the query builder search, can the fields that display in the result set be customized beyond what's in the field chooser ?

Looks like at this point using fragments in the doc templates is the way to go. I googled but the help available in limited. Any suggestion on where I can find more help on using fragments?

kewldee

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Tabular Reports
« Reply #4 on: September 29, 2018, 02:45:10 am »
Maybe you can use a diagram in list view for that?

q.

Thanks for the response. I tried this but the number of columns that display in the list view are again limited. The field chooser does not have fields/columns like multiplicity or role name. Do you know if there is a way to customize list view to include fields like multiplicity etc ? 

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Tabular Reports
« Reply #5 on: September 29, 2018, 06:50:17 am »
I guess that's fixed. However, you can write your own query representing the results in a list as well. Use the Query Builder to issue an according SELECT.

q.

kewldee

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Tabular Reports
« Reply #6 on: October 18, 2018, 11:28:48 am »
Thanks for the responses you two. SQL query search, as suggested above, is the way to go. Best part is - now that I got used to the EA tables, I am able to generate a lot more custom reports with ease.

BTW, sry for the delay in response. Was outta town.

benc

  • EA Administrator
  • EA User
  • *****
  • Posts: 200
  • Karma: +0/-0
    • View Profile
Re: Tabular Reports
« Reply #7 on: November 13, 2018, 10:41:51 am »
Hi Kewldee,

Very late reply - and too late for your project obviously :'( . For others starting out with generating tabular reports in EA - say for a data dictionary and the like - this 2-part webinar shows how to do it with a complete worked example:

Part 1 (Basics)
https://sparxsystems.com/resources/webinar/documentation/data-dictionary-basics/enterprise-architect-document-generation-basics.htm

Part 2 (Style sheets, custom queries and virtual documents)
https://sparxsystems.com/resources/webinar/documentation/generate-enhanced-documentation.html

I hope that helps (someone)  :D

Ben

kewldee

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Tabular Reports
« Reply #8 on: November 16, 2018, 06:19:34 am »
Hi Kewldee,

Very late reply - and too late for your project obviously :'( . For others starting out with generating tabular reports in EA - say for a data dictionary and the like - this 2-part webinar shows how to do it with a complete worked example:

Part 1 (Basics)
https://sparxsystems.com/resources/webinar/documentation/data-dictionary-basics/enterprise-architect-document-generation-basics.htm

Part 2 (Style sheets, custom queries and virtual documents)
https://sparxsystems.com/resources/webinar/documentation/generate-enhanced-documentation.html

I hope that helps (someone)  :D

Ben

Thanks a lot. These are helpful.

Rich Anderson

  • EA User
  • **
  • Posts: 142
  • Karma: +8/-0
    • View Profile
    • LinkedIn
Re: Tabular Reports
« Reply #9 on: November 22, 2018, 02:43:34 pm »
For stuff like this, I just write a VB.Net program in Visual Studio Community edtion that populates and Excel workbook directly using .NET calls and some simple looping.   I find I can create pretty much anything I want this way.   
Rich Anderson
Urgnt Limited