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 / View PDFs in Canvas Ap...
Power Apps
Answered

View PDFs in Canvas Apps for Dataverse records

(0) ShareShare
ReportReport
Posted on by 31

Hi Community, 

 

I am currently trying to create a Canvas App containing a simple gallery and the PDF Viewer control, using Dataverse as my datasource.

 

When I select a Dataverse record from the gallery I would like to display the first attachment stored on that record.

 

So far I have created the expression below, but it only fetches the first attachment for the FIRST record in the gallery:

 

First(First(MyDatasource).Attachments).Value

 

Does anyone know how the expression can be modified to fetch attachment based on the selected record?

 

 

Additional: I am storing the attachment on the Note table on the Timeline.

 

 

Thanks in advance!

Categories:
I have the same question (0)
  • Verified answer
    joakimgg Profile Picture
    31 on at

    Discard the above, I solved it 🙂

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 96 Super User 2026 Season 1

Last 30 days Overall leaderboard