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 / Attachment DisplayName...
Power Apps
Unanswered

Attachment DisplayName Issue

(0) ShareShare
ReportReport
Posted on by 87

I am creating one function is to collect all the attachments' names. I found it can work well if use the below formula, the Label control can display all the attachments' names.

BollGary_0-1672986494506.png

But if I used the ForAll function to collect all the names at one time, the result is error.

BollGary_1-1672986567054.pngBollGary_2-1672986779727.png

 

 

Categories:
I have the same question (0)
  • BollGary Profile Picture
    87 on at

    And at the same time, I found if use the below formula, which will be directly marked as grammatical mistake.

    BollGary_0-1672988494034.png

     

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @BollGary,

    Do you want to collect all the attachments names?

    Do you want to pull the SP List attachments into a collection using the ClearCollect function?

     

    I have made a test on my side, if you want to pull the SP List attachments into a collection using the ClearCollect function, I afraid that there is no way to achieve your needs within PowerApps currently.

     

    Currently, we could only access the SP List item attachments within the Attachments control of a Edit form. More details about the Attachments control within PowerApps, please check the following article:

    Attachments control

     

    As a workaround, you could try to add a Gallery and populate it with your SortByColumns() formula so that you could create a collection by all the items from the Gallery, where stores the attachments display name.

  • BollGary Profile Picture
    87 on at

    Thanks a lot for your answering, yes, I would like to collect all the attachments' names and then search the data source by the attachment's name by using operator "in", so I use "Concat" to combine all the attachments' name together per record. but as your mentioned, I really found the attachment column is very special, it's ok to use "LookUp" directly search the data source and can get the correct result but use "ForAll" can't realize this idea. It seems "ForAll" can't get the attachment column.

    If using the gallery to collect, I think it can't list all the records if records are over 2000. Wish Microsoft can provide more support for attachment column.

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 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard