Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Open in explorer view VS event receivers

$
0
0

Hi,

here is the thing:

1) I'm requested to create a document library with a predefined folder structure

2) Add a button to the ribbon, after clicking on it a predefined folder structure(with files that were created later) should be copied to an another document library

The thing is, that I am supposed to disable any user influence on the folder structrure(rename/move etc.). No problem when working with the browser, done it with event receivers. However after using the open in explorer view button the only event that is working and can be blocked is "ItemDeleting" event. The others, ItemUpdating are not working. I have figured out that I can overcome the ItemUpdating event by adding a custom hidden column with the name I'll later look for. The only problem now is, how can I overcome the folder moving thing?

Or maybe I am doing something wrong and the event should be working?

Thanks in advance!


Viewing all articles
Browse latest Browse all 7589

Trending Articles



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