Include an icon in a PCF widget
Several PCF widgets can include an icon that appears along with them.
About this task
Procedure
- In Guidewire Studio, in the PCF editor, edit the widget that contains the icon.
-
Set the values of the
iconTypeandiconattributes according to the category of the icon:Category of icon iconTypeattributeiconattributePNG pngFileNameA string specifying the file name, including the file extension. For example, "icon_car.png".Guidewire-provided SVG svgFileNameA string specifying the file name, excluding the file extension. For example, "icon_car".User-provided SVG customerFontGlyphA string specifying the file name, excluding the file extension. For example, "icon_car".Font Awesome gwFontGlyphA string specifying the file name, excluding the file extension. For example, "icon_car".CSS class customIconClassA string specifying the CSS class name that is added to the gw-icondiv. If this attribute is empty, then an emptygw-icondiv is still used.
What to do next
See also
