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

Auto scroll through gallery

I currently have a gallery that displays one list item at a time to the user. They then have to Click on the navigation icon to the show the next item, and so on and so on.

 

Is there a way to (maybe using a timer) that if the user doesnt click through the items manually i can set it to automatically scroll through the items continously?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
datamaster
Level 8

Re: Auto scroll through gallery

Hi @BenGillard 

You can modify my tutorial below to accomplish exactly what you are looking for with some creativity. I have created a step by step tutorial on my blog. The post is here. https://officepoweruser.com/how-to-make-a-gallery-control-automatically-scroll-in-powerapps/

Animation showing you how the gallery control in PowerApps automatically scrolls!

 

Hope this helps!

View solution in original post

9 REPLIES 9
Community Support Team
Community Support Team

Re: Auto scroll through gallery

Hi @BenGillard,

 

By "scroll through gallery", if you mean that you want to scrolling bar to scroll automantically or navigate to the Details screen of different items one by one, then this cannot be achieved so far. As you cannot control scrolling bar automantically so far. And you cannot identify which item to show in the details form. 

 

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.
datamaster
Level 8

Re: Auto scroll through gallery

Hi @BenGillard 

You can modify my tutorial below to accomplish exactly what you are looking for with some creativity. I have created a step by step tutorial on my blog. The post is here. https://officepoweruser.com/how-to-make-a-gallery-control-automatically-scroll-in-powerapps/

Animation showing you how the gallery control in PowerApps automatically scrolls!

 

Hope this helps!

View solution in original post

Highlighted
TimtheHo
Level: Powered On

Re: Auto scroll through gallery

Hi there, i've followed your tutorial and it works a treat for instant switches. Is there any way to edit this to allow the gallery to slide i.e a carousel of photos

datamaster
Level 8

Re: Auto scroll through gallery

Hi @TimtheHo,

 

Yes you should be able to build off this. You could easily implement this in a horizontal gallery instead of vertical. Are you looking for something like below?  I put it togeher as proof of concept quickly. I could put a tutorial together on how to build something like this if you would like.
How-To-Build-a-PIcture-Carousel-in-PowerApps.gif 

TimtheHo
Level: Powered On

Re: Auto scroll through gallery

That would be fantastic thank you! I’m hoping that it is just a small bit of code that I’m missing, a formula for ‘shiftright, cover’ or somethng
datamaster
Level 8

Re: Auto scroll through gallery

Hi @TimtheHo  Here is the tutorial as promised. Hope it helps.

 how-to-create-a-picture-carousel-in-powerapps/How-To-Build-a-PIcture-Carousel-in-PowerApps

TimtheHo
Level: Powered On

Re: Auto scroll through gallery

You are a god amoungst men

memsim1010
Level: Powered On

Re: Auto scroll through gallery

Hey there @datamaster 

 

I hope you can help me.  I have a SharePoint list of employees and I'm building an employee spotlight.  I used your tutorial here: https://officepoweruser.com/how-to-make-a-gallery-control-automatically-scroll-in-powerapps/

However, I am using a horizontal gallery and, there is only one row per page.

Because of this, I am not able to sort by a date field as it always shows me the first rownumber item.  

 

I'm sure this is easy but, can you assist?

datamaster
Level 8

Re: Auto scroll through gallery

HI @memsim1010  are you loading the SharePoint list to a collection first then adding the column for row number. Also set the variable for how many records per page and the varible for how many pages.

This should work exactly the same for a horizontal gallery as a vertical gallery.

Helpful resources

Announcements
thirdimage

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

thirdimage

Power Apps 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

Top Solution Authors
Top Kudoed Authors
Users online (6,027)