web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Best way to...

(0) ShareShare
ReportReport
Posted on by 1,088

I have a SharePoint List with a number field.

I have a gallery in an App tied to that SharePoint list with the number field.

I have a button in the gallery item.

 

I would like when someone presses the button in that gallery item, that the number field instantly increments the SharePoint List and that change is instantly visible in the gallery item.

 

Is the best way to do this:

  1. Connect the Gallery directly to the list rather than a Collection
  2. OnSelect of the button in the gallery item, increment the current number field by 1 (I don't want the individual to increment by more than 1)
  3. Patch the list
  4. Do a Refresh of the list

 

Or is there a better way?

 

Basically, multiple people could have this app open at the same time and I would like the changes to be reflected across them.  I also want the user to see that their increment took place so they don't keep pressing the button.

 

Thanks,

Terry

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,686 Most Valuable Professional on at

    Hi @Mattw112IG ,

    Some of your 4 options go together.

    Firstly, connecting the (Filtered) gallery directly to the list should reflect changes, however I have never tested this with another user.

    The problem with the refresh is that all users would need to constantly do this, which is impractical. Patching is probably to best way to update (with the incremented number).

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • WarrenBelz Profile Picture
    155,686 Most Valuable Professional on at

    Hi @Mattw112IG ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 463

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
11manish Profile Picture

11manish 275

Last 30 days Overall leaderboard