Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Where to load Font Awesome file

davilu
Mega Sage

Our team wants to use Material Icons and the newest version of Font Awesome so we have access to all the new icons that are available.  What we've been doing is adding the following header to the html portion of each of our widgets:

<head>
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>

While this has worked fine, we're wondering if there's somewhere we can load this so that every widget on our portal page gets access to these icons?  Also, what version of Font Awesome does SP come with?  If we replace it with a newer version, will it cause any issues?

Thanks!

1 REPLY 1

sachin_namjoshi
Mega Patron

Please follow below steps to load new fonts and then use them.

 

https://www.servicenowelite.com/blog/2017/11/15/service-portal-custom-font

 

https://community.servicenow.com/community?id=community_blog&sys_id=c95d2629dbd0dbc01dcaf3231f9619ed

 

Regards,

Sachin