Replace an SVG icon file in the base configuration

You can replace SVG icons in the base configuration with your own icon file.

Before you begin

Complete the following task: Install and configure Node.js

About this task

SVG icons must first be converted to a font glyph. PolicyCenter uses the Node.js open source tool to do the conversion.

Procedure

  1. Locate the existing base icon file under the following directory: PolicyCenter/modules/configuration/webresources/sass/icons/svg
  2. Replace the base icon file with your new file.
  3. Open a command prompt and change to the following directory: PolicyCenter/modules/configuration/webresources/sass/icons
  4. Run the following commands:
    npm run font
    npm run png-svg
  5. In Guidewire Studio, click Tools > Web Resources.

What to do next

See also