cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Daniel_
Frequent Visitor

Gallery item selection is not working

Hello.

 

I'm constantly experiencing issues wih a gallery.

 

I made a simple gallery, once an item is selected it is navigated to another site.

 

Here I added a label with Gallery.Selected.Field - this turns out to be wrong 50% of the times when I randomly click a gallery item. I've seen this is a common erorr on the forums, anyone who has a fix for this?

 

 

2 REPLIES 2
Pstork1
Dual Super User III
Dual Super User III

Are you clicking on the gallery item itself or a field/card within the gallery item?  Since each gallery item consists of multiple fields its difficult to make sure what you are clicking on.  That'sone of the reasons why all the MS examples include a specific ICON that is used to select the item and navigate to the next form.  Which control or controls are you adding your onSelect formula to?



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Daniel_
Frequent Visitor


@Pstork1 wrote:

Are you clicking on the gallery item itself or a field/card within the gallery item?  Since each gallery item consists of multiple fields its difficult to make sure what you are clicking on.  That'sone of the reasons why all the MS examples include a specific ICON that is used to select the item and navigate to the next form.  Which control or controls are you adding your onSelect formula to?


Hello, I am using an arrow as icon. I fixed this by setting a global variable, once clicking on one item and use the variable on the next page.

 

But still a wierd error, you can't count on "Gallery.Selected" to be precise.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,726)