Book a Demo

Author Topic: Is it possible to Link to an EA diagram externally  (Read 6000 times)

canvasback

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Is it possible to Link to an EA diagram externally
« on: January 09, 2009, 12:59:56 am »
We are trying to determine how to integrate between TFS and EA. I have seen how it is possible to integrate work items into EA, but what I really want to do is go the other way and put links to diagrams in TFS work items. Is this possible?

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Is it possible to Link to an EA diagram extern
« Reply #1 on: January 09, 2009, 02:24:30 am »
Quote
We are trying to determine how to integrate between TFS and EA. I have seen how it is possible to integrate work items into EA, but what I really want to do is go the other way and put links to diagrams in TFS work items. Is this possible?

Actually the easiest way to do this is to export to HTML and link to the corresponding diagram.

Canonic Corp. has announced a free protocol plugin which enables external access to EA but I have never heard anything about it since summer.

You can of course write a small program or service yourself which accesses diagrams and elements via the EA automation interface.

Oliver
« Last Edit: January 09, 2009, 02:26:23 am by ofels »

canvasback

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Is it possible to Link to an EA diagram extern
« Reply #2 on: January 09, 2009, 03:23:29 am »
We are looking for the ability to link to a 'live' diagram so that it would load EA and allow you to start editing. That way we can do our requirements in EA and have full traceability in TFS between requirements/design diagrams to tests cases and defects logged in TFS.

ravikiran.sodimbakam

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Is it possible to Link to an EA diagram extern
« Reply #3 on: January 30, 2009, 06:13:50 pm »
Hi,
     we do have a similar requirement, where we were thinking to prepare UseCase diagrams for the requirements and a corresponding text document and thereby linking the text document to UseCase diagram, and so when ever we clicked on any Shape on UseCase diagram the corresponding document should open.

Is there any such kind of facility available with EA ?

Thanks
Ravi Kiran.
« Last Edit: January 30, 2009, 06:16:08 pm by rsodimbakam »

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Is it possible to Link to an EA diagram extern
« Reply #4 on: January 30, 2009, 07:39:08 pm »
Quote
Hi,
     we do have a similar requirement, where we were thinking to prepare UseCase diagrams for the requirements and a corresponding text document and thereby linking the text document to UseCase diagram, and so when ever we clicked on any Shape on UseCase diagram the corresponding document should open.

Is there any such kind of facility available with EA ?

You have two choices:
  • use the file tab to reference a document, either being on a web server, the file system or a document management system
  • copy the document in question into the linked document of a use case (which is not a real linking solution)
I both cases the conten is available via mouse click when accessed from the HTML exported model, from within EA you need some more clicks.

Oliver
« Last Edit: January 30, 2009, 07:39:22 pm by ofels »

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: Is it possible to Link to an EA diagram extern
« Reply #5 on: February 02, 2009, 05:54:14 am »
There is another way...

Create an EAP file which is like a shortcut to the model you want to open.  When the user double clicks this, it will launch EA and open the diagram pointed to by the GUID.  You could create one of these EAP shortcut files for every diagram you want to link to from TFS - then just use a UNC path to point to the relevant EAP that opens the matching diagram

Here is an example.  Paste this into notepad and save as "whatever.eap"

EAConnectString:Production on W3PRWLGDB3 --- DBType=1;Connect=Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=EA_Repository;Data Source=w3prwlgdb3.ldstat01.net
OpenActions:$diagram://{5F84EC4F-DB35-423c-A51A-CA1A265F1E2A}

Of course - you have to replace all the bits and pieces with your normal connect string... and the GUI for the correct diagram is obtained from the t_diagram.ea_guid column.  I don't know how to extract the diagram GUID via the EA UI (copy RTF reference gives a different value)

Cheers,
David.
« Last Edit: February 02, 2009, 06:01:35 am by Dave_Bullet »
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

bioform

  • EA User
  • **
  • Posts: 230
  • Karma: +0/-0
  • Forty-Two?
    • View Profile
Re: Is it possible to Link to an EA diagram extern
« Reply #6 on: February 03, 2009, 04:33:26 am »
Very clever approach!
Time is what keeps everything from happening at once, Space is what keeps it all from happening to you. <unknown>

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Is it possible to Link to an EA diagram extern
« Reply #7 on: February 03, 2009, 09:03:34 am »
Actually, EA can help you set this up. Look in the EA help index for Shortcut | Model (Capture Current Environment). The process described there will get EA to save the connection string and options into an EAP file, which will do what Dave describes. EA will work out the syntax for you.

Note that if your model is stored in a DBMS repository, EA allows several more options on startup, including opening several diagrams. The help page will guide you through.

David
No, you can't have it!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Is it possible to Link to an EA diagram extern
« Reply #8 on: February 03, 2009, 09:50:55 am »
Quote
Note that if your model is stored in a DBMS repository, EA allows several more options on startup, including opening several diagrams.
Also true of EAP files. "File > Save Project As..." is the menu command, choose to save a "Shortcut" not "Copy".
The Sparx Team
[email protected]