Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a hyperlink to a onedrive file or folder without sharing it with anyone - and then use it

Tags:

onedrive

(Once the hyperlink is created I will use it in OneNote to link to a file on my own Onedrive, for only me to use !)

When I view a file in Word online the URL displayed is:

https://onedrive.live.com/view.aspx?cid=53B31F7A44698440&resid=53B31F7A44698440%2130033&app=Word

Say I want to insert a link to the file in a website or OneNote page, such that it has NOT been shared with anyone. ie Only I have permissions to view it like the file reference by the above link.

Can I simply use the above URL as a link?

I have used OneDrive sharing, but I think all the methods given result in the file being shared with other named people or publically. eg like this one:

http://1drv.ms/1zOli6p

...which when viewed in word online shows this URL:

https://onedrive.live.com/view.aspx?cid=53B31F7A44698440&resid=53B31F7A44698440%2130035&app=Word

I have been experimenting and using the URL seems to work. However, if the above does work, what I don't get is why OneNote does not allow a link to be created to a file stored on Ondrive. (On my PC it sonly seems to allow links to locally stored files).

I have used GoogleDrive which allows you to select a file and right click it to "receive a link" which you can use in the manner described above. This is a really useful feature.

Note that in a similar way, I would like to create a link that causes onedrive to open and display a chosen folder. This seems to work ok when I use a URL this one that only I have permissions to view:

https://onedrive.live.com/?cid=53B31F7A44698440&id=53B31F7A44698440%2130031

Any advise is really appreciated.

Harvey

like image 387
HarveyFrench Avatar asked Feb 13 '15 09:02

HarveyFrench


2 Answers

The links you copy/paste from your browser's address bar should work just fine, as your experiments have confirmed. If you're not trying to share the content with other people, you don't need to go through the sharing flows. You can just use those URL's.

From within OneNote itself you can also get links to content by right-clicking on a page/section/notebook and clicking 'copy link to page,' 'copy link to section,' etc.

like image 153
daspek Avatar answered Nov 09 '22 05:11

daspek


You can open folder in OneDrive online (via browser or right clicking on the folder in File Explorer then selecting "view online") and click "get link" at the top. Just cut and paste into OneNote. From there you can edit/rename the link as usual.

Oddly, OneNote has functionality to copy a FILE link using the Insert > Link, but you can't stop at the folder level.

Ideally, I'd like the above option as well as dragging a folder from OneDrive within Windows File Explorer and have it ask me if I want to copy the entire folder or create a link.

like image 42
Captquin Avatar answered Nov 09 '22 07:11

Captquin