- This topic is empty.
10/04/2012 at 8:26 am #4370
I would like to know how to avoid concurrent updates for an item using Qlistform. I am currently working on QWP version 5.7 and SharePoint 2010.
10/04/2012 at 8:26 am #5275
You can implement a mechanism that would prevent concurrent updates by doing the following:
– use a custom action for form Initialization Action and store the list item Modified field in a session variable
– use a custom action and create a custom save that would perform the actions:
1. Validation of the record (get the actual Modified field value and compare with the value stored in the session). If they have the same value then is safe to update otherwise warn the user and cancel the save action
2. Save the value if the above step says so
Please check the documentation (section Custom Actions and qListForm Form Initialization Actions and Custom Actions).
If you have any questions please let me know.
You must be logged in to reply to this topic.