- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2017 12:29 AM
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
Regards
Deepti
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2017 12:39 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2017 12:39 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2017 10:51 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2017 11:24 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2017 11:47 PM
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