CA Service Management

  • 1.  Remove buttons of employee web form

    Posted Apr 05, 2017 06:56 PM

    Hi Everyone,
    I'm working with CA SDM version 12.9 and need to customize the web form to remove buttons.
    The form that we want to customize is part of the Employee.


    We have reviewed the web form of detail_in, list_in, home and the relationships it has. in the peth of employee


    but I have not had success. You can support me with the name of web form or codigo line, that need we modify.

    Attached screen, of the button we wish to hide.
    Regards,
    Marco Velazquez.



  • 2.  Re: Remove buttons of employee web form

    Posted Apr 06, 2017 02:30 AM

    Hi Marco,

     

    If you know button name you can use this code

     

    ImgBtnHideButton( "btn001" );

     

    If you know button id, you can use following jquery code

     

    jq('#imgBtn1').hide();

     

    best regards,

     

    Türker



  • 3.  Re: Remove buttons of employee web form

    Broadcom Employee
    Posted Apr 06, 2017 03:16 AM

    Hi Marco,

    As the Turker suggesstion you can find this code for "Reopen Incident".

     ImgBtnCreate("btn003","Reopen_Incident", "reopen_incident()", "defer", 0);

    You may use his suggestion to hide the button.

    ~Vinod.



  • 4.  Re: Remove buttons of employee web form
    Best Answer

    Broadcom Employee
    Posted Apr 06, 2017 03:23 AM

    Hi Marco,

    There exist similar thread for the same requirement : 

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

     

    Two ways you can achieve it.

     

    1) From Employee htmpl forms on detail_in.htmpl\detail_cr.htmp, comment the below lines.

     

               // if (!bUseTransitionButtons) {

                 //   ImgBtnCreate("btn003","Reopen_Incident", "reopen_incident()", "defer", 0);

                //}

     

    2) Employee Data partition on pre-update constraint type on call_req to have additional where class as status !='CL'.

     

    ~Vinod.



  • 5.  Re: Remove buttons of employee web form

    Broadcom Employee
    Posted Apr 10, 2017 03:13 AM

    Hi Marco,

    Was the provided suggesstion of any helpful ?

    ~Vinod.