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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PDF Viewer without flo...
Power Apps
Suggested Answer

PDF Viewer without flow, works for service account and Not working for user accounts

(1) ShareShare
ReportReport
Posted on by 2
Hi Fellow Developers,
 
I have a query for PDF viewer in PowerApps, that has setup without a flow.
 
I have been giving the document property to variable and its results, where variable has appress URL and encoding the list attachment URL as below:
 
Set(varPDFview,
"appres://datasources/RawDataExport/table/b04e01bb-2b6c-4847-ab3c-25eeedb18d24/rows/0/reference/https:%2F%2Funitedstates-002.azure-apim.net%2Fapim%2Fsharepointonline%2F000db961442b4af6bb0cc6ccc85feef7%2Fdatasets%2Fhttps%25253A%25252F%25252Fteam.effem.com%25252Fsites%25252FPlanogram_Dev%25252F%2FGetFileContentByPath%3Fpath=%252f" &EncodeUrl(First(GL_Dashboard.Selected.Attachments).AbsoluteUri)
);
 
However, Service account is able to view the content in PDF viewer irrespective of machine, as Docs are stored inside the Site Library only.
But User accounts are encountering couldn't open file error. Can anyone please suggest on the fix?

Much appreciated, Thanks!
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
    Hi
     
    I do not see any details relative to how the users attempt to see the document, I simply see some variable
     
    Please provide all the details and steps prior to the creation of the PDF, how it gets stored, by whom created it etc.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard