web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / PowerApps to SharePoint
Power Automate
Unanswered

PowerApps to SharePoint

(0) ShareShare
ReportReport
Posted on by 55

 

 

Hello,

I have inherited a PowerApp that uses a file upload to SharePoint. The SharePoint then references a variable that is used in a separate app. Unfortunately, when I inherited the files, the original flow was lost, so I am trying to figure out what it could be and understand where the various connections take place. Any help would be appreciated. 

 

App - On Start

 

 

Set(varURL, "[Long, redacted URL that included Invoking a Manual Trigger]");
Set(varTopImageURL, Concatenate(varURL, LookUp(Variables, Title = "TopImage", Value)));
Set(varBottomImageURL, Concatenate(varURL, LookUp(Variables, Title = "BottomImage", Value)));
Set(varMiddleImageURL, Concatenate(varURL, LookUp(Variables, Title = "MiddleImage", Value)));

 

 

The actual URL in the varURL gives me an error that says: "WorkflowTriggerIsNotEnabled" and that the state is "suspended." 

 

On Photo Upload (upload button is AddMediaButton)

 

 

Set(TopImageJSON, JSON(TopImage,JSONFormat.IncludeBinaryData));
Upload.Run(TopImageJSON);
Patch(Variables,
First( Filter( Variables, Title = "TopImage" ) ), { Value: ("/App_Images/Images/"&AddMediaButton2.FileName) } );
Refresh(Variables);
Set(varTopImageURL, Concatenate(varURL, LookUp(Variables, Title = "TopImage", Value)));
ClearCollect(TopImage, "");

 

 

Currently getting an error for the UPload.Run (Invalid number of arguments: received 1, expected 2)

 

Flow

See photos attached (Flow 2 is a better look at the code in Flow).

 

The other app just references the variable

 

varTopImageURL

 

 

Currently, it looks like the variable Title is changing every time I try to upload a photo, but I am clearly not getting a photo upload. Any idea on where to start? I think it has something to do with the URL in the OnStart & the Flow, but I'm not sure where / how to fix those things.

 

(Also, there's a repeated code for the bottom & middle buttons, but I didn't add that in)

 

Thanks!

Flow.png
Flow 2.PNG
Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Is the flow turned ON?

    SudeepGhatakNZ_0-1703117984936.png

     

  • dsopshin Profile Picture
    55 on at

    Yes it is.

    I also got an error from the Flow: 

    Unable to process template language expressions in action 'Convert_to_binary_image' inputs at line '0' and column '0': 'The template language function 'dataUriToBinary' expects its parameter to be formatted as a valid data URI. The provided value 'B' was not formatted correctly. Please see https://aka.ms/logicexpressions#dataUriToBinary for usage details.'.

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    The error message states that the value you provided to the action is "B". That doesn't sound right.

    Did you look at this response?

    Solved: PowerApps to Flow - DataURIToBinary - Power Platform Community (microsoft.com)

  • dsopshin Profile Picture
    55 on at

    I followed the steps for the Flow and now I get this error: 

    Unable to process template language expressions in action 'Convert_to_binary_image' inputs at line '0' and column '0': 'The template language expression 'dataUriToBinary(triggerBody()['Compose_Inputs'])' cannot be evaluated because property 'Compose_Inputs' doesn't exist, available properties are 'CreatefileFilename, Createfile_FileContent'. Please see https://aka.ms/logicexpressions for usage details.'.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard