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 / Making Attachments Man...
Power Apps
Answered

Making Attachments Mandatory/ Required on Canvas App

(0) ShareShare
ReportReport
Posted on by 5

Please help!

 

I have created an App for the team and included the attachments features however the team now requires that the personnel inputting the data should be Required to add the supporting documents. If you know if and/or how I can be able to implement this on my canvas app, your assistance will be highly appreciated. 

 

Thanks in Advance 😉

Categories:
I have the same question (0)
  • Verified answer
    Mitanshu Profile Picture
    1,658 Moderator on at

     

    CountRows(AttachmentControl.Attachments)

     

    Above will give you number of attachments in the attachment control.
    If this value is 0, then you can show an error message

     

    For example, you can make DisplayMode.Disabled for the Submit button if the number of attachments are 0

     

    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 this post or my previous reply was useful in other ways, please consider giving it Thumbs Up.

  • Lesedi_Letsedi Profile Picture
    5 on at

    Hi, 

     

    This was absolutely what I needed thank you so much!

     

    However now the issue I am facing now is that when I check my output information on my SharePoint , only one of the attachments is added. Would you happen to have a solution for this?

    Thanks once again for the assistance with the initial issue!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard