Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Ribbon Button Hide with Power Fx ignore formula for some users

(0) ShareShare
ReportReport
Posted on by
Hi there, I added a Power Fx formula to a ribbon button to hide it from users who don't have writing permissions over the entity, and also it hides if no row is selected, this is the formula:
 
If(CountRows(Self.Selected.AllItems) = 1 && DataSourceInfo('ENTITY NAME';DataSourceInfo.EditPermission);true;false)
 
It's working for most users, but there are at least two specific users that can see the button in the view even if no row is selected, don't know why, I've tried to add all their security roles to my own profile to emulate the problem but I still don't see the button until I've selected one row, as expected. Why can this be happening? I'm completely clueless, thanks in advance.
 
Edit: I want to add some information that I just came up, it's possible that the plug-in "Level up for Dynamics 365/Power Apps" is affecting this behavior? At least one of the users has it installed
Categories:
  • ronaldwalcott Profile Picture
    3,426 on at
    Ribbon Button Hide with Power Fx ignore formula for some users
    A faint possibility - do these users have the same security roles as the other users? Is it possible that they are in one security group that grants access and another that doesn't? 

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,596 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard