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 / How to display the con...
Power Apps
Unanswered

How to display the content of a link in PDF Viewer Control ?

(0) ShareShare
ReportReport
Posted on by 496

Hello everyone,

 

I hope all is well,

 

My problem:

I am trying to display the content of a link (which could be an excel, word, or any file) in a PDF Viewer control in power apps.

I'm fetching this link from Azure Blob.

 

The link format:

Roberto_el_Hajj_0-1666686031695.png

 

What I used:

I used the formula below to substitute the extension at the end of the link.

If( EndsWith(Employee_attachements_gallery_1_ED.Selected.'File URL', ".pdf"),
Employee_attachements_gallery_1_ED.Selected.'File URL',
 Substitute( Employee_attachements_gallery_1_ED.Selected.'File URL',
 ".docx",
 ".pdf"
 )
)

 

Any help would be highly appreciated,

 

Thanks in advance 😁.

Categories:
I have the same question (0)

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard