CA Service Management

 View Only
  • 1.  list_cnt.htmpl page show filter fields by default.

    Posted Jun 20, 2019 07:22 AM

    HI Team

     i need some modification in list_cnt.htmpl page. once we click on SHow FILTER button, below highlighted fields appear. we want this to be availble by default when the user comes on this page despite of clicking button. how can we do that?






    #caservicedesk17.0 


  • 2.  RE: list_cnt.htmpl page show filter fields by default.

    Broadcom Employee
    Posted Jun 21, 2019 01:18 AM
    Can you elaborate further? You want search filter to be available by default when you launch this page? list_cnt.htmpl can be navigated from different pages.

    Providing steps to reproduce and expected behavior would help.

    ------------------------------
    Broadcom Inc
    ------------------------------



  • 3.  RE: list_cnt.htmpl page show filter fields by default.

    Posted Jun 21, 2019 02:39 AM
    Can you elaborate further? You want search filter to be available by default when you launch this page? list_cnt.htmpl can be navigated from different pages.

    Providing steps to reproduce and expected behavior would help.


    Yes exactly, i want search filter to be available by default when list_cnt.htmpl page trigger from any where. 

    Actually this is for specific web form group so it will be for only for 1 team who uses this specific role.

    Many Thanks



  • 4.  RE: list_cnt.htmpl page show filter fields by default.
    Best Answer

    Posted Jun 21, 2019 06:05 AM
    hi,

    replace detail_cnt.htmpl's 
    <body class="list" onload="lstCntOnLoad();">
    with
    <body class="list" onload='lstCntOnLoad();<pdm_if "$SESSION.ROLE_ID" == "here your role id">__search_filter.toggleVisibility()</pdm_if>'>

    regards, 
    marc


  • 5.  RE: list_cnt.htmpl page show filter fields by default.

    Posted Jun 22, 2019 10:24 AM
    Hi marc

    Thanks for your reply

    i do not see below code in detail_cnt.htmpl but this is present on list_cnt.htmpl
    <body class="list" onload="lstCntOnLoad();">


    SO i replaced above code in list_in.htmpl for employee role. and i put the code in below code but after publish, i still need to click filter button to see the fields.

    Please advise

    <body class="list" onload='lstCntOnLoad();<pdm_if "$SESSION.ROLE_ID" == "HREMP">__search_filter.toggleVisibility()</pdm_if>'>





  • 6.  RE: list_cnt.htmpl page show filter fields by default.

    Posted Jun 24, 2019 07:49 AM
    list_cnt.htmpl, you are right :)

    you have to use, the id, not the code


  • 7.  RE: list_cnt.htmpl page show filter fields by default.

    Posted Jun 24, 2019 01:18 PM
    Many Thanks Marc

    it worked. :)