The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Set default font and size of Email Client

Carl Fransen1
Kilo Sage

Hi Team,

My HR Team have a standard font and size for their correspondence to out companies employees.

When we use the Email Client (through the three dots)

find_real_file.png

the HTML font is always with no formatting and very small:

find_real_file.png

Even if I use a 'Quick message' it doesn't force any additional text to the same font.

Has anyone figured out a way to set this to a standard font, like Arial 12 or similar?

 

Thanks

Carl.

 

1 ACCEPTED SOLUTION

felladin
Tera Guru

Hello,

Create a client template for the table (and set additional conditions if needed).
In th client template, open the script part and add:

<style type="text/css"><!--
p {
 font-size: 24px;
 }
--></style>
<p></p>

Of course adjust to what you need. As ServiceNow always adds <p> around all text, this will set standard type for that text unless told otherwise.

Hope this helps and resolves your issue.

With regards
Anton Vettefyr

View solution in original post

5 REPLIES 5

felladin
Tera Guru

Hello,

Create a client template for the table (and set additional conditions if needed).
In th client template, open the script part and add:

<style type="text/css"><!--
p {
 font-size: 24px;
 }
--></style>
<p></p>

Of course adjust to what you need. As ServiceNow always adds <p> around all text, this will set standard type for that text unless told otherwise.

Hope this helps and resolves your issue.

With regards
Anton Vettefyr

Hi,

Thanks for the reply - although i tested this and it doesn't seem to work.  There isn't a 'script' box inside the client template, but i entered in as per below:

 

find_real_file.png

 

The email received showed this:

find_real_file.png

 

Any ideas...?

 

Thanks

Carl.

 

Hello,


Sorry, wrong of me. I saw in your screenshot that the field in your Client Template is "Body Text" instead of "Body HTML".
You need to change "Content Type" from Plain Text to HTML.

That lets you edit the HTML for notifications and templates (and all fields with the tinyMCE HTML editor options).
I can't see if you have the option from your screenshot (in our OOB Client Template form it's almost at the top).

This should let you set the code for your notification.

With regards
Anton Vettefyr

Thanks Anton - changing to HTML worked a treat, didn't even know there was a plain and html version...

 

Appreciate your help

 

Carl.