CA Service Management

  • 1.  Modify create change request function button from request

    Posted Mar 18, 2019 01:05 PM

    Hello guys,

    I need some help with this:

     

    Whenever someone creates a change request from create change request button the create request already start with both description and summary filled. Is there a way for it to start blank? I know I could create using another button, but then the request would not be automatically linked with the change request.

     

     

    I've managed to see that this button performas an JS function "detail_save(NEW_CHANGE) but I'm not able to see this function.



  • 2.  Re: Modify create change request function button from request

    Posted Mar 20, 2019 05:21 AM

    Hi,

     

    Value to be copied can be managed in the tmplcopy_site.spl.

    Copy the files from the bopcfg/magic folder into your site/mods/magic folder and modify to your needs by adding the necessary to the corresponding section such as

     

    new.summary=NULL;

    new.description=NULL;

     

    In addition and for certain case, you can also make exception directly inside the detail_xx.htmpl form by modifying exception the copy_from_cr function below

     

    function copy_from_cr()
    {
       if ("$args.KEEP.MAKE_COPY" == "1")
       {
          var exceptions = new Array();
       exceptions[0] = "SET.customer";
       exceptions[0] = "SET.requested_by";
       detailCopyEditForm(exceptions);
       }
    }
       

    Hope this help.

     

    \J



  • 3.  Re: Modify create change request function button from request

    Posted Apr 12, 2019 09:13 AM

    Hello Jerome, I think that this spell is only for the copy button. the button in which I need to change the behaviour is the create change request from inside an incident or request