Power Community

Power Community

How to have multiple attachments in power apps

First, we need create simple form as show below using SharePoint list which has the following columns – Full Name, attachments inbuild column.


Next, we need add two attachments “datacard” by navigating to field property of the form has shown in below screen.


By Clicking on fields, we can add multiple “data cards” on the form.


Now, basically if we submit the form what will happens is all the “data fields” inside the “data cards” get submitted into the list. But you will see only one attachment will get submitted.



To Resolve this issue, we will get all the attachments from the attachments controls, and we need to remove the “data fields” from the both attachments has shown in below screens.



Next, we need to add another form inside the screen and must connect same “data source” as the previous form and add one more attachment control.

we need to set collection to the need added attachment control, later we need hide this form from screen.



Then simply by submitting the main form which is form1. then we need to patch the 2nd form and updates function into the same record by using “Form1.LastSubmit.ID”.


Now if we submit the form we will see all the attachments from both the controls are there inside the list and before the form gets reset you need to turn on the visibility of the 2nd form, you will see something like below screen.


This Data is finally submitted list.


Thank you..!

This post was originally published on this site

- Advertisement -spot_img


Please enter your comment!
Please enter your name here

- Advertisement - Advertisement

Latest News

5 Benefits of In-App Notifications for Microsoft Dynamics 365 CRM users

For a successful sales process, you need to stay up-to-date with crucial sales information like deal closures, opportunities won,...

More Articles Like This

- Advertisement -spot_img