Forum Discussion
rmgarcia
May 09, 2022Copper Contributor
Lock file NOT office in sharepoint
Hi,
I have a SharePoint 2016 On-Premise, (V. 16.0.10337.12109).
With files not Office, we want to when an user open file SharePoint lock this file for other user edit this file. And when user closes that file, unlock automatic.
It's possible?
Thanks an advanced
Pd.- I try HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\SupportLocking and Doesn't work.
- Maggan_WBrass Contributorrmgarcia, you can create an Event Receiver in .NET: https://docs.microsoft.com/en-us/visualstudio/sharepoint/how-to-create-an-event-receiver?view=vs-2022
- rmgarciaCopper ContributorHi,
thanks for your reply.
Interesting, I find more information.
Best regards