Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SharePoint custom development

Posted on 2013-05-15
3
Medium Priority
?
186 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

609 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