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 / Count number of upload...
Power Apps
Answered

Count number of uploaded attachments in new form

(0) ShareShare
ReportReport
Posted on by 65

Hi

I have a Sharepoint List a customized form based on Power Apps

Is there a way how I can coun't the number of uploaded attachments before i submit a new form?
I noticed that there is a value on the attachment field "Max Attachments" where i can define the maximum number of attachments. But how can i count them myself? 

 

Thanks in advance

 

Categories:
I have the same question (0)
  • AsanKani Profile Picture
    710 on at

    Hi, You don't need to count Attachment. Already PowerApps give in Attachment Property. Default we can attached only 6 attachment. If you need more than 6, You can simple give your Maximum count in MaxAttachments  Field. That's it.

    AsanKani_0-1628007685243.png

     

  • Lephas Profile Picture
    65 on at

    I want to display a number of fields based on how many attachments i have - for each attachment i have a field with a Rating.

  • Verified answer
    AsanKani Profile Picture
    710 on at

    @Lephas  Simply add any label / text box and it's text to Datacardvalue63 is my attachment data card.

     

     

    CountRows(DataCardValue63.Attachments)

     

     

    AsanKani_0-1628008242786.png

    I think now your got solution. 

    Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.

  • hari27pn Profile Picture
    18 on at

    One question here.
    I have used the Countrows function. The issue is I get the number if I use the label within the same form. But when I use the same formula in another form it doesn't work. It gives me blank value.

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard