want Work notes display in Tabular format

deeps
Giga Contributor

Hi ,

        In Work notes when Engineer saves notes it is displayed in html format,instead I want it to be displayed in tabular format as below ,tried to make some changes into some system properties related to html but it didn't help.

Any help related this highly appreciated
      find_real_file.png

find_real_file.png
 
 
 
 
 
  Regards

Deepti
 
 
 
 
 





1 ACCEPTED SOLUTION

Alikutty A
Tera Sage

Hi,



You should add the HTML content in <code> block and update it in work notes.



Please see Formatting within Journal fields using HTML & [code]



Once HTML is added in a code block, the texts will be rendered properly in the required format.



Here is a small sample for table code



[code]<table border ="1"><tr><td>Row</td><td>Name</td><td>Id</td></tr> <tr><td>1</td><td>Steve</td><td>1234</td></tr> </table>[/code]



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


View solution in original post

15 REPLIES 15

Alikutty A
Tera Sage

Hi,



You should add the HTML content in <code> block and update it in work notes.



Please see Formatting within Journal fields using HTML & [code]



Once HTML is added in a code block, the texts will be rendered properly in the required format.



Here is a small sample for table code



[code]<table border ="1"><tr><td>Row</td><td>Name</td><td>Id</td></tr> <tr><td>1</td><td>Steve</td><td>1234</td></tr> </table>[/code]



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


deeps
Giga Contributor

Hi ,


        As new to SN, can you please tell me exactly where I need to do changes as mentioned above ,so that every time if anyone copy and paste the tabular data in work notes will be seen as it is ,without html format.



Thanks


Deepti


Hi Deeps,



If this is some custom format used by all of your engineers when working on tickets, then you can generate the format using a UI Action to place this text on the work notes. In the UI Action, you should run the code on client side and add this line



g_form.setValue('work_notes', '[code]<table border ='1'><tr><td>Row</td><td>Name</td><td>Id</td></tr> <tr><td>1</td><td>Steve</td><td>1234</td></tr> </table>[/code]');



The text will be placed on work notes and once engineer saves it will be saved to ticket.



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


Can you clarify more about your requirement and exact use case?



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response