Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Check if user is still editing the document

$
0
0

Hi, i have a UI5 application with JS views and I need to implement locking so that when a form is being edited by person, then no one else can open that form and start editing it parallel.

 

When a user enters a form it sets the field Locked = 'X' in the DB, when user leavers the form the it is set to Locked = '-'.


Now I want to set the Locked field to '-' when user either closed the browser or the application without leaving the form correctly. Can anyone suggest how to do that?


Viewing all articles
Browse latest Browse all 6178

Trending Articles