Allow creating links to local files or folders on Mac
I would like to be able to insert a link to a file or folder on my Mac. Currently I can attach the file, but this is impractical for some of the things I need to link to (folders containing hundreds of files and >50 GB in size). Attaching also creates a duplicate of the file, which is undesirable in some cases; I'd prefer to have a single copy that I can modify, update, or whatever, and have the link always point to the current version.
I attempted to create a file link manually by selecting "Create Link" and entering File://path/to/my/file. However, when I click on the link, I get an error message that says "The application “Microsoft OneNote” does not have permission to open [my file]." A little research suggests that this error happens because the Mac version available through the app store is Sandboxed and prevented from accessing local files.
I also tried attaching an alias, but this doesn't work - OneNote attaches the original file/folder instead of the alias.
Please either add a menu command to create links to files (preferred) or relax the Sandboxing to allow advanced users to manually create file links that work.
The question was asked in August 2015 and we are in April 2020 without an answer.
This is typically the way of how is functioning Microsoft, now you know...
Jon Rayner commented
Still an issue, get an error when I have linked a local file, saying The application “Microsoft OneNote” does not have permission to open .........
Yep, this feature would boost my productivity and esteem for OneNote/Microsoft.
Just to keep this thread alive, I'd like to throw my two cents into the pot. This would be a really useful feature that is really hard to believe is not already in the product. Not sure where this issue lies, OneNote or MacOS but it really needs to be corrected.
really dumb that you cannot do this.
Egjen Skis commented
This would be a great feature and really strengthen OneNote and make it a much more powerful and useful application. Thank you.
Pls soon correct it
Gauthier Peel commented
adding folder link in onenote for windows is also needed for the same reason you describe.
"the file will open if you had previously dragged and dropped the file as an attachment (even if you later delete the attachment)."
1. Create the link - does not work.
2. drag & drop file as Attachment. Delete Attachment.
3. Link works!
I'm really looking for this option too.
Through trial and error I figured out that if you hold the command key while clicking on the link to the file, the file will open if you had previously dragged and dropped the file as an attachment (even if you later delete the attachment). This is working for me on MacOS Sierra and Onenote 15.36.
So, I'm sure this problem is due to Sandboxing. MacOS sandboxes OneNote so it can only access files you allow it to access. OneNote should work with mac to erase this limitation (Evernote for example can link to local files in MacOS without problem).
I also very much need this feature
I whole heartedly support this idea. I use OneNote for school and work and love the functionality. I very much need the ability to link to files that are resident on my hard drive. Reason is, I will modify and annotate the files as I am preparing for class or meetings, but will have to save and reattach the file.
Creating link to local file manually with CMD+K and entering file:///path/to/file works for as long as OneNote remains open. If you quit OneNote and reopen OneNote, then the links to local file no longer work and the error message "The application “Microsoft OneNote” does not have permission to open [my file]." is shown.
This is really annoying.