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

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

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

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,959)