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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,645)