Custom fonts in service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2018 09:31 PM
I want to use custom fonts with Service Portal. We can upload images and refer those with scoped application but similar feature is not there for fonts. I referred the following blog to use custom fonts.
https://community.servicenow.com/community?id=community_blog&sys_id=c95d2629dbd0dbc01dcaf3231f9619ed
It lists three options. Following are the issues with it.
1. Use google fonts or make fonts available globally and refer the URL -
Our fonts are custom fonts specific to our enterprise, they are not available publicly
2. Embed base64 encoded fonts in css-
Issue with this is our fonts folder is 3MB in size, we don't want to include it as base64 encoded string and increase page loading size
3. Upload as attachment to service now instance and refer font with sys id in URL in css -
Attachments are not tied with scoped application, so we can't check-in those to GitHub repo. It means those will not be distributed with our scoped app. Even if we distribute those with scoped app by some other means (which I am not aware of currently), sys id of attachments may change, so we can't update our css with specific sys ids when our customers download our scoped app from app store.
Is there any support to upload custom fonts to service now instance as we have images support?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2018 10:03 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2018 10:03 PM
We did it using base 64 encoding. Yes it will download the fonts, but it will download them if you do it as an attachment too. What is the difference?
of course, our fonts were nowhere near that size.