cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HarishNayak
Helper I
Helper I

Power Apps multi user behaviour

Hi All,

 

I have built a power app linked to a sharepoint for users to add and update items from a sharepoint list. Since this app will be used by multiple users there is a possibility same item can be edited by multiple users. How will power app react to this. When i tested this there was no error and only update from one user got updated. The second user did not get any error message about the item being edited by another user.... is there a way to do this so other users know the item is being edited

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@HarishNayak 

If two (or more) users are editing a record, the first to submit will be accepted.  After that, the other users will have an ETAG mismatch.  This means that the record has been altered since the time it was read into the session table (datasource) of the app.  

Depending on how you are updating the record, you may or may not get an error.  If you are using an EditForm to submit the record, it will usually indicate the mismatch error.  At that point, you can Revert the record from the datasource and choose to submit again.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

2 REPLIES 2
RandyHayes
Super User
Super User

@HarishNayak 

If two (or more) users are editing a record, the first to submit will be accepted.  After that, the other users will have an ETAG mismatch.  This means that the record has been altered since the time it was read into the session table (datasource) of the app.  

Depending on how you are updating the record, you may or may not get an error.  If you are using an EditForm to submit the record, it will usually indicate the mismatch error.  At that point, you can Revert the record from the datasource and choose to submit again.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

@RandyHayes  thanks for your reply.

 

I am using the Edit form and have created a save button. I tested with an item and asked other user to edit and save while i had the item in edit mode. When i saved the form, did not notice any error message and it did not save what i updated. I am looking for the error message else since no error message is showing user might think the update got saved.   

 

Not sure if i need to enable some setting or something. 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,217)