Skip to main content
Rsfl
Inspiring
February 28, 2014
Question

Linking to local files - strange behavior

  • February 28, 2014
  • 3 replies
  • 464 views

Hi all,

when I insert a link to a local file (using Insert > Hyperlink and then selecting "File" in the dropdown list), then Robohelp changes the absolute path to a relative path when saving the topic. Naturally this link does not work in a CHM.

I can resolve the issue in the HTML view by changing the path back to an absolute reference such as:

<a href="file://C:/Test/Hello_World.htm">

Such a link works in the CHM. However, I cannot get it to work in the TOC. I have checked the HHC and can verify that the path still is absolute there, yet the page does not open when clicked.

Any ideas?

Robert

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Captiv8r
Legend
February 28, 2014

Hi Robert

This is one purpose or reason you would use Baggage Files.

Add the file you are linking to as a Baggage File and link to the baggage file.

This may also have issues inside a CHM output though. But before we delve into the possible issues, give it a try and see if it works for you. It may work straight away. If so, that's great. But if you start seeing issues, post back for more help.

Cheers... Rick

Rsfl
RsflAuthor
Inspiring
February 28, 2014

Hi Rick, regrettably in this case it really is required to link to a file outside of the CHM. Perhaps it is possible to place the file on a web location, at least that should work reliably as long as the user has web access.

Robert

Captiv8r
Legend
February 28, 2014

Okay, so in this case you would want to use a HTML Help Shortcut control to open the file.

Cheers... Rick