Upload files from PowerApps to SharePoint Document Library

preview_player
Показать описание
*** The send email attachment data type has been updated and hence this approach does not work.
There is a better approach to upload files and tag files

Рекомендации по теме
Комментарии
Автор

OMG...You are going to make me look like a star to my colleagues. Thanks for this. So easy to do too.

HenryVegaOrtiz
Автор

This is not documented at all in the Power Apps documentation. Thanks for the help all the forums are saying this is not currently a feature? "Add Picture" very misleading.

christhompson
Автор

Genius Reza :) . The video on this by Shane was good but it mentioned a lot of code around json, but this work around with the image upload button is great. The only thing is that user needs to be trained to switch to All Files * option.

musicpie
Автор

Hello Reza, thanks for the instruction. When I do this myself, a file called is created in Sharepoint. I also notice that in the code of my flow, I can only see {
"type": "string"}, so not "format":"Byte". Any idea why this is?

MarcelVlems
Автор

@Reza Dorani, this is not working now. do you have the updated solution?

dennistoting
Автор

I've followed your steps but I NEVER see Format "Byte" in the Code. Has this been changed?

mbayzel
Автор

Great video! I am green with PA and SP, this helped a

twosmker
Автор

Is this method of uploading files from PowerApps to a SharePoint document library deprecated? When I take a peak inside the PowerApps trigger, I don't see format bytes within the "Sendanemail (V2)_AttachmentsContent-1" and I can't edit the code for the PowerApps trigger.

michaelsujatno
Автор

Hi Reza, your videos are amazing.
But I have a slight different use case here. I let user to upload their file from PowerApps in a folder. Then create a flow to copy the file contents form the folder to SharePoint list.
But I don’t want to scan the old files but only copy the NEWLY added file to SharePoint list. How do I make the flow only read the newly added file instead of all the files in the folder?

xiaotang
Автор

Wonderful Video. It helped me a lot to make my own file upload app! Thanks!!!!

fernandomarasco
Автор

Thanks Reza, this is really good. Although, I am facing one issue. My attachment properties are not showing "format" as byte. I am getting only this much -

"kind": "PowerApp",
"inputs": {
"schema": {
"type": "object",
"properties": {
{
"type": "string"
},
{
"type": "string"
},

How to fix that ? Because of this, my uploaded excel file is not opening and complains about incorrect data format. Any help/direction will be highly appreciated.

gautamdas
Автор

Hi Reza thank you for nice video ..i just some help on can we upload a files to particular folder in the sharepoint doc library ..lets i have 6 folders and with in we have 3 sub folders ..how can upload the files to these folders dynamically ...

GuruPrasad-xpyq
Автор

Hi reza, How can we upload file using 3rd party api custom connector and with header content type 'multipart/form-data' ?

aggaming
Автор

Hi Raza, how about the lookup column? I tried to pass DataCardValue.Selected.Value, but it didn’t work. Thank you!

evanhagos
Автор

While upload done, can't open the uploaded file. Showing error failed to load pdf document. Please suggest.

SubrataPal
Автор

Hi Reza. How to delete a sub folder inside document library based on item id?

blackout
Автор

Hi Reza, when I add the outlook connector and look at the "Peek Code" in the PowerApp block, I don't see the "Format: Byte" statement. I just see the "Type: String" only. It uploads the file to SharePoint, but it does not show the File content. The Content is displayed as "AttachmentsContent-1" in the Outlook connector. can you help? :( Thank You

santiago
Автор

Reza, thank you for the excellent video. Do you know there is a way we can set up an email notification or any confirmation message to the user after the file has been successfully uploaded to the SharePoint library?

ppei
Автор

Hi reza,

I have done exactly as in the video, but in the power automate under powerapps function there is no "Content": "byte" . All i can see is as below on peek code

{
"kind": "PowerApp",
"inputs": {
"schema": {
"type": "object",
"properties": {
{
"type": "string"
},
{
"type": "string"
}
},
"required": [
"Sendanemail(V2)_AttachmentsContent-1",

]
}
}
}

The file has uploaded but only thing it can be opened

sivaniissupramaniam
Автор

Hi Reza. Thanks for the options presented. But does it work for uploading an audio file captured on an Android or iOS phone or tablet? If not, is there a way of uploading an audio file captured in my app on an Android phone to a SharePoint document library via a Power Automate flow? Can the uploaded audio file in a SharePoint library be a .mp3, .mp4 or .wav file?

mickyd