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 / Problem showing file n...
Power Apps
Answered

Problem showing file name with extension

(0) ShareShare
ReportReport
Posted on by 65

Hello guys! I need to put the name of the file that I have attached in the "attachments" column of my Sharepoint list, but I am not getting it. I have galleries with grouped columns, as shown in the screenshot

isseu1.JPGisseu2.JPGisseu3.JPG

When I click on the arrow of the first gallery, the second gallery is displayed. I would like you to show me the name of the file you have in each item that the user clicks. However the content of 'Title' is shown.

 

Thanks!!!

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

     

    Not sure if I have fully understood but in the following example the first gallery has a data source of a SharePoint List with two items, both of which have two attachments added to each.

     

    The the second gallery is based on selected item of the first gallery and shows the file name of each of the attachments of the selected items.

     

    HenryARPhillips_0-1615238096223.png

     

    HenryARPhillips_1-1615238107733.png

     

    HenryARPhillips_2-1615238120640.png

     

  • matheusscampos Profile Picture
    65 on at

    Hi @Anonymous ,
    I'll explain the scenario: I have a list on Sharepoint to store employee documents by document category. I am grouping my columns by document types as there may be multiple documents of the same type. When I click on the arrow icon in the first gallery, I would like to display only the name of the document from that category that was selected.

     

    matheusscampos_1-1615297570632.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

     

    So the gallery within the first gallery, what is that hooked up to items wise. As I have it as the attachments of the item.

     

    However are each of those options under an entry, meant to result in a list of attachments for those categories or is that the document itself.

     

    What may help regardless of me understanding the SP List more etc. Is that what do you have in the OnSelect of the > of the nested gallery and what do you have as the items for the second gallery?

     

    I will give an example of what I have done with OnSelect

     

    HenryARPhillips_0-1615329733514.pngHenryARPhillips_1-1615329744168.pngHenryARPhillips_2-1615329756418.pngHenryARPhillips_3-1615329765982.pngHenryARPhillips_4-1615329778119.png

     

  • Verified answer
    matheusscampos Profile Picture
    65 on at

    Hi,
    Thank you for your help. I managed to do it this way but I would like to display all the attachments that are inside a record. For example, in "Ramon Machado / Personal documents" I have more than one file attached within a single record. I tried to use the "FirstN" function but I couldn't. And for the first he only returns the first.

     

    matheusscampos_0-1615561264342.png

     

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 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard