CA Service Management

 View Only
  • 1.  Custom Tag fields in Document Templates

    Posted Sep 29, 2014 05:00 PM

    In SDM 12.1 my customer has created document templates that include custom tag elements.  i.e.  First Call Resolution opportunity which has a tag value of {TAG_z_fcr}.  This seems to work fine in 12.1 but I try the same in the 12.9 system with the same fields added to the skeletons table, it just shows up on the document as {TAG_z_fcr}.  It doesn't parse out the value and display it on the document in user view.  Any ideas?

    Thanks,

    Kevin



  • 2.  Re: Custom Tag fields in Document Templates

     
    Posted Oct 01, 2014 06:27 PM

    Hi All - Any ideas here for Kevin? Thanks! Chris

    Kevin Gerber wrote:

     

    In SDM 12.1 my customer has created document templates that include custom tag elements.  i.e.  First Call Resolution opportunity which has a tag value of {TAG_z_fcr}.  This seems to work fine in 12.1 but I try the same in the 12.9 system with the same fields added to the skeletons table, it just shows up on the document as {TAG_z_fcr}.  It doesn't parse out the value and display it on the document in user view.  Any ideas?

    Thanks,

    Kevin



  • 3.  Re: Custom Tag fields in Document Templates

    Posted Oct 02, 2014 01:57 AM

    Hi Kevin

    Could you check the output of

    bop_sinfo -dq KD | find /i "fcr"

    Does the output shows zfcr or is it z_fcr?

    If its zfcr then you will have to change the TAG to TAG_zfcr

     

    Open the ddict.sch file and verify if the SKELETONS object has the column z_fcr

     

    Regards

    Nas



  • 4.  Re: Custom Tag fields in Document Templates

    Posted Oct 02, 2014 11:08 AM

    Thanks for the idea, but the field is z_fcr in the ddict.sch file.



  • 5.  Re: Custom Tag fields in Document Templates

    Posted Oct 03, 2014 01:04 AM

    Hi Kevin

    I tried this on my R12.9 with C1 patches installed and the problem is reproducible. Could you open a Support ticket with the steps to reproduce the issue. Also attach the NX.env, <servername>.his and GENLEVEL files to the issue. We should be transferring this issue to the Sustain Engineering (SE) Team for a bug fix.

    Please mark this thread as helpful and close this thread.

     

    Regards

    Nas



  • 6.  Re: Custom Tag fields in Document Templates

    Posted Oct 07, 2014 10:52 AM

    I have opened an issue and attached the files.



  • 7.  Re: Custom Tag fields in Document Templates
    Best Answer

    Broadcom Employee
    Posted Oct 07, 2014 05:32 PM

    Kevin,

     

    As we discussed in the support case, I was able to get it working, but there was a requirement of including a customization into the kt_document_template.htmpl as well, like:

     

    In the kt_document_template.htmpl there is a line:

     

    var arrDocument = sDocument.split("{TAG_z_fcr}");

    sDocument =

    arrDocument.join(highlightSearchTerms("$args.KEEP.ebr_parsed_search_text",

    '<PDM_FMT ESC_STYLE=C>$args.z_fcr.sym</PDM_FMT>'));