OneDrive Client App Library in Difference PCs Has Difference Paths
In general, OneDrive App will save its library in %UserProfile% folder (C:\Users\<<YourName>>\OneDrive\DOCs).
If you have multiple computers, the <<YourName>> will difference in multiple computers.
So, if you link to an OneDrive file with absolute path in OneNote, it will be broken in other computers.
"Gem for OneNote" add-ins have a link feature to solute this problem.
- In "Gem for OneNote", follow "Link" tab -> "Hyperlink" group -> "Relative Link" feature.
- In "Create Relative Local Link" window, Choose "Create variable link".
- Then, choose %ONEDRIVE% variable.
In "Create Relative Local Link" window, click "File" button to choose a file which has sync complete in local OneDrive library folder.
After choose an OneDrive file, Gem will change its path to a variable path, in this example is
The %ONEDRIVE% is a variable for OneDrive folder. Gem know how to convert it to your OneDrive folder.
After create an OneDrive variable link, you can find it is a Gem type link.
This type link need install "Gem for OneNote" to response it, or the link cannot work when you click on it.
Click on this type link, Gem will convert it to your local OneDrive file path, and open it by your application.
Now, you can sync this OneNote Notebook to another computer, and you must have installed "Gem for OneNote" add-in in this computer too. And, you also sync completely your OneDrive files with OneDrive client application.
In this example, we have sync the notebook to OneNote 2013 Windows 7.
Click on the OneDrive variable link, Gem convert the link to real local OneDrive path to open the file.