file upload from power apps | file in power apps

preview_player
Показать описание
Upload file from powerapps or upload file from powerapps to document library,

Handling of files in powerapps always need discussion , because there is no direct control that can be used to upload file from power app to any document library.
But there are work around of approaches that can make your work easy,
In this video , I tried to show 3 approach (2 works well), so choose acordingly.

Below is the code I have used on Onadd file event of attachment card.

Set(filecon,JSON(Image7.Image,JSONFormat.IncludeBinaryData));
Set(FileContoflow,Mid(filecon,Find(",",filecon)+1,Len(filecon)-Find(",",filecon)-1))

Image7 is simple used get the data of attached file in attachments.

*Note, this approach is for single file upload,
If you would like to upload multiple , store into collection then send that collection to power automate.
Рекомендации по теме
Комментарии
Автор

Hi ..thanks for video could you suggest is it possible Bank statement file (BAI2)in power app and map the fields of post the transactions General journals in d365 f&o thanks

annapurnabonakurthi
Автор

Is there any workaround to upload files with size greater than 250MB using attachment control?

rohannandurajput