Stump the Panel » Site Managers and Site Collection Managers

Windows File Manager Control in a Web Part

(5 posts)
  • Started 8 months ago by LISpeedyG
  • Latest reply from LISpeedyG
  1. LISpeedyG
    Member

    Hi,

    There are several shared network folders and files that are required to remain on a network share. However, there are business requirements to view/open/add/delete files and/or folders on the network share. These file/folder activities will be performed based on procedures/processes that reside on our SharePoint site.

    So, I have been looking for a way to display the Windows File Explorer in a Web Part so that users can search within the SP environment. And, secondly to be able to connect folders/files to another web part filtering the directory to a specific file. I presume that a CEWP will be the most useful but I have not been able to find the correct control object associated with these actions. Also, is there a link where we could find the ActiveX objects and related examples.

    Thank You for your time.
    Gus

    Posted 8 months ago #
  2. Might be easier to write a program that updates a SP list with the contents of a file share. It would also work better with non-IE browsers (I'm guessing any Explorer-type functionality will be based on Active-X).

    Posted 8 months ago #
  3. LISpeedyG
    Member

    Hi,

    Sorry for the delay. Apparently I am not set up for notifications.
    Anyway, your solutions sound promising. However, where do I begin with either wrinign a program and or using ActiveX.

    Also, As an alternative, I have attempted to simply spawn a local Windows File Explorer using an "href=c:\.." in a CEWP. However, this method simply appends the href to the current site URL making it invalid. Is there some syntax that would make this solution work?

    Thanks again for a direction.
    Gus

    Posted 8 months ago #
  4. To open file share files in SharePoint use the following:
    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

    As for updating a SP list with file share information, this would probably be a C# application running on a timer that scanned file share contents and uploaded the metadata using the SP API or web services. This may not be available yet as a 3rd-party product. MapForce by Altova is a great tool for creating C# applications that perform simple mapping functions--that would only leave the data gathering which I'm sure is part of C# somewhere... but I'm not a programmer.

    For the "viewing of file shares in a web part," I would look for an ASP.NET application or web part that already does this. I'm sure it's commercially available.

    Posted 8 months ago #
  5. LISpeedyG
    Member

    Thank you for the quick reply.

    I have decided to use a link to the share folder.

    In examining the use of your "file:///C:/Documents%20and%20Settings..." it does not seem to work. In doing a little research it might be due to the SP2 pack that no longer allows you to use this syntax.

    Thanks again for all your help.

    Posted 8 months ago #

RSS feed for this topic

Reply

You must log in to post.