CA Service Management

  • 1.  How to hide priority 1 and 2 from list_cr.htmpl and list_chg.htmpl pages

    Posted Jun 12, 2017 03:49 AM

    I would like to hide priority 1 and priority 2 from list_cr and list_chg.htmlpl pages.

     

    I have successfully hide priority in detail_cr.htmpl and detail_chg.htmpl pages adding whereclause .

     

    However when I tried to add whereclause in list _cr breaks the page .

    Kindly provide solution for the same.

    Regards,

    Kripeshp



  • 2.  Re: How to hide priority 1 and 2 from list_cr.htmpl and list_chg.htmpl pages

    Posted Jun 12, 2017 04:35 AM

    Hi Kripeshp,

     

    Please see a similar thread where this is discussed:

     

    How we can set priority level from 1- 5  to 1-3.none. 

     

    Kind Regards,

    Brian



  • 3.  Re: How to hide priority 1 and 2 from list_cr.htmpl and list_chg.htmpl pages

    Posted Jun 12, 2017 06:00 AM

    Hi Brian,

    Thanks for update however above thread is all about hiding priority value in detail_cr pages.

    I want to hide priority in list_cr page.

    Regards,

    Kripesh



  • 4.  Re: How to hide priority 1 and 2 from list_cr.htmpl and list_chg.htmpl pages

    Posted Jun 12, 2017 07:36 AM

    then just remove the column in the corresponding  form:  list_cr.htmpl

    /J



  • 5.  Re: How to hide priority 1 and 2 from list_cr.htmpl and list_chg.htmpl pages

    Posted Jun 12, 2017 07:39 AM

    sorry was too fast..

    if you want to only hide specific priority from the list you will need to add a where clause.

    then two options:

    1/ you add the where clause to the link that call the page using an additional_where arguments.

    2/ you recreate the list_cr form using your own pdm_list tag

     

    Hope this help

    /J



  • 6.  Re: How to hide priority 1 and 2 from list_cr.htmpl and list_chg.htmpl pages

    Posted Jun 12, 2017 08:45 AM

    Hi Kripesh,

     

    All you have to do is to apply the same concept on the list_cr.htmpl. Alternatively use a data-partition as advised on the other thread.

     

    Kind Regards,

    Brian



  • 7.  Re: How to hide priority 1 and 2 from list_cr.htmpl and list_chg.htmpl pages

    Posted Jun 12, 2017 03:53 PM

    hum... create a new access type with new role on it... adjust the stored queries in SDM not to display the P1-P2 and so update the ScoreBoard?

     

    No code on page, stay out of the box and keep all vanilla fonctionnality?

     

     

     

     



  • 8.  Re: How to hide priority 1 and 2 from list_cr.htmpl and list_chg.htmpl pages
    Best Answer

    Posted Jun 13, 2017 08:47 AM

    Hi,

     

    Maybe following code is help you;

     

    you can remove the below code in list_cr.htmpl file

    <PDM_MACRO name=sfDropdown hdr="Priority" attr="priority" factory=pri>

     

    then add this code same place

    searchFilterDropdown("Priority","priority","","Medium","3","Medium-Low","4","Low","5");

     

    Best Regards,

     

    Türker



  • 9.  Re: How to hide priority 1 and 2 from list_cr.htmpl and list_chg.htmpl pages

    Posted Jun 16, 2017 07:05 AM

    Hi Turner,

    Thanks a lot.

    Searchfilter worked.

    Cheers.