cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RussellWyatt
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
Pstork1
Dual Super User III
Dual Super User III

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
Pstork1
Dual Super User III
Dual Super User III

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

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

Pstork1
Dual Super User III
Dual Super User III

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,282)