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

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
Highlighted
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
Highlighted
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

Highlighted
Regular Visitor

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

Highlighted
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

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Top Solution Authors
Top Kudoed Authors
Users online (7,693)