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 Platform Community / Forums / Power Apps / Click Gallery Item to ...
Power Apps
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard