"тнιѕ вℓσg ¢συℓ∂ ѕανє уσυя мσηєу ιƒ тιмє = мσηєу" - ∂.мαηנαℓу

Wednesday 30 March 2011

How to Hide / Show a Tab in CRM 2011 using Javascript OR Toggle visibility of Tab in CRM 2011

Code snippet to show or hide a tab on the entity form in CRM 2011 using javascript.

To show a tab:

Xrm.Page.ui.tabs.get("yourtabname").setVisible(true);


To hide a tab:
Xrm.Page.ui.tabs.get("yourtabname").setVisible(false);

4 comments:

  1. Dear all,

    anyone know how to create 2 tier of picklist.

    Please advise !

    many thans,
    tararith

    ReplyDelete
  2. Not sure what you meant by 2 tier. But refer this please http://crmdm.blogspot.com/2011/02/how-to-filter-picklist-based-on-another.html

    ReplyDelete
  3. Dear all,

    The 2 tier picklist refer to picklist contain sub-items. it looks like below:
    Account(Dept)
    AR
    AP
    Sales(Dept)
    Quote
    Order
    anyone has experience on this, please help advise !
    many thanks,
    tararith

    ReplyDelete
  4. Use the dependent optionset code available in the SDK. I have used it many times and it works like a charm.

    ReplyDelete