Hello,
i need a Hyperlink column in a SharePoint 2013 custom list, which is linking to a OneNote Notebook. The OneNote itself is NOT inside the SharePoint 2013 Website documents Folder, but is hosted on a different SharePoint Server.
So i create the "Hyperlink or Picture" column. When i want to insert an element into this list, I get the link to a specific page in OneNote, which looks something like this:
onenote:http://servername-xyz/One%20Note/Projekte.one#20140912MMU01§ion-id={7756543C-A1F6-4C14-8860-925755C807AB}&page-id={2BE84121-FE5B-4F34-972A-8E5CBC44ACAA}&object-id={EB340924-08E7-4BCB-9A12-B37342BAB8A0}&D2
When i paste the link into the column and try to save the list element, i get a red error line telling me that it's an invalid URL ("Ungültiger URL: OneNote" in german).
When i remove the leading "onenote:" from the URL, it seems to work and also I can save the list element. But as this list works with many OneNote-URL, it would be very useful, if the URL works out-of-the-box, how OneNote produce the URL to me...without manually changing the URL every time.
What i already tried to do, is to add the protocol "onenote:" (and also "onenote:http:" and "onenote:http://") to the list of allowed Hyperlink protocols by changing the core.js file inside the folder:
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\INC
There is a line which holds the allowed protocols for hyperlinks and i changed it to:
Hyperlink.arrAllowedProtocols=["http://","https://","file://","file:\\\\","ftp://","mailto:","msn:","news:","nntp:","pnm://","mms://","outlook:","onenote:http:","onenote:","onenote:http://"]
But it doesn't changed anything in the behavior. Still i am not able to save the element with this URL inside the Hyperlink column.
Why isn't it possible to link to a OneNote page from a Hyperlink column out of the box a fresh SharePoint Installation, as both products (SharePoint and OneNote) are from MS and as both are supposed to work together?
Any ideas?