Add external links in SharePoint Document Library

If you don’t have access to the settings for a document library, you can use the technique presented here.

Essentially, what you do is create a text file that has HTML with a JavaScript location replace:

   <title>External Link</title>
       <script type=&quot;text/javascript&quot;>

Then you add this text file to the Document Library. When a user clicks on the link, the target opens. It handles backbutton.

Are there any security concerns with this? Perhaps, but one can already load HTML files, so the risks are not increased.

If you do have access to the settings, you can enable the library to have external links.

TiddlyWiki Alternative
If you have many links to add, the above HTML-JS file is very cumbersome. You can instead just upload a TiddlyWiki page that contains the desired links. The advantage will then be the easy wiki syntax and much more enhancements provided by the TiddlyWiki Single-Page-Application.

July 15, 2013: I had an instance where the JavaScript did not work, so I used the HTML meta refresh approach.

Further Reading

Leave a Reply

Your email address will not be published. Required fields are marked *