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 Platform Community / Forums / Power Apps / Patch/Update records i...
Power Apps
Answered

Patch/Update records in SP list made available in combobox

(0) ShareShare
ReportReport
Posted on by 53

Hi,

 

Looking for some help to check if the approach I'm using is ok and some help with the implementation would also be appreciated.

 

On a screen of my app, the form references items from 1 SharePoint list called Test Requests.

An admin uses this screen to assign requests to someone of the team. Depending on the requested test, a certain amount of numbers need to be assigned to a request. I use a combobox to present these to the admin:

 

f6b8e2b1-9b91-4056-a992-93250fd47fde.png

 

These T-Numbers come from a different SharePoint list:

TnrsList.PNG

 

The admin can select a certain amount of nrs to link to the request.

These I display in a Gallery, for "user friendliness", they can easily remove certain nrs from there as well, easier then via the combobox:

TnrsGAL.png

What I'm struggling with is to Patch/Update the selected nrs in their SP list and set their status to "Reserved". It always results in new identical numbers being added to the list.

I try to achieve this via a "Reserve" button:

TnrsReseveButton.png

This is the full content of my DataCard:

T_NumberDataCard.png

All help, really appreciated!

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @jimmydebie ,

     

    Please try below formula:

    ForAll(Gallery3.AllItems As GA, Patch(TNumbers, LookUp(TNumbers, Title = GA.Title),{Status:{Value:"Reserved"}}))

     

    Best regards,

  • jimmydebie Profile Picture
    53 on at

    @v-jefferni 

    Thank you! This solved my quest.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard