web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Creating a Next Arrow ...
Power Apps
Unanswered

Creating a Next Arrow to Go to the Next Listing in a Gallery

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I'm trying to make a next arrow for my gallery that displays PDFs in a PDF viewer. My vision is to be able to click the next arrow and automatically move on to the next PDF in the gallery. I have included a screenshot of my set up below.

 

Also, here is the command I am using to display PDFs:

 

UpdateContext({varPDF:RenderPDFFileData.Run(Substitute(Substitute(PDFSelector.Selected.'Link to item',"%20",""),PDFSelector.Selected.'Full Path',Blank()),PDFSelector.Selected.'Full Path')})+UpdateContext({PlanSelect: true })

 

It's on the OnSelect function of the forward arrows in the gallery^

 

Any ideas? Thanks.

Screen Shot 2021-07-01 at 11.01.02 AM.png
Categories:
  • C-Papa Profile Picture
    1,836 on at

    Hi, if you add a column to your gallery or collection, using the AddColumns function, you can add a number order to your items. you can then set the value to CountRows([Gallery/collectionname])+1. this will give each of your rows a number in order. you can the use a lookup() function to move to the next pdf using the current selected row + 1. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I can't get this to work because I am also trying to display my items in a PDF viewer. Also, the number for all of my items is 2.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard