Forum Discussion
Issue with coauthoring in pages - The file (SharePoint Page) is locked for shared use by "User"
We have a custom SPFx web part added to our SharePoint pages. When users enter the required information and click on 'Save as draft' or 'Submit for approval' (with Power Automate enabled for the approval process), the information should save to the respective columns (page properties) in Site Pages, using REST API for data storage. Until yesterday, it worked fine, but since the rollout of coauthoring on site pages, we are encountering an error: "The file (SharePoint Page) is locked for shared use by 'User'," even though the user encountering the error is the one who edited the page.
1 Reply
- michalkornetIron Contributor
Hi Prasanna7293, I am not sure if this information will help in your case because as I saw in the error message you have already used validateUpdateListItem, but in this blog post, the author mentioned that she used validateUpdateListItem to overcome this error. (I guess that refers to a different case than co-authoring a page). https://reshmeeauckloo.com/posts/powerautomate-options-to-get-round-locked-files/