web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Command bar button not...
Power Apps
Unanswered

Command bar button not shown when select a record

(0) ShareShare
ReportReport
Posted on by 115

Hi everybody,

 

I'm trying to add a command bar button using Ribbon workbench.  I'm very confused since there's no good document to explain what the properties of display rule mean.

 

You can see that I create a very simple sample to add a button to Home area.

图像_2022-09-05_014832331.png

 

The button is associated with a command:

图像_2022-09-05_014937681.png

 

And the display rules is :

图像_2022-09-05_015424461.png

 

Now I got this:

图像_2022-09-05_015258258.png

But when I select the record '4-1' the button2 disappeared...

图像_2022-09-05_021452406.png

 

Question 1 : Why is the button not displayed?

Question 2: Could anybody tell me what the properties of the rule means ? I guess what I set means: ‘When the login user has Basic Read privilege of the the current entity(EntityName is blank), and the entity is displayed as a subgrid(SelectedEntity?), then the rule is True(Defualt value), otherwise False(InvertResult value, but why empty works?...)  

 

Anybody helps me ? THANK YOU!!!!!!

 

Best Regards,

- Justin

Categories:
I have the same question (0)
  • Ethan.s Profile Picture
    115 on at
    Re: Command bar button not shown when select a record

    Can't believe nobody knows why ...

    Everybody did customize ribbon, don't you 😭

  • EricFai Profile Picture
    44 on at
    Re: Command bar button not shown when select a record

    I'm running into the same problem. Did you find a solution to this? This is happening with modern Command Bar editor

  • EricFai Profile Picture
    44 on at
    Re: Command bar button not shown when select a record

    EricFai_2-1699052037412.png

    I added this "Edit Record" button to the command bar

     

    But once I select a record in the Grid View of the Model-driven App, the command bar changes to the following and the "Edit Record" button disappears

    EricFai_1-1699052026889.png

     

    Any thoughts on why this is happening?

     

    Kind Regards

    Eric

  • EricFai Profile Picture
    44 on at
    Re: Command bar button not shown when select a record

    It worked after setting the new Command Button's Visibility selection to "Show on condition from formula" and the Visible value to True

    EricFai_0-1699053627918.png

     

    EricFai_1-1699053655241.png

     

    Originally I had it set to "Show", but it was disappearing when a record was selected

    EricFai_2-1699053907384.png

     

  • SPStudent Profile Picture
    5 on at
    Re: Command bar button not shown when select a record

    Button will show up. But strangely it will not show if you write some powerfx code in Onselect property.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard