Relative links to external files

I'm working on building a digital O&M in Hype. There will eventually be a couple of hundred PDFs that we link in the Hype project. 1. Is there a way to use relative links to the files instead of absolute links?

Yes - just use a relative URL :slight_smile:. I assume you are using the "Go to URL…" action? This does not require a full URL, just make sure it is relative to where you will place the .html file.

If you intend to place the PDFs themselves inside the .hype document, that means they will be exported in the *.hyperesources folder. In this case, you can use the ${resourcesFolderName} magic variable which gets automatically substituted at export with the correct name. Example:

1 Like