cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TimDemma
Helper II
Helper II

Using Text Input Field to search Gallery and populate Edit Form

Hello PowerApps wizards,

 

I am trying to use a Text Input field (TextInput4 / Green Box) to filter a Gallery that is tied to an Excel sheet (Table1 / Blue Box) - (successfully did this) but now I'd like to be able to click on the arrow next to the users name that I searched for and populate an Edit Form (Salmon box) in order to update or delete certain data found in the row of the Excel sheet that the I am referring to in the Gallery. (hopefully that makes sense).

 

 

TimDemma_0-1650573388390.png

I'm thinking the arrow in the gallery can set a variable for an ID in order for the Edit Form to look for that ID to locate the row of data I am looking for to fill in the form items. But seem to be struggling. 

 

HELP! 🙂 

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@TimDemma 

On the OnSelect action of your arrow icon, put the following formula:

Set(glbCurrentRecord, ThisItem)

 

Then change the Item property of your form to: glbCurrentRecord

 

Also, from what I see in the picture, you need to connect your form to the datasource.

 

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.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
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

3 REPLIES 3
RandyHayes
Super User
Super User

@TimDemma 

On the OnSelect action of your arrow icon, put the following formula:

Set(glbCurrentRecord, ThisItem)

 

Then change the Item property of your form to: glbCurrentRecord

 

Also, from what I see in the picture, you need to connect your form to the datasource.

 

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.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

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

Thanks Randy! That worked beautifully! 

RandyHayes
Super User
Super User

@TimDemma 

Excellent!!

_____________________________________________________________________________________
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.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

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

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,272)