Author Topic: RTF Report: listing all connectors  (Read 4614 times)

rayt

  • EA User
  • **
  • Posts: 28
  • Karma: +1/-0
    • View Profile
RTF Report: listing all connectors
« on: April 25, 2013, 08:00:21 pm »
Hello,

I would like to generate a documentation listing all connectors.

Tried these options, both to no avail:

1. In the edit template sections tree, having elements/connectors checked -> Connectors are appearing twice, once for the source element and once for the target element.

2. diagram/connectors checked -> Lists all connectors once but there's no direct option for outputting the source and target name here. I know it uses the element/connector setting, but when having this checked, these appear too in the documentation

This must be really basic, but I'm currently stumped. Maybe someone knows a quick solution
Thanks!
Ray

PanosH

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: RTF Report: listing all connectors
« Reply #1 on: April 14, 2016, 09:35:41 pm »
Hello,

I am having a similar issue, but thought of posting in response to this older post, rather than creating a new thread.

I am trying to produce a report that would list the following:
Connector Name, Source Element, Target Element, ideally in a table

However, I am not able to get the Source and Target Elements using the Connector Tickbox in Diagram nor using the actual Connector Source and Target tickboxes. Would anyone be able to provide any pointers on this?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13402
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: RTF Report: listing all connectors
« Reply #2 on: April 15, 2016, 03:52:45 pm »
I tend to solve those type of issues using an SQL Fragment.

Geert

Ramirez-UK

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: RTF Report: listing all connectors
« Reply #3 on: April 20, 2016, 07:21:56 pm »
I had the same problem with reporting of connector info and also had the idea of using the rtf generator to produce a csv-like output.  It's a bit clunky but does the job.

The code in the template editor looks something like this:

Code: [Select]
package >
connector,source,target
element >
connector >
{Connector.Type},source >element >{Element.Name},< element< sourcetarget >element >{Element.Name}< element< target
< connector
child element >
< child element
< element
child package >
< child package
< package

The output can be cut and pasted into Excel and turned into a table using the text to columns function.