cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
karol4056
Level: Power Up

How to extract base64 string from Binary file

Hi

I need to extract base64 string code from binary file  in OneDrive. I use Compose action and receive this record:

{

  "$content-type": "xxx/xxx"

  "$content": " base64 string (there is a code that needs to be separated)"

}

Regards,

Karol

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How to extract base64 string from Binary file

Hi @karol4056,

 

If you have solved your problem, please go ahead and mark your post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Community Support Team
Community Support Team

Re: How to extract base64 string from Binary file

Hi @karol4056,

 

Could you share the specific details of your Flow configuration?

I am afraid I can't reproduce this issue on my side.

Please provide more details about the issue and we may provide a proper workaround for you.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
karol4056
Level: Power Up

Re: How to extract base64 string from Binary file

I managed to find a solution, using the expression in Data Compose Action, triggerBody()?['$content'] solves the problem and returns the base64 code 🙂

Community Support Team
Community Support Team

Re: How to extract base64 string from Binary file

Hi @karol4056,

 

If you have solved your problem, please go ahead and mark your post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Dawidvh
Level 10

Re: How to extract base64 string from Binary file

Hi @karol4056,

 

Go and check out these videos, I hope they help.

 

Introduction - https://youtu.be/wJj0E1C4z0c

Using Variables in file upload - https://youtu.be/sgAx3aaRL8E

OneDrive - https://youtu.be/pEHnQ_BQPXw

 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Kudoed Authors
Users Online
Currently online: 355 members 6,835 guests
Please welcome our newest community members: