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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,988)