Solved

SharePoint custom development

Posted on 2013-05-15
3
141 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
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now