cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
RussellWyatt
Level: Powered On

undefined

Hi, Newby alert.

 

I have created a custom connector  with an Action wrapping an API that converts an Html string to a PDF. The API returns a byte array which the action is returning as a base64 string. I need to decode this so that it can be used in the next step, a Sharepoint CreateFile.

 

Can someone point me how to do this as it really isn't clear.

 

Russell

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: undefined

There is a FLOW function called base64ToBinary which will convert a base64 encoded string back to binary.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
Dual Super User
Dual Super User

Re: undefined

There is a FLOW function called base64ToBinary which will convert a base64 encoded string back to binary.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

RussellWyatt
Level: Powered On

Re: undefined

Hi.

 

That is great it does do the job but as far as I can see I have to put the expression in the next step. Is there a way of embedding it in the custom action?

 

Russell

Dual Super User
Dual Super User

Re: undefined

Sorry, I'm not an expert on custom connectors so I don't know how you might leverage the function inside the custom connector action.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (4,514)