Project Description

This solution is used to limit the number of items in a SharePoint List or library.
It consists in :
- 2 applications pages : error page and a setting page
- a custom action that registers a link in all list settings pages to configurer the list limiter
- an event receiver that check the number of items in a list
- a user control that is registered in additional page head to handle the SP.UI.Status messages for the end user.

Once you installed the solution and activated the feature (which is web scoped), you'll have access to a new menu in all list settings :
ListSettingPage.png

Clicking this new link will give you access to a page where you can set a limit and status message for your list :
LimitSetting.png

Once activated, a status message will be displayed at the top of your list :
blue.png
yellow.png
red.png

If you reach the limit, an error message is displayed to the user :
errorpage.png

Last edited Dec 17, 2013 at 10:23 AM by kirikou974, version 3