Forum Discussion

Tania950's avatar
Tania950
Copper Contributor
Oct 03, 2023

Power Apps button+PA flow to save files in Sharepoint library

Hi there!

I need assistance with adding flow to a button in Power apps(canvas) to save taken pictures to a SharePoint library.

I have a camera control on a screen with the following formula:

ClearCollect(CameraImage,Camera1.Photo)

 

Next, I created the flow within PowerApps, named 'Pictures'.

 

 

at the bottom of the screen I added the button with the following formula:

OnSelect = Pictures.Run("My Image.jpg", First(CameraImage).Url)

but the formula shows the errors:

 

 

Any ideas how to resolve the issue and make the button and the flow working?
Much thanks in advance!

  • Tania950 How many inputs you requested in your Power automate flow from Power Apps?

     

    Try using Power Apps V2 trigger instead of Power Apps trigger, V2 trigger allows you to define the expected inputs explicitly in trigger definition.


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Resources