Book a Demo

Author Topic: Relative Hyperlink path  (Read 3517 times)

Dion

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Relative Hyperlink path
« on: June 01, 2006, 11:46:01 am »
Hi, all

I place a hyperlink (to a Word doc) on my diagram.  When I browse to the file, it gives the relative path (C:\My Projects\...\Sibling Folder\Test.doc).  When I double-click on the link, it opens the file as expected. Since I have to place the entire design on a CD later on, I'd like to use the relative path ( ..\Sibling Folder\Test.doc).  When I double-click on the link, it seldomly opens the file, most of the time, it does not work.  I wonder what is the trick.

Is there any better way to achieve the relative path so that I can move the entire folder without relink?

Thanks.

Dion

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Relative Hyperlink path
« Reply #1 on: June 01, 2006, 12:05:08 pm »
Hi Dion,

There was quite a bit of discussion about relative paths here recently. The bottom line is that you can do some of what you want with the paths in Tools / Options etc., but probably not everything.

Do a search, and try several keyword combinations (to get everything possible) and you'll see some Sparx responses, as well as relevant suggestions from various members.

I don't remember if Sparx said they were working on this. If you don't see an indication that they are, I suggest you open EA and submit a request via Help / On-line Resources / Request-a-Feature.

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

thomaskilian

  • Guest
Re: Relative Hyperlink path
« Reply #2 on: June 01, 2006, 11:37:26 pm »
I'm working in several positions with relative paths and it worked with no problem. I haven't tried what you did, Dion. Could you give the steps you take and I might have a look.

Dion

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Relative Hyperlink path
« Reply #3 on: June 02, 2006, 04:35:16 am »
Thanks for looking into this for me. The way I add the links are as follows:

In the Class model, I add a new diagram.  I right click on the diagram and insert the hyperlink. I browse to the file, it gives the absolute path (C:\My Projects\...\Sibling Folder\Test.doc).  The I chnage it to relative path ( ..\Sibling Folder\Test.doc) and give a alias.  Click OK to save it.

I have found that the hyperlinks sometime work and sometimes do not if I doubleclick on the links.  Looks like if I close my .eap file and then re-open it.  Most of time it works.  Very interesting.  I wonder why.

Thanks.

Dion

thomaskilian

  • Guest
Re: Relative Hyperlink path
« Reply #4 on: June 02, 2006, 02:24:09 pm »
Must wait until Tuesday (monday is bank holiday here in Germany and I like to work in my garden :))

thomaskilian

  • Guest
Re: Relative Hyperlink path
« Reply #5 on: June 05, 2006, 12:54:00 pm »
Î just tried and it did not work. I linked a .txt one level up but nothing opened. When using an absolute path it worked. So you should report that via the bug report page.