[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SharePoint custom development

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

865 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