CRM 2011- Hide ribbon Button and Field Very Slow RRS feed

  • Question

  • Hi

    I am facing an issue in CRM 2011.I have added 3 Button on Ribbon in CRM 2011 through Pragma Tool Kit.

    My requirement is hide two button On Page Load means 2 button will not show when page load.

    I hide button through JavaScript and it working fine but problem is when page load CRM will show All buttons then rendor javascript and button Hide.

    I want to button and filed will be hide before the complete page load. 

    Wednesday, April 2, 2014 9:21 PM

All replies

  • Hello,

    Could you share more details how you are doing this ??

    Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Thursday, April 3, 2014 12:01 AM
  • I have customer Entity in CRM 2011 where I Add 3 buttons through Pragma Toolkit in Ribbon.

    and I have use the following JavaScript on Customer Page Load.

    var btn = top.document.getElementById("btnid");
    btn.style.display = 'none';

    Scenarios are given below

    this is existing flow which I don't want

    -Load Customer page
    -Show All button for 5 Second
    -render JavaScript
    -Hide All button

    this is actual flow which I want

    -Load Customer page
    -render JavaScript
    -Hide All Button


    Thursday, April 3, 2014 11:41 AM
  • Hi hadiyat,

    I believe the JavaScript you are using for the purpose of hiding the button is not supported. For a supported approach, use display rules instead for the ribbon element:




    Thursday, April 3, 2014 12:25 PM