Quantcast
Channel: SharePoint 2013 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 26374

How to prevent user to use explorer view in form library

$
0
0

Hello,

I have Sharepoint Form Library using InfoPath form.
Inside there are some fields to fill, some rules to be applied etc, and then to submit data.
Nothing too fancy. Then i have event receivers attached to my form library that are doing some task on events like item adding/deleting etc. Everything works fine.

What i would like to do is disable explorer view so users wont be able to reach form library and directly
either insert new or update existing file causing all the infopath logic prior submiting to fail.
By disabling explorer view i dont mean simply removing/grey-out button inside ribbon, but preventing user to do anything using
explorer view. Now i know i can disable WebDav but that is not an option for me.
So to summarize it, final goal is to prevent user to insert/update item using explorer view.

My idea of achieving this is some kind of trick with event receivers.
For example, in item adding/updating, check if file is coming after InfoPath submit and then canceling event if needed.

Is there some general guide how to solve this problem? I guess it is common task to prevent users for doing anything through explorer view

Thank you in advance
Milos


Viewing all articles
Browse latest Browse all 26374

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>