cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Frequent Visitor

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

 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
Highlighted
Resident Rockstar
Resident Rockstar

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

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!


Highlighted
Frequent Visitor

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

 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
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Users online (3,978)