Document management

4 posts, 0 answers
  1. Bobby Jones
    Bobby Jones avatar
    2 posts
    Member since:
    Nov 2009

    Posted 23 Mar 2011 Link to this post

    I have a SL4 application (C#) that is intended to replace a client/server desktop app.  I need to be able to access files (doc, xls, pdf, etc) on a networked file share.  (Elevated permissions are ok.)  Is there a way that we can do this in an elevated permissions SL application, without lots of extra steps for the user?  Current client/server app - user simply clicks a button to open a document or execute a pdf.  Can I accomplish something similar with SL4?  I also need to be able to create new Word documents.  Easy to do in the desktop app.  If it isn't easy for SL version, users will balk at switching to the "new and improved".
  2. Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 24 Mar 2011 Link to this post

    Hello Bobby,

     There are two ways this can be achieved: COM Interop and by linking to the network share from inside one of the 'My' folders.

    Regards,
    Yavor Georgiev
    the Telerik team
  3. Sachin
    Sachin avatar
    4 posts
    Member since:
    Jul 2008

    Posted 28 Mar 2011 Link to this post

    H Yavor,

    I am able to check the solution provide by you. I have further question for you.

    [1] COM Interop: In your first solution the application is fetching the files and folders from the file system. This is fine. I have two more requirements along with it, [A] I want to access the files kept on network file share. And [B] I want create and update the files too.

    [2] linking to the network share from inside one of the 'My' folders.: In the second solution there is trick to access network file system.  In this article they are using “NTFS symbolic link” and They  are creating the network sharing folder using “mklink” command. I tried to use the same command on my PC (win xp with sp3) but that command is not working. I again searched on net for “NTFS symbolic link”. This option available with Vista and higher OS (Server 2008 R2) only.

    Ref:  http://en.wikipedia.org/wiki/NTFS_symbolic_link

    Kindly let me know how can I achieve it.

  4. Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 28 Mar 2011 Link to this post

    Hello Sachin,

     In case NTFS symbolic links are not possible for you, you can always use the COM Interop approach. Please refer to the documentation of FileSystemObject here for more details.

    Kind regards,
    Yavor Georgiev
    the Telerik team
Back to Top