locked
Reorder Left navigation links RRS feed

  • Question

  • HI all,
    It is possible to have a custom order of the links from the left navigation of the account screen(Information, Activities, History and so on)?

    thanks!
    Thursday, February 11, 2010 3:03 PM

Answers


  • Hi,

    It is possible to order left navigation tabs. The sample code below will need to be pasted on the form load of the opportunity form. You will need to modify the code to add other elements you want to order. (This is just a quick sample.)

    You'll need to know the name of each element you want to order. You can get the name by using the IE developer toolbar.


    Hassan.

    //Code below.

    var parentEl;
    var ProductsEl;
    var WorkflowEl;
    var RelationshipsEl;


    getEl = function(elemName)
    {
      return document.getElementById(elemName)
    }

    ApplyLeftNavOrderChanges = function()
    {
     if (getEl("navInfo") == null) { return; }
     parentEl = getEl("navInfo").parentElement.parentElement; //Information tab.
     ProductsEl = getEl("navProducts").parentElement; //Products tab.
     WorkflowEl = getEl("navAsyncOperations").parentElement; //Workflow tab.
     RelationshipsEl = getEl("navRelationship").parentElement; //Relationship tab.

     //Start with the parent element and add child nodes.
     parentEl.insertBefore(ProductsEl, RelationshipsEl.nextSibling);
     parentEl.insertBefore(WorkflowEl, ProductsEl.nextSibling);
    }

    //Call on formload.
    ApplyLeftNavOrderChanges();


    Hassan Hussain | http://hassanhussain.wordpress.com/ | http://www.mscrmvirtualusergroup.com/
    • Proposed as answer by Hassan Hussain Thursday, February 11, 2010 3:31 PM
    • Marked as answer by Irinel Crm Friday, February 12, 2010 9:32 AM
    Thursday, February 11, 2010 3:31 PM
  • in case you want to do this in unsupported manner please check followng link
    http://mscrm-chandan.blogspot.com/2009/08/reorder-navigation-items-in-mscrm-40.html

    • Marked as answer by Irinel Crm Friday, February 12, 2010 9:33 AM
    Thursday, February 11, 2010 3:32 PM
    Answerer

All replies

  • I guess you can not reorder left navigation of account screen in supported manner. you can reorder any custom entity that get displayed in this navigation but no the CRM out of the box.
    Thursday, February 11, 2010 3:30 PM
    Answerer

  • Hi,

    It is possible to order left navigation tabs. The sample code below will need to be pasted on the form load of the opportunity form. You will need to modify the code to add other elements you want to order. (This is just a quick sample.)

    You'll need to know the name of each element you want to order. You can get the name by using the IE developer toolbar.


    Hassan.

    //Code below.

    var parentEl;
    var ProductsEl;
    var WorkflowEl;
    var RelationshipsEl;


    getEl = function(elemName)
    {
      return document.getElementById(elemName)
    }

    ApplyLeftNavOrderChanges = function()
    {
     if (getEl("navInfo") == null) { return; }
     parentEl = getEl("navInfo").parentElement.parentElement; //Information tab.
     ProductsEl = getEl("navProducts").parentElement; //Products tab.
     WorkflowEl = getEl("navAsyncOperations").parentElement; //Workflow tab.
     RelationshipsEl = getEl("navRelationship").parentElement; //Relationship tab.

     //Start with the parent element and add child nodes.
     parentEl.insertBefore(ProductsEl, RelationshipsEl.nextSibling);
     parentEl.insertBefore(WorkflowEl, ProductsEl.nextSibling);
    }

    //Call on formload.
    ApplyLeftNavOrderChanges();


    Hassan Hussain | http://hassanhussain.wordpress.com/ | http://www.mscrmvirtualusergroup.com/
    • Proposed as answer by Hassan Hussain Thursday, February 11, 2010 3:31 PM
    • Marked as answer by Irinel Crm Friday, February 12, 2010 9:32 AM
    Thursday, February 11, 2010 3:31 PM
  • in case you want to do this in unsupported manner please check followng link
    http://mscrm-chandan.blogspot.com/2009/08/reorder-navigation-items-in-mscrm-40.html

    • Marked as answer by Irinel Crm Friday, February 12, 2010 9:33 AM
    Thursday, February 11, 2010 3:32 PM
    Answerer