locked
enable the ribbon using Javascript in MS CRM 2013 RRS feed

  • General discussion

  • Hello All,

    I want to enable the ribbon using Javascript in MS CRM 2013. I followed below code which worked in MS CRM 2011, but its not working in MS CRM 2013. Can any help me on the same.

    Senario-1
    ---------
    var buttonID = "email|NoRelationship|Form|Mscrm.Form.email.ApplyTemplate-Large"; // id of ribbon button
    var btn = window.top.document.getElementById(buttonID);
    if(btn)
    {
       btn.disabled = true;
    }
    
    
    Senario-2
    ---------
    btn.style.display='none';
    

    Regards,

    Kumar R

    Friday, January 17, 2014 2:41 PM

All replies

  • Can any one help me on this, as i need to fix the issue ASAP...

    Saturday, January 18, 2014 3:31 PM
  • I am closing this discussion, as we found the work around for this.

    Thanks

    Kumar R

    Wednesday, January 29, 2014 7:37 AM
  • What is the solution for this??
    Wednesday, January 29, 2014 10:16 AM