Skip to main content

Notifications

Power Automate - General Discussion
Answered

PDF Viewer - HTTP Request not working

(0) ShareShare
ReportReport
Posted on by 53

Hi all, 

 

We are building a Power app in which we need to show a PDF using a PDF Viewer. To do this, I'm building a Flow as follows; 

 

Screenshot_6.png

 

This used to work a couple of months ago but now, in the Initialize Variable step, I can no longer set the expression to 

 

trigger()['outputs']['queries']['path']

 

as I get the below error: 

Screenshot_7.png

 

does this mean that trigger()['outputs']['queries']['path'] cannot be used anymore? What are the other possibilities in this case? 

 

Thanks in advance. 

  • Ellis Karim Profile Picture
    Ellis Karim 10,547 on at
    Re: PDF Viewer - HTTP Request not working

    Can you paste what is in: trigger()['outputs']?

    You are creating an API that fetches a PDF document stored in OneDrive, and return it to Power Apps?

    Ellis

  • Verified answer
    yabela Profile Picture
    yabela 53 on at
    Re: PDF Viewer - HTTP Request not working

    posted too soon 🙈 - sorted as follows: trigger()['outputs']['queries']['itemid']

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard