cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Veronica
Level: Powered On

Help with a filter Gallery

I have a Gallery that I filter by firstname.  Once bring me the record I want to see the detail info through the > icon but brings me another record. Actually, always brings me the same record, never the one is suppose to.

 

I upload the screens.

 

I am using SQL in Azure database.

 

Any help will be appreciate.

 

Verónica

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Veronica
Level: Powered On

Re: Help with a filter Gallery

I think I know.  Going over your message I noticed that I am recycling the detail form invoking it from two different galleries. 

prajyot
Level 8

Re: Help with a filter Gallery

You should pass the selected item using ThisItem

Fetch all the fields on DetailScreen1 as displayItem.FirstName

Navigate(DetailScreen1, ScreenTransition.None, {displayItem: ThisItem})

 

 

Thanks

5 REPLIES 5
Super User
Super User

Re: Help with a filter Gallery

On the details form that you navigate to, the datasource property of the form should be the same Sql table as the galley you came from. The Item property of the form should be Gallery1.Selected (replace Gallery1 with the actual name of your gallery).
Veronica
Level: Powered On

Re: Help with a filter Gallery

Thanks very much for you time.

 

The table  of the Detail form is tha same table of the Gallery from where I invoke the Detail once the Gallery is filter by the text value

 

Verónica.

Veronica
Level: Powered On

Re: Help with a filter Gallery

I think I know.  Going over your message I noticed that I am recycling the detail form invoking it from two different galleries. 

prajyot
Level 8

Re: Help with a filter Gallery

You should pass the selected item using ThisItem

Fetch all the fields on DetailScreen1 as displayItem.FirstName

Navigate(DetailScreen1, ScreenTransition.None, {displayItem: ThisItem})

 

 

Thanks

Veronica
Level: Powered On

Re: Help with a filter Gallery

Thank you for the feedback!

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 174 members 4,739 guests
Please welcome our newest community members: