Skip to main content

Notifications

Power Apps - Building Power Apps
Suggested answer

Submit Form NOT recognizing version conflict in SP

Posted on by
Hello,
 
Having an issue that I can't find an answer for.    I have an app that uses SubmitForm to a SharePoint list and sometimes multiple people are sending updates to the same record.  Here are the steps taken:
 
  1.   User A loads a record in the app
  2.   User B loads a record in the app and saves changes before User A
  3.   User A has stagnant data in the form so some fields that User B filled in, are blank in User A's form, so when submitting, those fields end up blank, wiping out the updates made by User A
  4.   User A does NOT receive the expected error message of conflicts exist with changes on the server, please reload  
The key part here is why does User A not get an error message on the conflict?   Any ideas?
 
I'd actually prefer to get the error message.  I could experiment with a refresh prior to submit and see if that wipes out the form updates or not but I find it odd that the error message isn't triggering.
 
Thanks!
  • Suggested answer
    SaiRT14 Profile Picture
    SaiRT14 1,334 on at
    Submit Form NOT recognizing version conflict in SP
    This issue arises because Power Apps' SubmitForm function does not handle concurrency conflicts in SharePoint natively as you would expect. Instead, it overwrites the existing record on SharePoint with the data currently present in the form, even if that data is stale or has been modified by another user. Here's how to address the problem:
     
    pls try the following to fix:
    Navigate to your SharePoint list. Click Settings > List Settings. Under Columns, ensure that the Versioning Settings are enabled. In Power Apps, make sure the Version field is included in the form.
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,591

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,090

Leaderboard