Loading...

How to avoid concurrent updates for an item using Qlistform?

How to avoid concurrent updates for an item using Qlistform?

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #4370
      Anonymous
      Anonymous
      Participant

      Hi All,

      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.

      Thanks!

    • #5275
      Anonymous
      Anonymous
      Participant

      Hi Arukk,

        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.

Viewing 1 reply thread

You must be logged in to reply to this topic.