Thanks for the feedback. I did have a look at your article and agree that there are several ways to address similar needs. However, I will challenge your statement of "starting with this from Paul's blog and went back to level 1". Some users who are non-technical will never go beyond level 1. And you may find that for tools such as Flow, that group represents the majroity. Therefore, it is important to provide them with options, even if they are not as advanced as some of the other possible solutions.
I agree that we need to provide people with options that we've found but the bigger looming issue is why the heck didn't MS PowerApps team think about adding in this functionality to the regular editor? You have Camera, File Upload, Pen Controls etc. and absolutely no easy way to put the files into a shared storage location without jumping through these hoops. That type of an oversight is kind of hilarious, Office 365 is all about teamwork, PowerApps is all for easy app building for accessing data and then you give the people creating apps no way to easily send files around into Sharepoint, OneDrive, etc.
I'm very glad people are coming up with these fixes but in reality Microsoft has dropped the ball on this one and need to get PowerApps caught up to their other products integration to Sharepoint and their other Office365 services (infopath did it pretty well) so it can be truly the one product end solution to fit multiple roles.
Right now it feels like a nice beta test.
I'm gettig this error when I am trying to save a picture:
Unable to process template language expressions in action 'Create_file' inputs at line '1' and column '1729': 'The template language function 'dataUriToBinary' expects its parameter to be formatted as a valid data URI. The provided value '0' was not formatted correctly. Please see https://aka.ms/logicexpressions#dataUriToBinary for usage details.'.
I ran the app and tried to save a picture. Everything seemed to work as there were no error messages. I checked my folder for the picture and it wasn't there. I checked the flow online and it said it failed with the above error.
It's working now, but strangely PowerApps wanted me to use the flow SavePhoto_2.Run over SavePhoto.Run. Any idea why? I only have one flow called SavePhoto in my data.
thx for you tutorial on this topic. I ran into a problem creating the workflow. I can't edit the file name field because there's no dynamic content available.
Many thanks in advance, keep up the good work!
One of the limitations I find with PowerApps and Flow at this time is that once a Flow is defined and you make changes to it, PowerApps sometimes fails to pick up on them and you need to rebuild the Flow in order to get it to work. Hopefully Microsoft will have a solution for it soon.
Any updates on this?
The flow creation still doesnt allow you to add FileName.... (No Dynamic content available)
I'm not sure what you mean by not allowing you to add a file name, it does allow you to rename the file immediately as long as your flow is setup to gather it from PowerApps.
In our flow for saving images we have 3 different DynamicContent "Variables" and they all work fine to name the file sequentially and even save to a job specific folder.
What specifically isn't working for you when trying to pass a file name to the flow?
I got it now..... Need to Read moro thoroughly..... The tric was that I need to create rthe flow and choose power apps first, then add action OneDrive Business. Then I had to click ask in power apps twice for both parameters. Save. Edit again and instead of copy paste dataUri I actually had to type in the popup screen in Expression Field and then click OK to add.....