cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Riccardo_Sesto
Level: Powered On

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
Riccardo_Sesto
Level: Powered On

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

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!


Riccardo_Sesto
Level: Powered On

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
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 (Last 30 Days)
Users online (5,852)