Book a Demo

Author Topic: How can I reference an element from another tool?  (Read 4443 times)

kents

  • EA Novice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
How can I reference an element from another tool?
« on: February 15, 2013, 04:40:33 am »
I want to define requirements in EA, but I need to be able to refer to a specific requirement from another tool (such as TestLink). I know there is an auto-numbering feature in EA, but it just inserts the auto-numbering text before the element name. Since the element name is editable, it could change. Is there a better way to do this?

Of course, ideally, I'd like to be able to navigate directly with a single click from a link in the other tool to the referenced element in EA (e.g. in the project browser). But even something fairly clunky (e.g involving cutting and pasting) would be better than nothing.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How can I reference an element from another to
« Reply #1 on: February 15, 2013, 04:49:35 am »
Each element has a GUID (you can copy that via context menu Copy/GUID) in the browser. Now it's easy to write a little script that accepts this GUID and reveals the element in the browser (or even in all diagrams where it's used).

q.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: How can I reference an element from another to
« Reply #2 on: February 15, 2013, 12:21:17 pm »
I use the alias field to store Requirement numbers so you could you that. Not sure what TestLink is and couldn't find a safe reference on the web - kept getting "warning attack page" so stopped looking.
If you can access TestLink via web URL you can use the file links using web address on each requirement.
Happy to help
:)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How can I reference an element from another to
« Reply #3 on: February 20, 2013, 12:57:14 am »
There's a tool out there to do just that:http://sourceforge.net/projects/eaprotocol/ that does this, but it looks like it has been abandoned for a few years now.

But it is open source, so you might be able to use it anyhow.

Otherwise it would indeed be quite simple to write something like that yourself.

You would use the code of the EA Navigator as a basis, see https://github.com/GeertBellekens/Enterprise-Architect-Toolpack/

Geert

kents

  • EA Novice
  • *
  • Posts: 16
  • Karma: +1/-0
    • View Profile
Re: How can I reference an element from another to
« Reply #4 on: March 04, 2013, 09:28:21 pm »
Thank you all for your answers.