CA Service Management

  • 1.  dtlHTMLEditbox doesn't work for ticket description

    Posted Aug 22, 2018 01:28 PM

    Hi friends,

    in SDM R 17.1 we tried to change default dtlTextBox for Incident Description field to dtlHTMLEditbox. It doesn't work - the editor itself seems to be OK - you can change text font, styles... but the OK button seems to be inactive - it simply doesn't return the text to the incident form.

     

    <PDM_MACRO name=dtlHTMLEditbox hdr="Description" attr=description colspan=3 rows=4 size=120>

     

    Strange is that the same works fine for new announcement.

     

    <PDM_MACRO name=dtlHTMLEditbox hdr="Text" attr=text colspan=4 rows=8 size=100 make_required=yes>

     

    Any ideas?

     

    Thanks,

    Jakub



  • 2.  Re: dtlHTMLEditbox doesn't work for ticket description

    Posted Aug 22, 2018 04:34 PM

    Hi,

    You must include the 'attmnt_upload.js' library in the HEAD section of the detail_***.htmpl forms that will use the DtlHTMLEditbox macro.

    <script language="JavaScript" src="$CAisd/scripts/attmnt_upload.js"></script>


  • 3.  Re: dtlHTMLEditbox doesn't work for ticket description

    Posted Aug 22, 2018 04:59 PM

    Hi Daniel,

    thanks a lot - it works fine

     

    Jakub



  • 4.  Re: dtlHTMLEditbox doesn't work for ticket description

    Posted Oct 26, 2018 01:45 PM

    Hi Daniel,

    I found that the solution doesn't work correctly on incident detail form.

     

    Everything seems to be OK until you try to edit the incident again.

     

    Here are the steps to reproduce the issue:

    1. make changes on detail_in.htmpl form as mentioned above (Description field and include the JS)

    2. open incident and fill any text in the description field (you don't even need to use html formatting) and save it

    3. click on Edit - the description field is blank.

     

    It works fine on detail_alg form, but wasn't able to get it to work on detail_in.

     

    SDM r17.1



  • 5.  Re: dtlHTMLEditbox doesn't work for ticket description

    Posted Mar 22, 2019 01:54 PM

    Hello friends,

    any ideas on this topic?

     

    Thank you,

    Jakub