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 / PDF Viewer display fro...
Power Apps
Answered

PDF Viewer display from multiple galleries

(0) ShareShare
ReportReport
Posted on by 1,512

@RezaDorrani 

I recently watch this video that displays a PDF with out using flow, I got it working, however I have multiple galleries that are pulling in the different pdfs how can I get this to just use one PDF viewer instead of 9

 

 

Dorinda_0-1622059449311.png

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Dorinda ,

     

    You could use this formula on every gallery contorl's onselect propertu:

    Set(Thevar,your gallery name. Selected.'File name with extension')

     

    Then you could use Thevar instead of 

    v-xiaochen-msft_0-1622167138347.png

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

  • Verified answer
    Dorinda Profile Picture
    1,512 on at

    @v-xiaochen-msft I dont see how that works 9+ different galleries into one PDF viewer? The code that was in the original post is set on the PDF viewer.  I am not sure how to set the rest of the formula to use the var from each of the 9 galleries.  

  • Verified answer
    Dorinda Profile Picture
    1,512 on at

    I went a different route to get this to work.

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 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard