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 Automate / Adding a PDF to an App...
Power Automate
Answered

Adding a PDF to an Approval Flow

(0) ShareShare
ReportReport
Posted on by 58

So currently, I have pdf data content saved into a SQL database. Just one of those long strings of characters that make up a PDF.

 

How can I turn that into a viewable PDF in an approval process?

 

I get the data to send, but when opening the pdf in the approval, I get just a white screen opening in Google Chrome and an error message opening it in Adobe.

 

If anyone knows what format the pdf attachment box is looking for on approvals, that would be much appreciated(such as base64 or Binary)

 

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @jNelly ,

     

    It seems that you stored the datauri or base64 in sql.

    If it's datauri, please try to use dataUriToBinary function.

    If it's base64, please try to use base64ToBinary function.

    They can convert strings into file contents.

     

    Best Regards,

    Wearsky

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard