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

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 8

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

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

View solution in original post

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 8

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 8

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

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

View solution in original post

Veronica
Level 8

Re: Help with a filter Gallery

Thank you for the feedback!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (7,794)