We all have our pet peeves, and one of mine is seeing the default icon left on a custom entity. It looks messy, and certainly adds no value to the end user. So, I always add in a nice icon that represents the new entity. By updating icons using the button at the top of the entity, we can then add new icons (here’s a good site to source them from) and publish the entity. Great, good so far!
Now, make sure you enable the new entity to be searched on using the Quick Find. More on that in a previous post here.
Now get searching…. 🙂 – oh, but this doesn’t look pretty 🙁 – the default icon is still showing. In fact, it looks pretty bad, especially if you have enabled quite a few custom entities to search on using the Quick Find. It will just be a mess of jigsaw pieces.
One could be forgiven for thinking that you could give the nice icons you uploaded any name you wanted to. You can, but in order to have them display, make sure you type in the file extension. So for my icons I need to add .png to the end of the name. The display name is fine with whatever you wish. Add your icons in this way and save and publish them.
Now back to the search…. so close! But now we have a different colour background. This is using the default colour from the Dynamics 365 theme for custom entities.
Go back to the entity, and make sure you use the same colour (or a nice contrasting colour) that you used when creating your icons.
We search again, and finally it looks slick and professional. Pretty sure you shouldn’t have to type in the file extension to get it to work right first time, and it’s probably a bug, but good to know how to get around it. While we are talking about icons, where do you typically go to find yours?