Stump the Panel » Site Managers and Site Collection Managers

Sharepoint and fileservers

(6 posts)
  • Started 2 months ago by Greg Poler
  • Latest reply from dabaco
  1. Greg Poler
    Member

    First I like to say that this a great site and I have found it very useful.

    I’m helping a client with SharePoint services 3.0 and want to setup a shortcut\link to certain files on their file server.

    I know you can setup a link using a URL but then the default file ext is .ASPX.

    I need to be able to use this link to open any and all Microsoft office files.

    Thanks for the help

    Posted 2 months ago #
  2. joanre
    Member

    You can create a Links List and for each item's URL instead of 'http://' use 'file://' and the UNC path -- Example: 'file://file-server-name/rest-of-path-to-file-or-folder' (I think 'file:\\' also works iirc). You can then click on the item and if points to folder, Windows Explorer opens on that folder, or if points to file, you get "Do you want to open or save file" (at least, that's what I get, except if it is a text file, it immediately opens in IE).

    'file://' works great in Lists, but there's a caveat using it in Libraries and I am currently searching for a workaround -- The caveat is that 'file://' will not work in the default URL column of a Link to Document (though if you *add a URL column* in Link to Document or in any other Library Document content type I've tried such as MS Office documents, 'file://' will work in the column you added. It just won't work in the default Link to Document URL column.)

    Posted 2 months ago #
  3. Greg Poler
    Member

    Thanks Joan. I guess there's no easy way of doing do.

    Thanks again

    Posted 2 months ago #
  4. This will only work in a text field but should mark up to appear as a link

    Windows URI Proper Syntax

    For the UNC Windows file path
    \\laptop\My Documents\FileSchemeURIs.doc

    The corresponding valid file URI in Windows is the following:
    file://laptop/My%20Documents/FileSchemeURIs.doc

    For the local Windows file path
    C:\Documents and Settings\davris\FileSchemeURIs.doc

    The corresponding valid file URI in Windows is:
    file:///C:/Documents%20and%20Settings/davris/FileSchemeURIs.doc

    Posted 2 months ago #
  5. Greg Poler
    Member

    That worked!! thanks everyone.

    Posted 2 months ago #
  6. dabaco
    Member

    So how exactly do you set this up? I've been trying what is mentioned above but I've hit a sticking point. I've created a new content type called Link to File with Link to Document as it's parent. I created a new column called File Path and set it as Required. I then set the URL column to hidden. I added the new content type to a document library. I click new and the newlink.aspx form is opened. I add the title and URL but have the same issue. It's still using the URL column instead of the File Path. How can I change this behavior? I'm only a site admin so I can't do anything fancy on the backend as I don't have access. Thank you all for this wonderful site.

    Posted 2 days ago #

RSS feed for this topic

Reply

You must log in to post.