web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Attachments field in C...
Power Apps
Answered

Attachments field in Canvas app for Dataverse table

(0) ShareShare
ReportReport
Posted on by 43

Hi All

I have created a table in dataverse with attachments enabled .when i created a canvas app pointing to his table i can't find the attachments field in the canvas app.

 

My requirement is to

1. Upload multiple files for a record in canvas app.

2. Read the uploaded documents from table and display them in other screen (canvas app).

 

Categories:
I have the same question (0)
  • Verified answer
    v-albai-msft Profile Picture
    Microsoft Employee on at

    Hi @Hetvik ,

    You can refer to my steps:

    To upload attachments for a record, you can use Edit form. See my example. I have a gallery called "Gallery4" that shows all record of my dataverse table. Beside this gallery, I have a Editform that display the selected record of Gallery4. The current selected record called "test0812" with no attachment:

    valbaimsft_4-1628758914622.png

    I can add attachments for this record using the Attachment control inside this Editform, then click submit button(SubmitForm(Form3)) to save the changes:

    valbaimsft_5-1628758959940.png

    To read the attachments of the records, I can add another gallery in another screen, and set its Items property to:

    Gallery4.Selected.Attachments

     

    valbaimsft_6-1628759085840.png

    Note: Attachments returns table type result, even there is only one attachment, the returned result type is Table, so we need to use gallery to show the attchment. 

    valbaimsft_7-1628759268174.png

    Best regards,

    Allen

  • BruceWayne27 Profile Picture
    3 on at

    I see that in your last gallery, you're using labels to show display name and ID. Can the user be able to click on the attachment file and see a preview in the browser? Like how we do in SharePoint

  • ehabzag Profile Picture
    6 on at

    Hi Allen,

     

    When i SubmitForm() all data are saved but not the attachments, it is showing "There is nothing attached".

    Can you please advise what i am doing wrong here!

    P.S: I have enabled the Attachments on the Table properties

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard