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:
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:
Has someone an idea of how to get this solved ?
thank you in advance.
Riccardo.
Solved! Go to Solution.
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.
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
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.
Join digitally, March 2โ4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
33 | |
15 | |
13 | |
13 | |
9 |
User | Count |
---|---|
38 | |
26 | |
19 | |
8 | |
7 |