Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Is it possible to capture the itemdeleting event of the deletion by Expiration Policy?

$
0
0

I'm wondering whether it is possible to capture the itemdeleting event of the deletion by Expiration Policy.

I did an Information Management Policy Setting on Library Setting page and set the "Enable Retention" as "Move to Recycle Bin" after 1 day created.

And I wrote a piece of code in event receiver (itemdeleting) to make a log into DB.

It works fine when a user manually delete a document in library but without trigger when Expiration Policy executed. (Document had been deleted without log different from manually deletion).

Is there any configurable items about this issue?

Beg your help, thanks!


Viewing all articles
Browse latest Browse all 17574

Trending Articles



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