Document Library and Hyperlinks

K

Ken Knudson

Is there a way to place a hyperlink in the document
library pointing to a document elsewhere on the network so
that when it is updated by users not having access to
Project Server those changes will be reflected when
accessing from the documents page?
 
D

David A. Cheslow PhD

Hi Ken;

This IS possible... but, like everything in MSP, it's more complicated than
it should be. Here's how:

Let's say that you have several documents that you want linked to your
project, but you want to store them outside of SharePoint (i.e. outside of
your project). First, the documents MUST be stored someplace on a web
server... no way around that... but they can be outside of Sharepoint and
they can be updatable by non-project users.

For each document, you'll create a small HTML file that only contains a
meta-tag which redirects the browser to the real document. Here are the
contents of the HTML file I created to test the concept:

----- cut here -----
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Refresh" content="0;url=http://www.atlanticmutual.com">
</head>
<body>
</body>
</html>
----- cut here -----

Most of the file is just an HTML skeleton... only one line needs changing
for each document you want to link. Change the line that starts with '<meta
'... the text after 'url=' should be the WEB address (NOT the file path,
which starts with 'c:'...) of the file you want displayed. Save the HTML
file on your local drive with the same name as the document it points to but
with the extension '.html' In other words, if your document is at
'http://www.atlanticmutual.com/myspreadsheet.xls' then you should call your
HTML document 'myspreadsheet.html'. You can actually name it anything you
want, but you'll just confuse yourself (and others) later on. Upload the
HTML file to your project in whatever document library you want. Repeat for
each document you want to link.

Now, when someone clicks the link to the HTML file, it will redirect them to
the file that you really want displayed. Users without any access to MSP or
Sharepoint can update the document as needed.

Hope this helps,
=dave=
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top