cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

File Stream and PDF

I have a couple questions regarding file streams and PDF using PowerApps:

Is it possible to send file stream to REST API to create a PDF and receive the file back in PowerApps?

Is there a way to save from PDF Viewer Controller?

 

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: File Stream and PDF

HI @jc6215 ,

Could you please share a bit more about your scenario?

How do you display the PDF file content within your app? Using PDF Viewer Control?

 

For your first question, do you want to send file stream to REST API to create a PDF and receive the file back in PowerApps? Do you want to receive the PDF File content or PDF File URL back in your app?

Please check and see if the following video would help in your cenario:

https://www.youtube.com/watch?v=s3PC7tqqoI4

If you want to send file stream to REST API to create a PDF and receive the file back in PowerApps, I think the combination of Microsoft Flow and PowerApps could achieve your needs.

On your side, you could consider trigger a flow from your app, then within your app, send file stream to REST API using "HTTP" action in Microsoft Flow to create a PDF, then add a "Respond to PowerApps" action or "Request - Response" action to save the generated PDF file content back to your app.

More details about starting a flow from an app, please check the following article:

Start a flow from an app

Please also check the following videos for help:

https://www.youtube.com/watch?v=hIE8BoM1Wr8

 

For your second question, do you want to save the content within your PDF Viewer control as a PDF file? I afraid that there is no way to achieve your needs in PowerApps currently.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Community Champion
Community Champion

Re: File Stream and PDF

Thanks for posting in the community @jc6215. Can you review the information in the above reply and update the thread if it answers your questions?

 

Thank you,

 

@TopShelf-MSFT 

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,048)