Currently, when a document is open in SharePoint, and you try to change or modify its properties/metadata, it doesn't allow it and it reverts to the original value. However, this scenario is bad for the overall UX since the user doesn't realize this issue is due to the document being opened. How can I display a message to alert the user that the document needs to be closed first?

PS. I've checked the console and it throws a 423 error on POST but nothing really shows up on the frontend.

1 Answer 1


As far as I know, when you change the metadata of an opened document in the details panel, there is no OOB way to set an alert.

As a workaround, we can edit in the grid view or click Edit all in the details panel, both of which will prevent you from saving changes and pop up a reminder message:

enter image description here enter image description here enter image description here

Your Answer

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

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