Hide General Tab in MSCRM 2011 RRS feed

  • Question

  • Hi

    I have a requirement like I’m hiding the General Tab of the custom form

    In my form I have 2 tabs one is General and another one is Pending Status
    In pending Status Tab I have one attribute which is a pick list Update Status

    Value s are Active = 100000000 ,
    100000001 and
    Pending =

    Whenever I’m selecting the value in the picklist = Inactive I need to hide the General Tab
    My code is

    var UpdateStatus = Xrm.Page.getAttribute("new_updatestatus").getValue();

            if (UpdateStatus == 100000000) {



            else {



    Its working fine but whenever I made the Update Staus value readonly function is not working I'm able to see all the Tabs instead of Pending Status Tab

    Please let me know how will I rectify this problem.


    Thanks, Toushu

    • Edited by Rahul-22 Friday, February 7, 2014 11:51 AM
    Friday, February 7, 2014 11:50 AM

All replies

  • hi

    On tab property of General Tab make it visible by default.

    Show it only when you want to show it.

    In that case, it will be always hidden except for the cases where you enable it by script.

    Friday, February 7, 2014 11:59 AM
  • Hi,

    I made the General Tab by default visible = false and excecuted the Jscript
    Script is working fine but my concern is whenever I was made the attribute = Readonly all tabs are showing instead one Tab.


    Thanks, Toushu

    Friday, February 7, 2014 12:30 PM