7032 days on xHamster
34818M profile views
23612K subscribers
66985 comments left

Itemupdating properties

In Share Point 2010 new improvements are made for better event receiving management.

Few new event handlers are added for site, web, list, listitems etc.

However, One thing that I think badly needed was the content approval events for list items.

Nowadays content approval has become an integral part of content management system.

Requirements has come up to do more work on content approval/reject.

But unfortunately, Share Point list/library doesn’t have events like Content Approved, Content Rejected, Content Requested For Review so that user can tap the events to do their own work on content approval status changes.

So it seems we need to do a lot of works manually to send notifications on content approval status changes.

One of my client wanted to get notification on the following scenarios: 1.

But the Share Point Object Model doesn’t have the extensibility at this point where approving status changes.

The best solution would be if Share Point team would provide us with out-of-box events for content approval. The events might be : Content Approving Status Changing and Content Approving Status Changed and the event argument’s After Properties and Before Properties values could be filled with the the old value and new value of Content Approving Status field value.

However, one may argue that Item Added/Item Update events are similar like Content Approval events. maybe there’s complexities with the new content approval events and Share Point team has not added the new content approval events.

So when user add/edit an item and as part of the add/edit if approval status field get updated then which events to fire? So consider now the problem we’re going to talk about.

We need a notification system where we need to send notification to the approver or user (who is waiting for approval) on approval status change.

We’ll develop a list item event receiver for Item Added and Item Updated events.

Please or register to post comments
If spammers comment on your content, only you can see and manage such comments Delete all

Itemupdating properties introduction

Itemupdating properties