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

SCOTtish summit 2021

On February the 27th Scottish Summit 2021 will come to you as a virtual event. With over 250 sessions from all Microsoft technologies. You need to register for your FREE ticket and download the Scottish Summit App to see all the great sessions.