Stop/Disable ability to see library in "Save As" dialog when saving MS Office documents.

已答覆 Stop/Disable ability to see library in "Save As" dialog when saving MS Office documents.

  • Thursday, April 19, 2012 4:15 PM
     
     

    Hello All,

    I have done a search on the forums, but I haven't been able to find an answer to this issue. When read-only visitors click a link for a MS office type document(xls,doc,ppt) they get the option to open or save the document. Most users will of course just hit "open". Once the document is open in Microsoft excel/word and the user hits "save as" they are able to view the document library via the save as dialog just like in the image below.

    This issue only happens if the user is using Internet Explorer and selects "open" after clicking the link.

    Is there an option or setting I can change in SharePoint to stop this from happening? What would be the effect of making the change? I would like the default save as location to be on the users local drive. 

    I think this may just be a permission issue, but I am not sure.

    Thanks in advance for any help.

    Save As Issue

All Replies

  • Thursday, April 19, 2012 4:24 PM
     
     
    There are very difficult ways to fix this if your a javascript developer. Office applications receive a "save as" url when the file is opening. It would be tough (but possible) to change and probably is not worth the effort. Sorry my short answer is no, but my longer answer is yes.

    Please mark my response as an answer if appropriate.
    Learn.SharePoint.com

  • Thursday, April 19, 2012 4:34 PM
     
     

    I completely understand. I honestly don't think it will be too confusing for users to navigate to a different folder on their computer. However, my business users really want this. If you know of a way to do this, difficult or easy, please let me know. Once I have an idea of the difficulty I can either execute or prove to my business users that proceeding on this issue is not worth it.

    Thanks for the feedback

  • Friday, April 20, 2012 7:46 AM
    Moderator
     
     Answered

    Hi AJW1988,

    If I understand correctly, you want the end-users to save documents to local location instead of SharePoint library. The documents are opened from a SharePoint library. If I have misunderstood, please don't hesitate to let me know.

    By default, SharePoint is WebDAV enabled(so that we can open a document library from Windows Explorer or save documents to Document libarary from client applications). The clients use the WebClient service to access the WebDAV and save files to a WebDAV shares.

    So, in this case, if we disable the WebClient service from the clients. While saving documents, they won't see SharePoint library anymore, instead, a local location is shown.
    But, if we disable the WebClient, the clients won't access SharePoint document libraries from Windows Explorer any more.

    Thanks,
    Jinchun Chen


    Jinchun Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff AT microsoft.com(Please replace AT with @)

    • Marked As Answer by AJW1988 Thursday, May 03, 2012 5:55 PM
    •  
  • Friday, April 20, 2012 7:58 AM
     
     
    As Jinchun has stated this is pretty much the behaviour of SharePoint, the only option without disabling Webdav is user education.  Of course if they're read-only visitors they wont be able to save back to the library and will have no choice but find an alternative location.

    Paul Turner http://redmanta.co.uk/blog Twitter: @RedMantaUK MCTS:WSS,MOSS,2010 MCITP:2010.
    Please remember to click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

  • Friday, April 20, 2012 2:09 PM
     
     

    There is a javascript call to open the document in the client application, something like OpenDocument(), OpenDocument passes the URL of the save location to the client(). You can use javascript gymnastics on the masterpage to change this behavior. Use a tool like IE Developer Toolbar to look at the javascript that fires when you click on the open or new document link.

    Again, this is probably not worth the effort.


    Please mark my response as an answer if appropriate.
    Learn.SharePoint.com

  • Friday, April 20, 2012 3:00 PM
     
     

    Hey guys, Thanks for the information.

    I also want to clarify a bit the environment I am working in. I am managing a custom themed SharePoint site being used as an Intranet portal. Normal site visitors never see the default list/library pages or anything on "View all site content". The list/library items in SharePoint is exposed to them via webparts. If I need a bit more interaction like having the user add/edit an item I use Spservices.

    My users are clicking on document ID links like /_layouts/DocIdRedir.aspx?ID=Doc-12-869 so I am not sure if the solution Lean.SharePoint.com suggested still applies.

    Please let me know if this new information changes any of your suggestions. Otherwise I'll try them and give feedback.

    Again, Thanks.

  • Monday, April 23, 2012 5:21 PM
     
     

    Anymore thoughts on this?

    Also, if I disable webdav doesn't that mean I cannot use SharePoint Designer?

  • Monday, April 23, 2012 8:49 PM
     
     
    Didnt like my answer?

    Please mark my response as an answer if appropriate.
    Learn.SharePoint.com

  • Tuesday, April 24, 2012 2:53 PM
     
      Has Code

    There is a javascript call to open the document in the client application, something like OpenDocument(), OpenDocument passes the URL of the save location to the client(). You can use javascript gymnastics on the masterpage to change this behavior. Use a tool like IE Developer Toolbar to look at the javascript that fires when you click on the open or new document link.

    Again, this is probably not worth the effort.


    Please mark my response as an answer if appropriate.
    Learn.SharePoint.com

    It's not that I don't like your answer, but it seems like your solution assumes the user is looking directly at the document library and has access to the ribbon. The users that I am having this issue with do not have access to view libraries directly and can not see the ribbon. A webpart on the page exposes plain document id links to the user to click on like:

    <a href="/_layouts/DocIdRedir.aspx?ID=Doc-12-869">2012 Benefits Doc</a>
    With the above in mind, I don't think I have the ability to modify a OpenDocument() js function. Docidredir.aspx is using server side code to get the user to the document correct?
  • Wednesday, April 25, 2012 2:13 PM
     
     

    Guys, 

    When you say disable "webdav or webclient" from the clients...Do you mean on all of the users' machines disable the "webclient" service?

    I disabled the webclient service on my machine and I was still able to see the SharePoint library in the save as dialog and view the library in explorer view...

    How exactly do I disable Webdav in SharePoint 2010? I can't find a plain tutorial about this anywhere. 

    Feedback appreciated!


    • Edited by AJW1988 Wednesday, April 25, 2012 2:34 PM
    •  
  • Tuesday, May 01, 2012 12:48 PM
     
     

    Guys, 

    When you say disable "webdav or webclient" from the clients...Do you mean on all of the users' machines disable the "webclient" service?

    I disabled the webclient service on my machine and I was still able to see the SharePoint library in the save as dialog and view the library in explorer view...

    How exactly do I disable Webdav in SharePoint 2010? I can't find a plain tutorial about this anywhere. 

    Feedback appreciated!


    Hello all,

    I am trying not to make a new thread. Can anyone answer my questions above?