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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How can we add a link/ button to top ribbon bar(blue/ black bar) in MSX CRM?

(1) ShareShare
ReportReport
Posted on by
I am trying to add a link/ button to top ribbon bar(blue/ black bar) in MSX CRM. So, I need help in adding it to the top ribbon bar and also want it to be visible only for certain users.
I have the same question (0)
  • Suggested answer
    RudyZhang Profile Picture
    Microsoft Employee on at
    How can we add a link/ button to top ribbon bar(blue/ black bar) in MSX CRM?
    Hi,
     
    Regarding your request to add a button to the MS CRM ribbon, this request is supported!
     
    First, regarding your first question,according to the information our team searched for, in fact, as early as 2016 someone raised this requirement on Stackoverflow, the link someone proposed two solutions one is to use RibbonWorkbench + JavaScript Code, the other is to use Site Map
    specific details please refer to the following link
    Dynamics Crm 365 custom button on navigation tool bar - Stack Overflow
    In addition, in 2018 Dynamics 365 community there is a blog mentioned Adding Global Command Buttons to the Unified Interface, the link is as follows
    Dynamics Community Blog Post Details
     
    And then, regarding the second question you asked, how to make this custom button available only to specific users
    Here's the solution our team came up with
    Step1, you can assign security roles to those specific users, if you have questions about creating and assigning security roles, please refer to the official Microsoft documentation below.
    Security roles and privileges - Power Platform | Microsoft Learn
    Step2, use JavaScript to show/hide the custom button based on security roles, you can refer to the article in the link below
    Show/Hide a custom button based on Security Role using JavaScript | HCLTech
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 105

#2
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 81 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans