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 / Custom Button not show...
Power Apps
Answered

Custom Button not showing in Ribbon Workbench

(0) ShareShare
ReportReport
Posted on by 810
Hello - this is a follow up from my other post:
 
 
The video supplied appears to be what I want, but my custom button is not showing in the ribbon workbench.  The button already has some Power FX logic in it that I need to keep. I need to use the ribbon workbench for a javascript function to set visibility by security role. 
 
The button should be here (SendApprovals)
 
 
 
 
 
 
 
I have the same question (0)
  • Verified answer
    TechFreak Profile Picture
    51 on at

    Hi,

    Based on your description and the screenshot, the reason your SendApprovals button is not visible in Ribbon Workbench is most likely because it was created using the modern command designer (Power Fx) rather than the classic ribbon framework.

    Ribbon Workbench only works with classic commands (JavaScript-based), whereas buttons created using Power Fx belong to the modern commanding framework. These modern buttons do not appear in Ribbon Workbench, which is why you are unable to locate your custom button there.

    What you can do:

    Option 1: Use Modern Commanding (Recommended)

    Since your button already contains Power Fx logic, it is best to continue using the modern command designer. You can control visibility using Power Fx expressions. However, note that directly checking security roles in Power Fx is limited, so you may need a workaround (e.g., storing role mappings in a table or using user attributes).

    Option 2: Recreate the Button in Ribbon Workbench

    If you specifically require JavaScript for role-based visibility:


    • Recreate the SendApprovals button using Ribbon Workbench

    • Implement a Display Rule / Enable Rule with a JavaScript function to check user roles

    • Move your existing logic from Power Fx to JavaScript (since both cannot coexist on the same button)

         

      Hope this helps clarify the issue.


    •  
  • Suggested answer
    11manish Profile Picture
    1,496 on at
     is right, your custom button is not appearing in Ribbon Workbench because it was created using the modern Command Designer (Power Fx), which is not supported by Ribbon Workbench.
     
    To apply security role-based visibility using JavaScript, you need to recreate the button in Ribbon Workbench as a classic command, or alternatively implement role-based logic using Power Fx without Ribbon Workbench.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 522

#2
WarrenBelz Profile Picture

WarrenBelz 437 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 405

Last 30 days Overall leaderboard