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

deeps
Giga Contributor

Hi ,


        No its not custom format ,some of our Engineers uses tabular format others don't ,that all depends on the data provided by customer.


So wanted some solution where work notes will accept any format tabular or non tabular (Plain text) i.e as it is pasted should be saved.


Ok, so it should work if you add a proper html text in the code block. The engineers will have to add it before pasting it to work notes. Does this satisfy your requirement?



[code] YOUR_HTML_TEXT [/code]



Thanks


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


deeps
Giga Contributor

Is by any way instead Engg adding [code] html text [/code] everytime   ,can it can be fixed ? whatever be the data format tabular or non tabular .




thanks


Deepti


If you need to render HTML, code tag should be used. If you don't want the engineers to use it, you can check if this workaround provides you a solution?



Add a checkbox "Add work notes in HTML" near to the work notes field. When the field is checked and engineer adds HTML in work notes, you should write a before business rule which appends the code tags on work notes field before it is updated. If the checkbox is not marked, then it will add work notes as plain text. Let me know if this work outs.



current.work_notes = "[code]" + current.work_notes + "[/code] ":



Thanks


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


How to Add a checkbox "Add work notes in HTML" near to the work notes field. From where it should be added and mark checkbox?

UmaBabuji_0-1709235305085.png