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
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

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

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (85,201)