Skip to main content

Notifications

Announcements

No record found.

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.
  • Suggested answer
    RudyZhang Profile Picture
    RudyZhang 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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,622 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans