cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

dataUri save images to Sharepoint property 'Creafile_FileContent' doesn't exist PowerApps

Dear all,

I am trying to save pictures from PowerApps in SharePoint using Flow and dataUri methodology described in following link:

https://www.techmikael.com/2017/05/an-even-more-clever-workaround-for.html

formula: dataUriToBinary(triggerBody()['Creafile_FileContent'])

but flow is continuosly giving me errors described in picture below:Cattura1.PNG

I have also checked this post, but it does not work:

https://powerusers.microsoft.com/t5/General-Flow-Discussion/dataUri/m-p/143114#M14849

Hereunder the pictures of the entire Flow:

Immagine1.pngImmagine2.png

Has someone an idea of how to get this solved ?

thank you in advance.

Riccardo.

1 ACCEPTED SOLUTION

Accepted Solutions

 Dear Alan,

thank you for your quick answer.

At the end I was able to solve following a different approach, the one from Shane Young in this video:

https://www.youtube.com/watch?edufilter=NULL&v=ovLIwnj6QjU

I do believe my main mistake was to start from the Flow link directly in PowerApps.

In my new app I started from Flow and selected the Create File option and it is working now.

thank you again for your support.

Best regards.

 

Riccardo.

View solution in original post

2 REPLIES 2
Resident Rockstar
Resident Rockstar

Hi @Riccardo_Sesto , thank you for your post.

Just basing this on your 2 images and what I see as advice in Mikael's blog.

 

He says to use:

dataUriToBinary(triggerBody()['Createfile_FileContent'])

 

Your error suggests you use "Create_Nomefile" as "Createfile_FileContent" doesn't exist (within your Compose).

 

Should you maybe be using the following within your Compose?

dataUriToBinary(triggerBody()['Create_Nomefile'])

I say this as the first image you post of the error suggests the compose has "Createfile_FileContent", whilst the second image i can see you are using dataUriToBinary() but not sure what is in there ... 

 

Maybe you can confirm the full expression within your compose and post back if my information hasn't helped.

 

Please let us know if this helps at all?

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


 Dear Alan,

thank you for your quick answer.

At the end I was able to solve following a different approach, the one from Shane Young in this video:

https://www.youtube.com/watch?edufilter=NULL&v=ovLIwnj6QjU

I do believe my main mistake was to start from the Flow link directly in PowerApps.

In my new app I started from Flow and selected the Create File option and it is working now.

thank you again for your support.

Best regards.

 

Riccardo.

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (47,628)