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 / D365 Command Bar butto...
Power Apps
Unanswered

D365 Command Bar button visibility

(0) ShareShare
ReportReport
Posted on by

I am trying to get a button on the D365 command bar to show only when a certain view is selected.  This used to be possible with the ribbon workbench.  Is this possible with the new UI?  I have tried in the "visible" property:

(CountRows(Self.Selected.AllItems) > 0 And

'Account (Views)' = 'Account (Views)'.'MyViewOfAccounts'

It is the second line that is the problem - complaining abut the "="

Anyone know how to solve this?  Thanks

Categories:
  • We3 Profile Picture
    2 on at

    @NigelH23 
    You have to build the view filters into an If condition in your powerFX formula to achive this.
    In your case you would do something like this:

    If(Self.Selected.Item.'Status Reason' = 'Status Reason (Accounts)'.Active,true,false)

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard