Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have searched for the best desired method for creating a read only column in a custom data list but I couldn't find anything solid in regards to the all view. My goal is to be the only one allowed to edit the list in any view possible. My search resulted in this but I do not know if this is the best solution for what I am wanting. Is this something on a permissions level?

share|improve this question
    
Programmatically create the view. Override functions so that if current user = your account do 1 thing else do another –  user13186 Feb 21 '13 at 19:58
add comment

1 Answer

I think there is not the best solution. It depends on your requirements for security. If you need only hide field for edit on forms it is one way. If you want to prevent pro grammatical changes of this field, it is another way.

A can suggest following:

  • Less secure is JavaScript, just hide or disable field on client side
  • Another way to customize input forms with SharePoint Designer, you can create two forms, one for yourself with target field and custom redirection control, something like, if user is not a member of specific group, redirect to other page. Second form for others, just don't add your field on form, but you can add it to list view, so users will see the field in the list view.
  • Event receiver way, as described in discussion from your link, more secure, but less user friendly.
  • As I think, most secure and friendly way is combination of Event Receiver and JavaScript. You can make field read only field with JavaScript according to specific SharePoint group. You can detect group with ajax call SPServices and disable field only for specific users. To make your solution more secure you can write event receiver to check if everything fine on the server side.
  • The last way, but maybe the easiest way is to use third part tools, like Forms Designer or it's analogues.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.