The CreatorCon Call for Content is officially open! Get started here.

Amit Gujarathi
Giga Sage
Giga Sage

ServiceNow tutorial on HTML field styling |servicenow knowledge management tips |ServiceNow Notifications


Hi All,
I hope you're doing great.


In today's tutorial, we will be exploring the styling option for the HTML fields in ServiceNow.

  • In ServiceNow we have 50 + data types, in this HTML is one of the data types. These data type fields are used in rendering or showcasing the HTML on the ServiceNow instance or in emails.
  • Examples of this field use can see in the ServiceNow KB article, in notifications, and so on.
  • These HTML fields come with the HYML editor and we have the script toggle using which we can change the default styling or formatting on the underlying HTML.
  • In our organization, we use a set of standards for styling which we want to impose on all notifications and kb articles, so it's not a convenient option that we change the styling for individual records.
  • So in today's session, we will be seeing how we can set the default styling on the HTML so that it will be automatically applied to all HTML templates.

 

 

Please be sure to bookmark this article as well as mark it as Helpful if you thought it was helpful.

 

Regards,

Amit Gujarathi

Technomonk Youtube 

Amit Gujarathi Linkedin 

TheTechnomonk.com 

ServiceNow Community Amit Gujarathi 

GitHub Amit Gujarathi

Comments
CezaryBasta
Tera Guru

I see it was recorded over 1.5 years ago. The method used is the advised one, but it's also good to mention that now there is a documentation page explaining the same method.

tomsgriz
Tera Contributor

Thank you for this information. Can you help with the following scenario?

 

Let's say that I have defined a particular paragraph <p> style for knowledge articles. Then, my team asks me to make the font size larger. So, I go and adjust the font size based on the information that you've provided so that the correct font size is now shown in the editor. All good so far. However, the articles that I've already published still use the older, smaller font size when displayed in the portal. 

 

Using this example, how would increase the font size for the articles I have already published?

Version history
Last update:
‎11-13-2023 09:32 PM
Updated by:
Contributors