First published on TECHNET on Aug 01, 2012
This post is a contribution from Bharat Rathod, an engineer with the SharePoint Developer Support team.
By default, SharePoint 2010 allows you to add multiple items in the calendar for the same date and time. Below screenshot shows that Meeting1 and Meeting2 occur at the same date and time for the same user.
In real world scenario, we do not let a user have multiple entries of meetings at the same date and time. For example, Outlook warns the user of the clashes of the meeting that occur at the same date and time.
Here’s a sample feature that will prevent this from occurring in your Calendar list.
The Feature.xml file
The Elements.xml file
And the complete code file
Below are the source code and the feature file samples for your reference.
Feature: DoubleMeeting Feature
Sample source code: DoubleMeetingSource
Hope this post was helpful!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.