Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

How to show the attachment from file(data type coloumn dataverse) and how to added a new one item file in powerapps?

(0) ShareShare
ReportReport
Posted on by 6

please kindly help me, i am confusing after query some of solution for the attachment powerapps. i build some HR application, i build using dataverse table. for data example i add new record and i upload one file e.g doc file. i want, when i back to powerapps studio, the attachment show on there and i can added more then 1 file. please give me solution, playing with attachment. i need to save the attachment to dataverse in apps powerapps, i need to show the attachment, and i need to add a new file attachment in powerapps. thank you very much pro.

  • Community Power Platform Member Profile Picture
    on at
    Re: How to show the attachment from file(data type coloumn dataverse) and how to added a new one item file in powerapps?

    Hi,

    Without using table gallery in powerapps, can we get the view of already added file from dataverse table just by using a particular value as condition.

     

    I tried with Lookup function. But its not giving any results.

     

    Regards,

    Roselin

  • adminKF Profile Picture
    6 on at
    Re: How to show the attachment from file(data type coloumn dataverse) and how to added a new one item file in powerapps?

    Hi Allen,

    thank you for your help and feedback it's really helpfull. after i follow your intruction i still face issue where the attachment on display form is still not show everything. i also choose the resource of data form but still show ther is no item to display. after some testing in other atribute in display form, now i can show the attachment. i go to the item attribute properti in display form, and i choose related table. voila the attachment showing now. thank you in advanced.

  • Verified answer
    v-albai-msft Profile Picture
    on at
    Re: How to show the attachment from file(data type coloumn dataverse) and how to added a new one item file in powerapps?

    Hi @adminKF ,

    Are you “creating a default app based on the dataverse table” or “creating a blank app and add components manually”?

    If you want to manage attachment in PowerApps, no matter how you create the app, you need to have at least an edit form and a display form to edit the attachment, and also a gallery to display all records(then you can edit a specified record to add one more attachment). I think you should first refer to below article to know more about canvas-app forms in Microsoft Power Apps:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/working-with-forms

     

    Seems you are using a File column to keep the attachment files, I will give you a simple steps about how to manage attachment in PowerApps:

    1. Create a dataverse table with a File column called “file1”:

    v-albai-msft_0-1614570112967.png

    2. Create an app based on this table. Go to the edit form page to add this File column:

    v-albai-msft_1-1614570112971.png

    3. Also go to the display form page to add this File column:

    v-albai-msft_2-1614570112976.png

    4. Go to the gallery page to add this File column:

    v-albai-msft_3-1614570112978.png

    After above actions, you can now save attachments in edit form page, show attachments in gallery page or in display form page.

    Below is in a gallery page, I can see the attachment for the first record(other records don’t have attachments yet):

    v-albai-msft_4-1614570112980.png

    Below is in a edit form page, I just add a new attachment for “user2” record(when you go back to gallery page, you will see the new upload attachment):

    v-albai-msft_5-1614570112981.png

    Below is in a display form page:

    v-albai-msft_6-1614570112983.png

    However, descripted in this official document, “it only allows a single file for a File data type field. If you want multiple files, use the attachment feature”. So if you want to add more attachments for one record, you need to enable attachment feature for this table, then use above steps to add the Attachment column into your gallery, edit form and display form:

    v-albai-msft_7-1614570112987.png

    v-albai-msft_8-1614570112988.png

    v-albai-msft_9-1614570112992.png

    Best Regards,

    Allen

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

Overall leaderboard