CA Service Management

  • 1.  Hide Tab based on Category

    Broadcom Employee
    Posted Sep 06, 2018 08:29 AM

    Hi ALL

    customer wants to hid the tab based on the category in change order.

    can anyone share the code.

    regards

    arif 



  • 2.  Re: Hide Tab based on Category

    Posted Sep 06, 2018 11:03 AM

    Hi Muhammad,

    There a similar request:

    https://communities.ca.com/thread/241759070

     

    It is not 100% your request but there is the code to hide a field based on Category



  • 3.  Re: Hide Tab based on Category

    Broadcom Employee
    Posted Sep 10, 2018 01:51 AM

    HI

    this is based on the check box,however I am looking the example or code which based on category and it will hide the tab, for example "Properties Tab" 

    Regards



  • 4.  Re: Hide Tab based on Category
    Best Answer

    Posted Sep 10, 2018 07:55 AM

    Hi,

    The example provided by Sefoudine FIDAHOUSSEN must do you trick

    see the part below extracted:

    <pdm_if "$args.category.sym" == "CategoryName">

    <pdm_macro name=dtlCheckbox attr=attribute hdr=header>

    </pdm_if>

    in your case you will just specify the tab to hide instead of the checkbox. that'it

    like in the example below for the properties tab

     

    <pdm_if "$args.category.sym" == "CategoryName">

    <PDM_MACRO name=tab title="Properties" file="xx_prop_tab.htmpl">

    </pdm_if>

    Hope this help.

    \J



  • 5.  Re: Hide Tab based on Category

    Broadcom Employee
    Posted Sep 12, 2018 10:20 AM

    arimu02 

    Do you need any further assistance on this topic?

     

    If not, please mark one of the provided answers as correct so that this thread can be closed.