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

Gallery.Selected.Date lost after "OnSelect" on gallery item

Hello.

 

I had a wierd experience in PowerApps today. After selecting a gallery item, I use the "Gallery.Selected.Item" as input to a form on the next page.

 

The variable in Gallery.Selected.Item was lost after a few seconds each time. After refreshing powerapps, this problem has not been seen afterwards.

 

Anyone who tried this before?

 

Thanks in advance,

 

Daniel.

1 ACCEPTED SOLUTION

Accepted Solutions
Daniel_
Level: Powered On

Re: Gallery.Selected.Date lost after "OnSelect" on gallery item


@v-monli-msft wrote:

Hi @Daniel_ ,

 

Usually we use below formula for the Item property of the form control:

Gallery.Selected

Please try to use this formula instead and test again.

 

Regards,

Mona


Hello, I used that for all my gallerys in the app. However, when clicking quickly around the gallery this was not precise, as it sometimes lost the content. Instead I use SET(var,gallery.selected) as this is way more stable.

 

BR. Daniel

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Gallery.Selected.Date lost after "OnSelect" on gallery item

Hi @Daniel_ ,

 

Usually we use below formula for the Item property of the form control:

Gallery.Selected

Please try to use this formula instead and test again.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Daniel_
Level: Powered On

Re: Gallery.Selected.Date lost after "OnSelect" on gallery item


@v-monli-msft wrote:

Hi @Daniel_ ,

 

Usually we use below formula for the Item property of the form control:

Gallery.Selected

Please try to use this formula instead and test again.

 

Regards,

Mona


Hello, I used that for all my gallerys in the app. However, when clicking quickly around the gallery this was not precise, as it sometimes lost the content. Instead I use SET(var,gallery.selected) as this is way more stable.

 

BR. Daniel

View solution in original post

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,668)