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

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

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 57 members 4,165 guests
Please welcome our newest community members: