Explained: Why is my image not loading on a custom button?

Visit Website View Our Posts

By Nikhil Rajendran | Reading time 3 mins

I had a rather interesting experience with Ribbon Workbench recently. I was given a requirement to create a button in the Account form. The button had a simple URL action whereupon clicking it, it will go to our official website. While the action was performed successfully, the image did not load up on the button. After adding the button it looked like this:

I was really confused because I doubled checked to ensure that I added the image in the Ribbon Workbench. Upon further research, I found out the issue.

In the ribbon workbench, I had added the image only for the “Image 16” and “Image 32” fields. I did not upload an image in the “ModernImage” field. It turns out that if you use the Unified interface (I was using it for my instance), the system uses the file uploaded in the “ModernImage” field as the image for a button.

However, for the same instance if I switched to the classic interface it displayed the image. The classic interface uses the image uploaded in the Image 16 and 32 fields.  So once I added the image file in the ModernImage field as well, the image loaded up in the button.



NOTE: The ModernImage field will only accept images in the “Vector” format (.svg). Image 16, 32 fields will accept PNG and JPG image formats.

If you want to know more about Dynamics CRM and the way it can revolutionize your operations, connect with us today.

Download our eBook 15 Questions to Identify the Gaps in Your CRM”

Show Buttons
Hide Buttons