Sharepoint - Controling Permissions on a Choice Field

Antonio Cuartas 21 Reputation points
2022-12-21T18:29:25.743+00:00

Hi,

I have a Sharepoint List where I need to allow just one person to edit a choice field.
Other people can change other fields on this list but should not change the choice field (they can only read its contents).
Sharepoint support says this is currently not possible using Sharepoint only but it is possible using some Javascript code.

How can I do that using Javascript??

Thanks in advance!!!

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | SharePoint | Development
0 comments No comments
{count} votes

Accepted answer
  1. AllenXu-MSFT 24,951 Reputation points Moderator
    2022-12-22T02:54:51.317+00:00

    Hi @Antonio Cuartas ,

    As per my knowledge and discussion with our team, we don't think it can be achieved OOTB or using custom JS code. SharePoint doesn't allow to set permission on a field-level. It is currently not supported. I would suggest you can provide your feedback here: https://feedbackportal.microsoft.com/feedback/, Microsoft would take your feedback into consideration if it is highly voted.

    ----------

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.