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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Add a Button on Navigation Bar in MS Dynamics 365

(0) ShareShare
ReportReport
Posted on by 605

Hi All,

My requirement is : A button which acts as common to users wherein that button must be visible somewhere on the screen across all places in Dynamics CRM.

Is it possible to add a button in Navigation Bar beside Global Search Option or something.

Or is there any way/idea that i can find a way to achieve this requirement.

Thanks in Advance

Regards,
Rahul 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    imayur Profile Picture
    630 on at

    Hi,

    Note: This is unsupported customization

     var navGroup = window.parent.document.getElementById("navTabGroupDiv");
    
       var url = "full_imageurl";
    
       var parent = document.createElement("img");
    
               parent.id = "test-img"
    
               parent.src = url;
    
               parent.style.float = "right";
    
               parent.style.height = "30px";
    
               parent.style.marginTop  = "10px";
    
               parent.onclick = function () {
    
                   var webResource = 'test.html';
    
                   Xrm.Utility.openWebResource(webResource, null);
    
               };
    
               navGroup.appendChild(parent);
    
               var tab = window.parent.document.getElementsByClassName("navTabFiller");
    
               if (tab!=undefined && tab.length > 0)
    
                   tab[0].remove();


  • Rahul G J Profile Picture
    605 on at

    Hi mayur,

    I would like to know where will you add this JS. What is the functionality of the code written by you.

    Regards

    Rahul

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 Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans