Quick messages showing HTML content in the agent workspace while composing email

Swarnarghya
Tera Expert

I created few quick message which contains rick text, images and other HTML content. Now in the agent workspace when i am composing an email and trying to insert that quick message it is showing the html content in the box like below highlighted in yellow. is there any way to hide the html text in agent workspace

find_real_file.png

1 ACCEPTED SOLUTION

Hi,

it worked for me with image in agent workspace

Did you check that image is having issue?

try to use Attachment to show the image

find_real_file.png

<td class="td1tab2"><span style="font-family: arial, helvetica, sans-serif; font-size: 8pt;"><img style="align: baseline;" title="" src="sys_attachment.do?sys_id=e589591e073401102011ff208c1ed051" alt="" width="171" height="101" align="baseline" border="" hspace="" vspace="" /></span></td>

find_real_file.png

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

12 REPLIES 12

Try to put tabs in your html source code it won't work. Like this:

.tab1{
  width: 62%; background-color: #fff; margin-left: 200px; margin-right: 150px;
 }
 .tab2{
  width: 100%;
 }

Hi,

can you share complete html source code?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

<p></p>
<style>
.tab1{
width: 62%; background-color: #fff; margin-left: 200px; margin-right: 150px;
}
.tab2{
width: 100%;
}
.tr1tab2{
height: 10px;
}
.td1tab2{
height: 5px; width: 100%; border-bottom: 1px solid #666666; background-color: #101010; text-align: left;
}
.tr2tab2{
height: 51px;
}
.td2tab2{
color: #000; background-color: #f6f6fb; text-align: left; padding: 25px 30px 40px 30px; height: 51px;
}
.tr3tab2{
height: 50px;
}
.td3tab2{
color: #ffffff; width: 100%; height: 35px; background-color: #f6f6fb; text-align: left; font-size: 6px; padding: 0px 5px 0px 5px; font-family: Arial;
}
.footerdiv{
width: 100%;
text-align: center;


}
.footerdiv1stSpan{
color: #000000;
font-size: 7.5pt;
font-family: arial, helvetica, sans-serif;
width: 100%;
text-align: center;


}
.footerdiv2ndSpan{
color: #000000;
font-size: 6pt;
font-family: arial, helvetica, sans-serif;
text-align: center;


}
@media (max-width: 768px) {
.tab1{
width: 90%; background-color: #fff; margin-left: auto; margin-right: auto;
}
}
</style>
<table class="tab1">
<tbody>
<tr>
<td>
<table class="tab2">
<tbody>
<tr class="tr1tab2">
<td class="td1tab2"><span style="font-family: arial, helvetica, sans-serif; font-size: 8pt;"><img style="align: baseline;" title="" src="ey_notification_logo.jpg" alt="" width="171" height="101" align="baseline" border="" hspace="" vspace="" /></span></td>
</tr>
<tr class="tr2tab2">
<td class="td2tab2">
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 8pt;"> Dear ${caller_id.name}, </span></p>
<p><span style="font-family: arial, helvetica, sans-serif; font-size: 8pt;">Thank you for contacting servicedesk support. We have your ticket, and we would like to work with you to resolve this issue at a time convenient to you.</span></p>

Hi,

did you try removing images and check

I removed image from the HTML table tag and it worked fine

find_real_file.png

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Yes that works but we are required to keep them. In the native view its working but in agent workspace it is showing. Is there any way to hide them?