- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 11:37 AM
I am trying to get access to newer versions of the Font Awesome Icon fonts from within my instance. I already have this working by using the attachment table and referencing the font files from the attachment table in the stylesheet for my service portal. However, I would like to avoid adding the ttf and woff2 file types to my list of approved file types for the attachment table.
I cannot reference the font files from other external internet sources unfortunately, so I need to have the files locally stored on my instance. Is there a way to do this. It is my understanding that ServiceNow used to allow files to uploaded previously, but that feature was deprecated. Is the only way to upload files to an instance through the attachment table?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 12:39 PM
Hi, if you do not want to temporarily remove your production exclusion to allow you to upload a font attachment,
then 1 option would be to create a font record and upload the font attachment in a sub-prod instance or PDI.
Then export the sys_pdf_generation_font_family record to xml and import the xml file into your production instance.
This should allow you (a system administrator) to bypass the attachment extension check as you are not actually uploading an attachment. The font family record xml should include the attachment within it, if not you can always use xml to load a sys_attachment record and its' related sys_attachment_doc records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 12:39 PM
Hi, if you do not want to temporarily remove your production exclusion to allow you to upload a font attachment,
then 1 option would be to create a font record and upload the font attachment in a sub-prod instance or PDI.
Then export the sys_pdf_generation_font_family record to xml and import the xml file into your production instance.
This should allow you (a system administrator) to bypass the attachment extension check as you are not actually uploading an attachment. The font family record xml should include the attachment within it, if not you can always use xml to load a sys_attachment record and its' related sys_attachment_doc records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2023 04:41 AM
Thanks Tony! I assumed that the xml import would be blocked by that attachment extension property as well.