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
Unanswered

Unable to view PDF document using PDF Doc Viewer in PowerApps

(0) ShareShare
ReportReport
Posted on by 134
Hi,
 
Because of a CORS error (I think), I am not able to view a pdf document using the PDF Doc Viewer in PowerApps.
 
I have tried to create a PowerAutomate flow, according to SP Guides and Michael Devaney, but this does not work.  Any assistance would be appreciated.
 
The flow is as follows.
 
In PowerApps, the On Select Properties of the gallery are
Set(varDocumentCurrent,  GetDataURI.Run(galDocViewer.Selected.Identifier).result)
I also tried - Set(varDocumentCurrent,  GetDataURI.Run(galDocViewer.Selected.Name).result)
I also tried to 'Get File Properties' but this does not work either.
 
Document in the PowerApps viewer is set to varDocumentCurrent.
 
Does anyone have any idea on how to view a PDF document in PowerApps?  
 
Regards
 
 
Rene Voller
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

Coming soon: forum hierarchy changes

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

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 716 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 317 Super User 2025 Season 2

#3
SebS Profile Picture

SebS 236 Moderator

Last 30 days Overall leaderboard