cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fruit_mogitate
New Member

Get a file content from FLOW Mobile Apps and Convert as Base64

Hello Flow Experts.

 

I read others topic and found some great hint like 

 fx 

base64(body('Get_file_content'))
 fx 
base64(triggerBody()?['$content'])

In my case, I use "mobile button trigger (get file content)", How shoud I do at this case ?

 

Any help will be most appreciated!

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @fruit_mogitate ,

 

The expression should as below:

base64(triggerBody()['file']['contentBytes'])

The screenshot of the flow should as below:

 1.png

 

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
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

2 REPLIES 2
v-alzhan-msft
Community Support
Community Support

Hi @fruit_mogitate ,

 

The expression should as below:

base64(triggerBody()['file']['contentBytes'])

The screenshot of the flow should as below:

 1.png

 

 

Best regards,

Alice       

 

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

Hello Alice san

 

Thank you very much for great and quick respone !

base64(triggerBody()['file']['contentBytes'])

 

I did try your advice and it worked!

 

Gracias amigos , Arigato !

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (5,219)