I have a new form in powerapps which is created on top of the dataverse table. I am able to attach multiple attachment to the attachment column and submit the record.
I have another screen to view the created records but in the view forms, I am able to see only the last single attachment. Is it possible to view all the attachments in the form view mode? I only managed to create following formula in default property of Attachment field but it shows only last attachment uploaded. How I can iterate through attachments?
//Creates table to display all attachments
Hi @jakub_mar ,
I think you just need to add the attachment card, and the app will generate the formula automatically.
Best Regards,
Wearsky
Hi Wearsky,
Thank you for your support. I see right now that relation to the table with attachment has been made when I enabled attachments in my table. However, how should I modify my formula to display all attachment on the form based on this relationship made?
//Creates table to display all attachments
If(!IsBlank(ThisItem.'Attachments (jm_attachments)'), Table({DisplayName: ThisItem.'Attachments (jm_attachments)'.FileName, Value: ThisItem.'Attachments (jm_attachments)'.Value}), Blank())
Hi @jakub_mar ,
The file column can only store one attachment instead of multiple attachments.
I believe you have uploaded multiple files in the attachment control when you used app, but it will actually only add one of the files when you click on the submit button.
If you want to save multiple attachments, please turn on enable attachment setting for the table.
Then the attachments will then be stored in the note table associated with your table.
Best Regards,
Wearsky