Showing posts with label Hide Explorer view. Show all posts
Showing posts with label Hide Explorer view. Show all posts

Friday, December 18, 2009

Restrict document library from uploading and opening in Explorer view

Are you trying to restrict sharepoint users from adding files to the sharepoint document library via, Upload document option and  using 'Drag and Drop' after opening in Explorer view.


You can acheive this by just adding some javascript codes to the page.


So heres how it can be done ...........

  • Open the document library where you want to restrict the upload and open in explorer view option.



  • Add a Content Editor Webpart to the page.



  • In the tool pane of the CEWP - Source Editor.- Add the below javacript codes.



  • Delete the explorer view of document library. 




   You are done with what you were looking for