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

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Click Gallery Item to open PDF in PDF Viewer that is stored in DataVerse

(0) ShareShare
ReportReport
Posted on by

I have PDF's stored in a DataVerse File column.  I would like to be able to click on the File Name in a gallery and open the PDF in PDF Viewer.  I have watched every video I can find and I can't seem to figure out how to do this.  There is lots of info about viewing PDF's from SharePoint but I would prefer to keep the PDF in DataVerse.  Can anyone please help?

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: Click Gallery Item to open PDF in PDF Viewer that is stored in DataVerse

    Hi @Anonymous ,

     

    You could set Text property of label control in gallery to

    ThisItem.your file column name.FileName

     

    And set this label control 's onselect property to

    Set(Thevar,ThisItem.your file column name.Value)

     

    Add a PDF Viewer and set its Document property to:

    Thevar

     

    The result is as follows:

    AAA.gif

     

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

  • Community Power Platform Member Profile Picture
    on at
    Re: Click Gallery Item to open PDF in PDF Viewer that is stored in DataVerse

    Thank you! Works perfect!!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 652 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 410 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 236

Last 30 days Overall leaderboard