The Okwera Blog

22 Nov, 2009

Restricting view access on a list and Alerts

Posted by: Kat In: SharePoint

This is a quick and dirty tip, but I thought it would be good to share. It’s quite common to set up a list so that users can only view and edit items that they add. I’ve always used this when I have a sort of “ticketing” system. I want everyone to be able to add new items, and to see what their additions are – but I don’t want them viewing anyone else’s submissions.

Item Level Read and Edit Access

Item Level Read and Edit Access

In case you don’t know how to do this :

Go to List Settings –> Advanced Settings

Scroll down to the Item Level Permissions section

Under Read Access Specify only their own

Under Edit Access select only their own .

Voila! Now users can only see and modify what they have seen.

Here’s the catch though. You can’t use alerts on a list that has these item level permissions. If a user tries to set an alert on the list – you will receive the following error message :

You cannot create alerts for lists for which users can only read their own items.   at Microsoft.SharePoint.ApplicationPages.SubNewPage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

So just be aware – if you set item level read restrictions on a sharepoint list – you lose the ability to use alerts. I haven’t tested this to see if a custom workflow will work – but I believe you can have the email alerts with a custom workflow..

No Responses to "Restricting view access on a list and Alerts"

Comment Form

About

This blog is the official blog of Nkateko Okwera and Peter Okwera. This blog is a combination of our thoughts on trips, vacations, photography, gadgets, programming, SharePoint, and other stuff we consider interesting and would like to share. Thanks for visiting and enjoy the site.