Skip to main content

Notifications

Community site session details

Community site session details

Session Id : /aAOKidVtYdMeho7Xk8Wcf
Power Apps - Building Power Apps
Answered

Auto scroll through gallery

Like (0) ShareShare
ReportReport
Posted on 19 Nov 2018 12:04:47 by 120

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

  • rho1967 Profile Picture
    141 on 13 Oct 2021 at 13:46:17
    Re: Auto scroll through gallery

    Good afternoon,

    Thanks for your nice solution. This one works perfectly.

    the only thing that bothers me is the sorting. For example, how can I sort a column "Title" before it puts everything on the screen?

    bye,
    Raymond van der Horst

  • datamaster Profile Picture
    250 on 26 Sep 2019 at 00:10:16
    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.

  • memsim1010 Profile Picture
    36 on 25 Sep 2019 at 13:49:59
    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?

  • TimtheHo Profile Picture
    19 on 27 Aug 2019 at 22:17:46
    Re: Auto scroll through gallery

    You are a god amoungst men

  • datamaster Profile Picture
    250 on 25 Aug 2019 at 02:01:30
    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 Profile Picture
    19 on 22 Aug 2019 at 07:25:01
    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 Profile Picture
    250 on 22 Aug 2019 at 02:38:30
    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 Profile Picture
    19 on 21 Aug 2019 at 20:34:49
    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

  • Verified answer
    datamaster Profile Picture
    250 on 04 Aug 2019 at 01:19:44
    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!

  • v-monli-msft Profile Picture
    on 21 Nov 2018 at 09:11:15
    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

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,658 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard
Loading started