Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Web Part for Documents and URLs

  Asked By: Eliezer    Date: May 06    Category: Sharepoint    Views: 1185

Is there a web part that can list both documents and URLS?

Often Intranets provide lists to documents that exist in both forms.
The URLs may link to a external resource or internal web page.

Generally I see a seperation of these tasks but lists should be
seperated by subject not format. It seems like a weak point in

A list of research links with a document (Word Doc) having research cost rates followed by the web link to the online research web site (URL). One is an internal document while the other is an external web link.



7 Answers Found

Answer #1    Answered By: Marty Mcdowell     Answered On: May 06

For kicks I tried to upload a foo.url file into a doc  lib (like we used to do with SPS 2001). .url files are blocked by default.

Answer #2    Answered By: Dakota Shaffer     Answered On: May 06

Couldn't you simply add a hyperlink field to the document  library? Then
when you upload the local document you populate the external  link. Maybe
I'm still missing the point.

Alternatively, a Link list  of external sites with binary documents
attached to each list item as needed.

Answer #3    Answered By: Ted Gilmore     Answered On: May 06

What we do is to upload a small HTML document  containing a redirect in it, e.g.:

<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.microsoft.com">

Then, after you've uploaded it, a user clicks on the link, the HTML opens and the browser changes to point  to the required URL.

Answer #4    Answered By: Monte Cooley     Answered On: May 06

I would think that 3rd party web  parts would have filled this need.

Don't people usually wany lists  by subject  matter instead of where
the source document  is located? Connectivity should free us from
location and medium (format) dependencies instead of locking us into
it. It seems that WSS has a techie only design in this area.

Tell me I'm not one of the few who see this need?

Even something as simple as an announcement area could point  to an
external news item or an internal  Word document.

Just my thoughts.

Answer #5    Answered By: Guadalupe Bullock     Answered On: May 06

URL files are blocked, but if you take them off the blocked list  (maybe I'm not aware of the reason they are blocked) it works like a charm. That is the way we work with this scenario.. Either upload the document, or a .url file that points to the resource  you want to capture in your document  library. We often take a web  page archive (.mht) capture of the resource in question as well if we figure the source will go away eventually and we want to make sure we have the content Does anyone know the danger of allowing .URL files?

Answer #6    Answered By: Nathanial Mcclure     Answered On: May 06

We asked the same question a while back about why .URL file types
are blocked. We ended up unblocking them also. The only catch we
found was that you must upload using the multiple file upload
option. If you use the single file upload, it actually takes the
URL as a path and uploads the actual file the URL points to.

Answer #7    Answered By: Matt Prince     Answered On: May 06

URLs can be dangerous in that they contain instructions for a server to
do something. When an unknowing user clicks on a URL the instructions
will run in that user's security context. So, if I can get a site
administrator to click a URL that includes QueryString instructions to
make me an administrator, I could gain unfettered access to their site.
However, by default, SharePoint protects against so called "one click
attacks" by requiring updates be submitted as a POST action (rather than
a get) and the request must contain a request digest initially issued by
SharePoint. However, most Web based applications don't have that kind of
built-in protection so they disallow URL files by default.

Didn't find what you were looking for? Find more on Web Part for Documents and URLs Or get search suggestion and latest updates.