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

Hi,



Does this answer your query to display worknotes in HTML?



If I have answered your initial question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.



https://community.servicenow.com/docs/DOC-5601




Thanks


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


Hi

In integration also it will show the tabuler format ? from the other system they are trying to send the data in the format of tabuler in work notes?

 

Thank You .

vinothkumar
Tera Guru

Hi Deeps,



By default, ServiceNow escapes any HTML code you type in a journal field, and the text is saved exactly as it was entered. To specify HTML formatting in a journal entry, you can use the [code] tag, as follows:


 [code]<a href="http://www.service-now.com">ServiceNow</a>[/code] (this text will add a hyperlink to the URL)


 [code]<b> this text will be bold </b>[/code] 


 <b> but this text will not </b> (and the <b> tags will appear in the output) 

Note


Note: You can only use one set of code tags per journal entry. If you use two sets, the closing tag of the first set and the opening tag of the second set are ignored.


Using Journal Fields - ServiceNow Wiki


shloke04
Kilo Patron

Hi,



You can remove the HTML tags from your Work Notes field by setting this property "glide.ui.security.allow_codetag" as false.



But this would be a Global Change applied for all.



You cal also refer the below link:



http://wiki.servicenow.com/index.php?title=Disable_HTML_Tags_in_Descriptions#gsc.tab=0


How to remove HTML tags when attaching a KB-article to a ticket



Hope this helps.Mark the answer as correct/helpful based on impact.



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

deeps
Giga Contributor

hi Shloke ,


                                  I don't want the changes to happen globally .


Is there any other way apart from this?



Thanks


Deepti