Dynamics 365 PCF Icons not showing up – InitializeIcons()

icon1

While working on creating a PCF control for status fields in Dynamics 365, where I wanted to show colored icons based on status, observed that icons do not render by default and you have to call initializeIcons() method to render them.

I am using React to render control and FontIcon class of office-ui-fabric. React control (StatusIcon.tsx) implementation looks like below where I am trying to…

Continue Reading Sachin Bansal’s Article on their blog

Dynamics 365 PCF Icons not showing up – InitializeIcons()

While working on creating a PCF control for status fields in Dynamics 365, where I wanted to show colored icons based on status, observed that icons do not render by default and you have to call initializeIcons() method to render them. I am using React to render control and FontIcon class of office-ui-fabric.

Blog Syndicated with Sachin Bansal’s Permission

Author: Sachin Bansal

Share This Post On