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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Button is always visib...
Power Apps
Suggested Answer

Button is always visible even after applied enable rule for it

(1) ShareShare
ReportReport
Posted on by 17
 
Hi team, I am new to ribbon workbench and I have created one button using ribbon workbench and created custom enable rule for it but my button "view" is always getting visible in the form. I tried with command checker and I am getting "Error(default true)". I am sharing code and command checker image. can anyone please help me on this?

JS code:
Categories:
I have the same question (0)
  • Malli002345 Profile Picture
    17 on at
    Team, can anyone please help!
  • Suggested answer
    CA1105 Profile Picture
    545 Super User 2025 Season 2 on at
    Can you try to remove getFormContext() from your code see if it is working? 
     
    When we add ribbon workbech JS we do not need that context because it has been already passed as context.
  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at
    hey
     
     
    where did u do this? does not look like powerapps, is it in an app or where else?

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard