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

Gallery select issue

Hi all,

 

I am having an issue with gallery selected items and forms:

  • Usually when I pick the item in the gallery it navigates to the next screen and shows the item in a display form.
  • The gallery is filtered by a variable so that only people of a certain status are showing.
  • When people of some statuses are selected, the navigate works as usual, but the form shows the data for a second before showing 'No items to display'. So it appears to pick it up, but then stop displaying it.
    • The error seems to stop when the 'all people' status is selected (which makes the variable blank) - and it also works for some rather than others.

I was thinking of trying to change the current set up so that the people gallery is filtered by a drop down, rather than the current buttons-attached-to-variables situation, however I was wondering if anyone could think why it is not working currently?

 

I haven't posted screen shots as there is personal data in it.

 

Any suggestions would be appreciated.

 

Thanks,

Sam

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Gallery select issue

Hi @SamGibbs ,

Please consider save the selected item from your gallery into a variable, and then bind the Item property of the Display form to the variable:

Set the OnSelect property of the Gallery or the ">" icon to following:

Set(CurrentItem, ThisItem);
Navigate(ViewScreen1)

 

Set the Item property of the Display form to following:

CurrentItem

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Gallery select issue

Hi @SamGibbs ,

Please consider save the selected item from your gallery into a variable, and then bind the Item property of the Display form to the variable:

Set the OnSelect property of the Gallery or the ">" icon to following:

Set(CurrentItem, ThisItem);
Navigate(ViewScreen1)

 

Set the Item property of the Display form to following:

CurrentItem

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Helper II
Helper II

Re: Gallery select issue

Thanks, that works perfectly.

 

Would it be worth clearing the global variable when returning to the slection screen or is it not worth it?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

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