CA Service Management

  • 1.  Spectrum template issue

    Posted Jan 15, 2019 04:23 AM

    Hi Team

     

    Our servicedesk integrated with ca spectrum and we geting notification from spectrum like below. we have a concern about Summary field 'Create request from template 'spectrum_template''.

     

    this field should show the detail as in below description. Pls advise

     

     



  • 2.  Re: Spectrum template issue
    Best Answer

    Posted Jan 15, 2019 08:47 PM

    You might be able to copy the description to the summary using 'tmplcopy_site.spl'.  Copy the out-of-box 'tmplcopy_site.spl' from bopcfg\majic to site\mods\majic, edit the function 'cr::make_from_template_site' and add the following lines:

     

    if (new.summary == "Create request from template \'Spectrum_Template\'") {

       new.summary = new.description;

    }

     

    Restart the SDM service to apply the change.  The description will of course be truncated when it is copied to the summary field.

    Hope that helps.

    Regards,

    James



  • 3.  Re: Spectrum template issue

    Posted Jan 16, 2019 04:19 AM

    Hi James

     

    Thankyou for your input.

     

    What do you mean by "The description will of course be truncated when it is copied to the summary field.??"

     

    i believe the data should be available in description field also. 



  • 4.  Re: Spectrum template issue

    Posted Jan 16, 2019 04:40 AM

    You're welcome.  Summary is 255 characters whereas description can hold up to 4000 characters, so only the first 255 characters of the description will appear in the summary.



  • 5.  Re: Spectrum template issue

    Posted Jan 16, 2019 05:40 AM

    Thanks james. I will do that as yo advised.



  • 6.  Re: Spectrum template issue

    Posted Jan 21, 2019 02:12 AM

    HI James

     

    i have copied the modified tmpl file like below and recycle the service but after that Background application was not login. however application server was login. 3 services was not running after recycle .

     

     

    so i removed this file from site folder and recycle the services. Pls advise wt could be issue?

     

     

     



  • 7.  Re: Spectrum template issue

    Posted Jan 21, 2019 03:18 AM

    Hi La-Qa,

    my mistake, sorry.  The single quotes in the string do not need to be escaped.  Please use this syntax instead:

    if (new.summary == "Create request from template 'Spectrum_Template'")
    {
            new.summary = new.description;
    }

    Regards,

    James



  • 8.  Re: Spectrum template issue

    Posted Jan 21, 2019 11:26 AM

    Hi James

     

    again same issue, those 3 services are not running after recycle the service and background server is not able to login

     

    can you advise in the script if its copied not in correct function.?

     

    Many thanks

     

     

     

     



  • 9.  Re: Spectrum template issue

    Posted Jan 21, 2019 08:54 PM

    Silly of me not to have noticed this before - but you need to put those lines in after the declaration of 'new'...  Move them to after the 'logf' but before the 'return' statement.

    Cheers,

    James