Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Include font icons as a widget dependency

Include font icons as a widget dependency

You can include font icons wherever a widget is loaded by including them as a widget dependency.

Before you begin

Role required: admin or sp_admin

About this task

Note: CSS included as a widget dependency is not scoped and can disrupt other CSS on a page.

Procedure

  1. In the platform UI, navigate to Service Portal > CSS and create a new style sheet.
  2. Attach the font-icon set to the sp_css record you created, and use the sys_id of the attachment as the src for the font icon.
    CSS style sheet with a reference to the icon sys_id
  3. Navigate to Service Portal > Dependencies and create a new dependency.
  4. Attach the CSS record you created to the new dependency using the CSS Includes related list.
    Widget Dependency record with icon CSS attached

This site is scheduled for a small content update on Wednesday, December 12th, between the hours of 4:00pm and 8:00pm Pacific Time (Dec 13 00:00 – Dec 13 4:00 UTC). Access to this site may be slightly delayed during that time.