cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Maxwell123
Helper II
Helper II

Add a video to powerapps and send it to sharepoint

Hello, 

 

I am building an inspection app that I want users to be able to send a video with. I know natively there is no way to to "Upload Video" to powerapps. I was wondering if there is any hack to get a video into powerapps. I have tried using an attachment control but the max file size is per attachment is 10MB. Is there someway to use the "Video" control to achieve this? 

 

I watched a great video here: https://www.youtube.com/watch?v=kQVYid1p_vA

 

But I just cant figure out how to get the file of that size in.

 

Let me know if anyone has any idea!

 

Thanks

3 REPLIES 3
v-qiaqi-msft
Community Support
Community Support

Hi@Maxwell123,

Based on the issue that you mentioned, do you want to save a video from PowerApps to SharePoint?

Instead of create a flow, I prefer to recommend to converting the video into a binary format for storage. I have a test on my side, please take a try as below:

I have two columns, one is Title by default and another one is a Multi-line-of-text column named 'Video'.

Add an AddPicture control.

Add a button and set the OnSelect property as below:

 

Patch(
       UploadVedio,
       Defaults(UploadVedio), /*add a new record*/
       {Title:Text(Now()),
         Vedio: Substitute(JSON(UploadedImage1.Image,JSONFormat.IncludeBinaryData),"""","")
       }
)

 

68.png

Hope it could help.

Best Regards,

Qi

Best Regards,
Qi
Munnerz
Frequent Visitor

Hi guys,

 

How did you get the "add picture" button to allow videos? I can only see photos on my iphone when selecting this.

 

I plan to use the json hack to upload but am stuck at the first step. 

 

thanks!

Munnerz
Frequent Visitor

Hi guys,

 

How did you get the "add picture" button to allow videos? I can only see photos on my iphone when selecting this.

 

I plan to use the json hack to upload but am stuck at the first step. 

 

thanks!

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,236)