CA Service Management

 View Only
  • 1.  How i can make a custom button for copying tickets?

    Posted Sep 25, 2018 10:06 AM

    Enviroment:

    W SVR 2012 R2

    SDM 14.1 

     

    The target: 

    Make a button that copy a request, and the attached fields, and the properties.

    I read this How to Copy Entries in Custom LRel table  with this i can copy the attached fields of the tickets (with rigth click-copy) but i want to have the same function in a button directly in detail_cr.

     

    the obstacle: i don't know how to call the function copy_cr_site in the button that i created.

    i make this..

    <PDM_MACRO name=button Caption="Crear copia[!eaI]" Func="copy_cr_site()" hotkey_name="Create copia[!eaI]" ID=ITIL_REQUEST> but it doesn't work.

     

    Please help.



  • 2.  Re: How i can make a custom button for copying tickets?
    Best Answer

    Posted Oct 12, 2018 01:48 PM

    Hi @varelafpy,

    why you don't use make_copy() OOTB function. I think if you use make_copy() copy_cr_site() is executed.

    <PDM_MACRO name=button Caption="Crear copia[!eaI]" Func="make_copy()" hotkey_name="Create copia[!eaI]" ID=ITIL_REQUEST>

    Regards,

    Carlos



  • 3.  Re: How i can make a custom button for copying tickets?

    Posted Oct 12, 2018 03:11 PM

    Thanks Carlos!

    It works.