0

I have content approval enabled in a custom list. Because of this, if a user userA(with Edit/contribute permission) edits the item and it is pending for approval , another user userB(with Edit/contribute permission) will not be able to edit the same item. This restriction is enforced only when userB makes all changes in edit form and hits save button. Is there any way of notifying userB that the selected item cannot be edited on form load itself?

I am looking for a internal column similar to "Moderation Status" using which I could determine if the list item can be edited by the current user or not.

1 Answer 1

0

I have been asked for a limit on Sharepoint list entry. I used the below code to hide the form. This displas a message and hides the form so that users wont be able to edit the item until certain status is changed.

For getting the status of a column use rest ajax call and add a condition.

https://sharepoint.stackexchange.com/a/150727/70872

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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