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 :
Customer Service forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Custom ribbon button visibility on Activity view

Posted on by 25
I am trying to show/hide a custom command bar button in an Activity view based on the type of Activity that's selected using a Power Fx visibility formula. I believe the formula should be something like this:
 
   CountRows( Filter(Self.Selected.AllItems, 'Activity Type'='letter') ) > 0
 
That should filter the list of selected items based on the activity type, then count the resulting rows, and then be visible when there are at least 1 selected row of that type. But, this formula is not valid. Any suggestions on how to get this working?

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans