Clarity Service Management

Expand all | Collapse all

list_cnt.htmpl page show filter fields by default.

Jump to Best Answer
  • 1.  list_cnt.htmpl page show filter fields by default.

    Posted 28 days ago

    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.

    Posted 27 days ago
    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 27 days ago
    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 27 days ago
    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 26 days ago
    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 24 days ago
    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 24 days ago
    Many Thanks Marc

    it worked. :)