Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Change lookup icon colour for custom entities

Posted on by 65

Hi all, does anyone know if there is a way to change the lookup icon colour for custom entites, in a similar way to the OOB entities?

I have tried both png and svg images, however it always remains the default dark grey colour it was created with.

As can be seen in this picture, the top icon is the OOB look up icon for account, which matches my theme in colour however my custom one is displayed as black.

pastedimage1615394019963v1.png

Thanks in advance

Chris

  • Suggested answer
    cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Change lookup icon colour for custom entities

    Hi Chris,

    Color settings do not apply to lookup icons for custom entities.

    With inspector, we can find that lookup icon of account is inherit from CRM icon set, (the most popular icon set is Font Awesome.)

    m1.JPG

    However, only default OOB entities have pre-defined icons as their look up icon; while for custom entities, system will use their SVG icon file directly.

    m2.JPG

    In other word, lookup icon of the default entities is drawn based on the font file, its color will be affected by theme/CSS, while lookup icon of custom entities is just an image.

    Additions:

    Font file of CRM icon set is named "CRMMDL2.woff", it can be downloaded by searching it in developer tool.(Right click the tab and select 'Open in new tab')

    m3.JPG

    We can find the source icon of Account in the woff file with font viewer.

    m4.JPG

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans