Choosing between relative and absolute paths for hyperlinks | Revu 2017 & below

Revu includes the ability to add links in the PDF that point to an external file. Links between files can be created using Hyperlinks, Bookmarks and Actions. When adding the link, you have the option to use a relative path or absolute path to access the file.

For some of our users, it may be helpful to explain the difference between an absolute (or “full”) or relative path when hyperlinking. In this article, I will explain the differences and then show you an example to help illustrate how they both work.

When you create a hyperlink by clicking Markup > Hyperlink hyperlink.png , the Action dialog allows you to choose the file you’re linking to. Revu gives you the ability to save an absolute path or a relative path in that hyperlink. A path is the route to the file on one’s computer or network, such as C:\Users\Greg\Desktop\Floorplan.pdf.

The file location information you choose for the hyperlink can be saved in two different ways. The first option is to store the full path. The second option (the default) is to Use Relative Paths, which stores only the path between the current file and the file you’re linking to.

There are benefits to both types of links, which you can see in this example:

Here is a hyperlink from a network file N:\Projects\Coverpage.pdf to N:\Projects\Baker Project\Floorplan.pdf

The full path saves as N:\Projects\Baker Project\Floorplan.pdf

The relative path only saves as Baker Project\Floorplan.pdf

Saving the relative path is useful, because it makes the entire project portable and the group of files can be moved together to another location. For example, you may need to copy all the files of a project to your laptop because you will be out of the office. In this case, relative paths would continue to work after the files are moved because the drive letter and full folder structure isn’t included – only the links between Current file.pdf and Baker Project\Floorplan.pdf is saved in the link. This is also useful when the project is completed and archived to other media, like a CD or DVD, or if the project is moved to another drive or folder on your network.

Saving the full path ensures that the link will continue to work if you copy Coverpage.pdf to another location, like the desktop of your computer. The hyperlink continues to work because the path includes the drive and full folder name or the other files.

The screen shots below show the Action dialog and how the Use Relative Paths check box changes the path stored in the Open File field.

Relative path

relative-link-2
The Use Relative Paths option can be applied to all link actions between files. You can create links to open PDF files using the Jump to Page link and selecting an open file in the document dropdown list. You can also create a Snapshot View to another opened file by clicking the Get Rectangle button, then clicking the document tab and defining the rectangle.

Full path

full-link

Watch the video tutorial for Link and organize PDF files. This video covers creating and working with Hyperlinks and the Links tab, Places, Spaces, Bookmarks and Flags.


Revu includes the ability to add links in the PDF that point to an external file. Links between files can be created using Hyperlinks, Bookmarks and Actions. When adding the link, you have the option to use a relative path or absolute path to access the file.
For some of our users, it may be helpful to explain the difference between an absolute is to Use Relative Paths, which stores only the path between the current file and the file you’re linking to.
There are benefits to both types of links, which you can see in this example:
Here is a hyperlink from a network file to N:ProjectsBaker ProjectFloorplan.pdf
The full path saves as N:ProjectsBaker ProjectFloorplan.pdf
The relative path only saves as Baker ProjectFloorplan.pdf
Saving the relative path is useful, because it makes the entire project portable and the group of files can be moved together to another location. For example, you may need to copy all the files of a project to your laptop because you will be out of t

Related Articles