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 / Table in a Collection
Power Apps
Answered

Table in a Collection

(0) ShareShare
ReportReport
Posted on by 16

Hi,

 

I have a Power app Collection. In my collection there is a Attachment column. But it is in a [Table] type. How do I display the Attachment File or Attachment name?

 

FARIDMD_0-1693902240697.png

 

Thank you.

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,928 Most Valuable Professional on at

    Hi @FARIDMD ,

    This will display all attachment names separated by a comma

    Concat(
     ThisItem.Attachments,
     DisplayName,
     ", "
    )

    If there is only one attachment

    First(ThisItem.Attachments).DisplayName

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

     

  • LaurensM Profile Picture
    12,516 Moderator on at

    Hi @FARIDMD,

     

    The SharePoint attachments column allows multiple attachments, hence the table format. Displaying this information depends on your specific requirements. Below I have displayed some possible options:

     

    (1) Each row will have max 1 attachment:

     

    Use a gallery to display the rows of your collection, within that gallery add a label for the attachment name with the following code in the Text property:

     

    First(ThisItem.Attachments).DisplayName

     

    (2.1) Each row will have multiple attachments - option 1

     

    We will keep the single gallery approach and simply concatenate the names of the individual files. The following code needs to be written in the Text property of a Label within the collection gallery:

     

    //E.g Name1, Name2
    Concat(ThisItem.Attachments, DisplayName, ", ")

     

     

    (2.2) Each row will have multiple attachments - option 2

     

    Use an extra gallery to display the attachments of the selected item in your main gallery. The subgallery items' property would be:

     

    MainGalleryName.Selected.Attachments

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

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