hey everyone!!
I have an app that you take a photo with and then submit. onsubmit , from submit button, starts a flow that creates a jpg image and places it in a specified created folder and also a sharable link. My issue is I need to have the Created folder captured from power apps. So for example: If I am doing a survey and want the picture from that survey to load in a Folder titled site id (12345). Well, when I select ask power apps for the Folder name it breaks the entire flow because of the Base64 stuff. Any ideas of how I can achieve this? Below are my code and Flow info.
Set(varAttach, JSON(UploadedImage1.Image, JSONFormat.IncludeBinaryData));
Set(varBase64Only, Mid(varAttach, Find(",", varAttach)+1, Len(varAttach) - Find(",", varAttach) -1 ) );
Set(varFLAfter, TestArrivalimage.Run(Label1.Text, Label1.Text & "_ Cling_" & Text(Now(), "[$-en-US]mm-dd-yyyy ") & ".jpg", varBase64Only).ecoclingarrival);

Report
All responses (
Answers (