Presence and concurrency lock πŸ”’

Hi all,

We need to show when another user is viewing a certain object or editing in order to prevent concurrent editing.

It’s not that complicated, but is anyone aware of an existing package that would do this ?

Also, if not, is anyone interested in this, we could open source it once it works?

Have a nice day,
Samuel

I’d try to use increment and decrement operations to a control field in the object to do that. You can use live query to have real-time update on that at the client.

1 Like

I agree with the suggested custom solution. There are many different concurrency lock management concepts and rules, from write before read, single/multi-read, exclusivity aspects, etc. I think a built-in solution would have a hard time satisfying many.