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 / If attachments are not...
Power Apps
Answered

If attachments are not placed (no attachment in list item for that selected item) - then don't show attachment card

(0) ShareShare
ReportReport
Posted on by 288

Hey everyone,

 

I'm wondering how can i make a conditional to hide Attachments card, when there is none?

 

NidjoJohnny22_0-1671464281870.png

 

Categories:
I have the same question (0)
  • Verified answer
    cha_cha Profile Picture
    4,932 Moderator on at

    Hello @NidjoJohnny22 

     

    If you want to remove it from the form since you are not using an attachment, do this:

    cha_cha_0-1671464564733.png

     

     

    But you just want to make it a conditional thing, then you can use the formula below for the Visible property of the DataCard.

    If(CountRows(ThisItem.Attachments)>0,true,false)

    cha_cha_1-1671464663345.png

     


      ✔️
    Just in case my response helped you solve your problem, please mark/accept this as a SOLUTION This helps community members if they experience a similar issue in the future.

     

      🔗
    🕸bistek.space  🐦 @cha_bistek  📺 @BisTekSpace 
  • NidjoJohnny22 Profile Picture
    288 on at

    thank you, I will check it in a week and then mark as solution if it works on my side!

  • NidjoJohnny22 Profile Picture
    288 on at

    It works flawless!

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

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard