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

Notifications

Announcements

No record found.

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

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans