Prevent multiple users from editing the same list item at the same time


Is there a way to only allow one user to edit a list item at a time? If current list item is already open for edit can we alert the user that the current item can't be edited as it's currently being edited by the current_editing_user?


Hello @stormanh,

There is no way to achieve this out of the box, only using custom code.

For instance, you can save the login of the current user and the current time into a separate field with PNPjs and check this field on opening the form. If the field has been changed recently and the login name does not match the current user, then display a conflicting message.

If you need help with the code, we can offer you paid support.

1 Like