cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

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
Highlighted
Resolver I
Resolver I

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. 

View solution in original post

Highlighted
Resolver II
Resolver II

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

View solution in original post

5 REPLIES 5
Highlighted
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).
Highlighted
Resolver I
Resolver I

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.

Highlighted
Resolver I
Resolver I

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. 

View solution in original post

Highlighted
Resolver II
Resolver II

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

View solution in original post

Highlighted
Resolver I
Resolver I

Re: Help with a filter Gallery

Thank you for the feedback!

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,948)