locked
How to change microsoft logo in crm 2013 RRS feed

  • Question

  • Hi All,

    I want to change microsoft logo image. Is it possible how to show my company logo. Anyone know that in crm 2013, logo is saved in which folder? 

    Tuesday, June 10, 2014 5:56 AM

Answers

  • You can try with this code:

    <script type="text/javascript">
    function changeCompanyName()
    {
         $(".navTabLogoText").html('Your company Name');
         setTimeout(changeCompanyName, 100);
    }
    
    changeCompanyName();
    </script>

    This will keep setting the value to your company name every 100 milliseconds. You can adjust that value based on CRM's load time. You might see the default text come at times, but it will be gone the next moment since the script would fire at regular intervals.


    Admin QuikView Solution for CRM 2013

    Saturday, June 14, 2014 7:20 PM

All replies

  • Hi,

    If you're using an On-Premise CRM 2013, then you might try replacing the logo file at the following location:

    C:\Program Files\Microsoft Dynamics CRM\CRMWeb\_imgs\CRMMastheadLogo.png

    But this will change the logo for all your organisations.


    Admin QuikView Solution for CRM 2013

    Tuesday, June 10, 2014 6:07 AM
  • Hi Dynamotion,

    I tried this but no changing occured :(.... Did you try this ?

    Tuesday, June 10, 2014 6:23 AM
  • Hi,

    Did you give an IISRESET, restart CRM Services (Async, Sandbox, Monitoring, etc.) and try after reseting your browser cache and cookies? If not, I recommend doing these. Also make sure you REPLACE the file with the exact same name and extension.


    Admin QuikView Solution for CRM 2013


    Tuesday, June 10, 2014 6:34 AM
  • I restarted CRM Services (Async, Sandbox,Monitoring, etc) but still showing microsoft logo in crm 2013. How to give IISRESET? 
    Tuesday, June 10, 2014 6:44 AM
  • I restarted all CRM Services and IISRESET from cmd prompt and delete IE history, cache.. but still not replacing my logo on default logo . Still showing default logo.... Please tell me what is the problem and how to resolve it?
    Tuesday, June 10, 2014 6:50 AM
  • Hi Aamir,

    I was wrong, the Microsoft Dynamics CRM text in the Navigation bar isn't an image but a text! Although you might be able to change the dynamics logo at the far left by replacing the files, you cannot change the text in any way (atleast I couldn't find any unsupported way to do that!).

    What you can try is have a look at this thread and follow the workarounds : http://social.microsoft.com/Forums/en-US/955db6b9-5a5a-4296-9767-6ecb50feedee/change-theme-in-dynamic-crm-2011-online?forum=crmdevelopment

    However, the link above is for CRM 2011 so I am not sure if it would work for 2013.


    Admin QuikView Solution for CRM 2013

    Tuesday, June 10, 2014 7:13 AM
  • Hi Dynamotion,

    May i change the text in the code ?

    Tuesday, June 10, 2014 7:16 AM
  • Hi,

    If you can find a way to do that you might try it out. I didn't find a way to do that. But that would be unsupported I believe.


    Admin QuikView Solution for CRM 2013

    Tuesday, June 10, 2014 7:22 AM
  • okay thanks dynamotion....
    Tuesday, June 10, 2014 7:23 AM
  • If you find a way to change that text, please do mention it here so others can benefit. :)

    Admin QuikView Solution for CRM 2013

    Tuesday, June 10, 2014 7:26 AM
  • okay sure... but its complicated 
    Tuesday, June 10, 2014 7:39 AM
  • Step1. Add your image in below folder

    C:\Program Files\Microsoft Dynamics CRM\CRMWeb\_imgs\Navbar

    Step 2. open css from below location

    C:\Program Files\Microsoft Dynamics CRM\CRMWeb\_controls\navbar\navbar.css.aspx

    Step 3. update image url from below code


    CSS on LOGO

    #navTabLogoImage
    {
    background-image:url("/_imgs/NavBar/NavBarLogo.png");
    background-repeat: no-repeat;
    width: 18px;
    height: 16px;
    vertical-align: middle;
    }

    .navTabButton.selected #navTabLogoImage, .navTabButton:hover #navTabLogoImage
    {
    background-image:url("/_imgs/NavBar/NavBarLogo_blue.png");
    background-repeat: no-repeat;
    width: 18px;
    height: 16px;
    vertical-align: middle;
    }

    Note : it will only update the icon not text .

    To change the text  you need to add below javascript:

    $(".navTabLogoText").html('Your company Name');

    in

    C:\Program Files\Microsoft Dynamics CRM\CRMWeb\main.aspx Page


    Hope this helps. ----------------------------------------------------------------------- Santosh Bhagat If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

    Tuesday, June 10, 2014 8:47 AM
  • Hi Santosh,

    I want to change logo as well as text.... 

    Tuesday, June 10, 2014 8:51 AM
  • Hi Aamir

    to change logo and text you can achieve in two steps.

    first change the text as below then change icon as i reply in early.

    To change the text  you need to add below javascript:

    $(".navTabLogoText").html('Your company Name');

    in

    C:\Program Files\Microsoft Dynamics CRM\CRMWeb\main.aspx Page


    Hope this helps. ----------------------------------------------------------------------- Santosh Bhagat If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

    Tuesday, June 10, 2014 10:17 AM
  • HI Santosh,

    Kindly tell me where I paste the script in main.aspx page. Please tell me actual step where i paste this script in main.aspx.

    $(".navTabLogoText").html('Your company Name');

    Tuesday, June 10, 2014 10:54 AM
  • Hello Santosh,

    Please tell me where I paste this below code code in main.aspx. Kindly tell me as soon as possible I will be thankful to you

    $(".navTabLogoText").html('Your company Name');

    Thursday, June 12, 2014 12:34 PM
  • Hi,

    Try including it in a script tag inside your main.aspx. Try adding it towards the end of the body tag, so that it executes at last once everything has loaded. Not sure if that would work because CRM interface seems to load in an asynchronous method, but you can try once.


    Admin QuikView Solution for CRM 2013

    Thursday, June 12, 2014 1:12 PM
  • Hi Dynamotion,

    Is it the right way to put the script in main.aspx??

    Friday, June 13, 2014 6:39 AM
  • Hi Aamir,

    Add like this:

    <script type="text/javascript">
    $(".navTabLogoText").html('Your company Name');
    </script> 

    Add this just before the </body> tag. Not sure if it will actually work since it's unsupported.


    Admin QuikView Solution for CRM 2013

    Friday, June 13, 2014 8:58 AM
  • Hi Dynamotion,

    Did you not check it yourself?

    Can we find that file where logo text is defined???

    Friday, June 13, 2014 9:07 AM
  • Hi Aamir,

    I found a way to change the logo image, but not the text. I didn't find any file where the text is defined, which is why the JavaScript to change the text at runtime. You can try injecting the JavaScript once to check if that actually works.


    Admin QuikView Solution for CRM 2013

    Friday, June 13, 2014 9:32 AM
  • Hi Dynamotion,

    Can we use developer tool like firebug for checking the file where logo text is defined...? what do you think?

    Friday, June 13, 2014 9:50 AM
  • Hi Aamir,

    I tried exactly that earlier but didn't find anything helpful.


    Admin QuikView Solution for CRM 2013

    Friday, June 13, 2014 10:03 AM
  • Hi Dynamotion,

    Can you use this below script earlier for changing logo text?

    <script type="text/javascript">
    $(".navTabLogoText").html('Your company Name');
    </script> 

    Friday, June 13, 2014 10:25 AM
  • Hi,

    Try this code, should work good:

    <script type="text/javascript">
    function changeCompanyName()
    {
    	if ($(".navTabLogoText") == null || $(".navTabLogoText").html() == null)
    	{
    		setTimeout(changeCompanyName, 1000);
    	}
    	else
    	{
    		$(".navTabLogoText").html('Your company Name');
    	}
    }
    
    changeCompanyName();
    </script>

    Add it just before the closing </body> tag in main.aspx, ideally after these lines:

    <cnt:AppNavBar id="crmAppNav" runat="server"></cnt:AppNavBar>
    <cnt:SplitterControl id="crmSplitterControl" runat="server"></cnt:SplitterControl>
    <cnt:ContentPanel id="crmContentPanel" runat="server"></cnt:ContentPanel>
    </div>
    <cnt:AppFooter id="crmFooter" runat="server"/>

    This is UNSUPPORTED and I take no responsibility for anything that might go wrong.


    Admin QuikView Solution for CRM 2013

    • Proposed as answer by Anupam Bishui Friday, June 13, 2014 12:00 PM
    • Unproposed as answer by Anupam Bishui Monday, June 16, 2014 5:46 AM
    Friday, June 13, 2014 10:49 AM
  • Hi Dynamotion,

    I used that script which is given by you. Its working but when I refresh the page or click on any entity then again microsoft dynamics logo text displays. Please tell me how to modify this script for display my custom logo text?

    Friday, June 13, 2014 6:43 PM
  • Hi Dynamotion,

    When I run crm first time Script is also run but when I click home page or any entity then script does not run. In short this script is only run on page refresh. 

    Friday, June 13, 2014 6:56 PM
  • You can try with this code:

    <script type="text/javascript">
    function changeCompanyName()
    {
         $(".navTabLogoText").html('Your company Name');
         setTimeout(changeCompanyName, 100);
    }
    
    changeCompanyName();
    </script>

    This will keep setting the value to your company name every 100 milliseconds. You can adjust that value based on CRM's load time. You might see the default text come at times, but it will be gone the next moment since the script would fire at regular intervals.


    Admin QuikView Solution for CRM 2013

    Saturday, June 14, 2014 7:20 PM
  • Hi Dynamotion,

    When I click on any entity then this script is not run because whole page is not refresh when click any entity. What do you think?

    Saturday, June 14, 2014 8:05 PM
  • Hi Aamir,

    Even if you open up any entity, your company name should be visible in place of the CRM text. If the page doesn't refresh, then there's no need for the script to execute since it has already done it's job when the page first loaded.

    Is the script not working for you? It works for me just as fine.


    Admin QuikView Solution for CRM 2013


    Monday, June 16, 2014 5:39 AM
  • Hi Dynamotion,

    Thank you for guide me. Its working fine

    Monday, June 16, 2014 5:42 AM