Book a Demo

Author Topic: create hyperlink  (Read 3742 times)

xkrystof

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
create hyperlink
« on: December 18, 2007, 01:43:58 am »
Could you give me a hint, how to create hyperlinks from diagram to diagram with the use of API?


thanks for any help

jan

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: create hyperlink
« Reply #1 on: December 18, 2007, 06:20:20 am »
Hi Jan,

Internally, a hyperlink is a text element with a special property set. [I don't remember which property, and don't have time to look it up. You should be able to find which one by examining a project via API or looking at the data.]

When I last looked into this - back in EA 6.5 days - I did not find an easy way to set the necessary values. The properties seemed to be read-only. I looked at this again when 7.0 was released and the situation had not changed. This doesn't mean you cannot set the properties, just that I did not see how.

I needed a quick solution, so here's what I did. I opened a second channel to the underlying model - whether EAP or DBMS, the concept is the same - and after creating the text element I carefully edited the appropriate database fields. I then refreshed the diagram where I first added the text element.

HTH, David
No, you can't have it!

xkrystof

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: create hyperlink
« Reply #2 on: December 19, 2007, 03:14:41 am »
thanks !

BR
Jan