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

Notifications

Announcements

Community site session details

Community site session details

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

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard