Solved

SharePoint custom development

Posted on 2013-05-15
3
172 Views
Last Modified: 2013-06-11
Hi,

I have a requirement where I need to make a list Item read only after status field value= 'Complete'. I am thinking of writing an event handler to do this as setting item level permissions is not something that I am looking into.

Can anyone help how to achieve this?

Thanks
0
Comment
Question by:Techsavy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 15

Expert Comment

by:colly92002
ID: 39169724
Creating an event handler is no problem if you skilled with .net and have Visual Studio - there are plenty of walkthroughs on the net that will tell you how to do this.  You could also easily achive this process using a workflow.  Sharepoint Designer will let you do it without code.

Your problem will be making an item "read only" - I would suggest you use "in place records management" and declare the item a record.  You can do this in code or in a workflow.
0
 

Author Comment

by:Techsavy
ID: 39170140
Declaring an item as a record works only with document libraries.  SharePoint designer workflow can set list item permissions but it cannot set an item read only.  I am still looking for code help with itemupdating event.

thanks
0
 
LVL 15

Accepted Solution

by:
colly92002 earned 500 total points
ID: 39170904
There is a discussion of this problem and some suggested solutions here:
http://stackoverflow.com/questions/3938888/how-do-i-make-a-list-item-read-only
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question