Link to home
Start Free TrialLog in
Avatar of Techsavy
Techsavy

asked on

SharePoint custom development

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
Avatar of colly92002
colly92002
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
Avatar of Techsavy
Techsavy

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of colly92002
colly92002
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial