web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

SVG Icon Properties using UCI

(0) ShareShare
ReportReport
Posted on by 49

Using v9 On-Prem UCI

I've assign SVGs as modern images.

There are instances within the program where they are the incorrect color.

Within the xml, I have the style set to fill: none.  

<svg id="Layer_1" data-name="Layer 1" xmlns="">http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<defs>
<style>.cls-1{fill:none;}</style>
</defs>
<title>Archive</title>
<rect class="cls-1" width="16" height="16"/>
<path
d="M 7.9414,8.5931682e-4 A 2,1.9998927 0 0 0 6,2.0007493 H 2 V 15.999999 H 14 V 2.0007493 H 10 A 2,1.9998927 0 0 0 7.9414,8.5931682e-4 Z M 8.0293,1.0007993 a 1,0.99994634 0 0 1 0.97071,0.99995 v 0.99995 h 2 v 0.99994 h -6 v -0.99994 h 2 v -0.99995 a 1,0.99994634 0 0 1 1.02929,-0.99995 z m -5.02929,1.9999 h 1 v 1.99989 h 8 v -1.99989 h 1 V 15.000049 h -10 z m 7.47265,4.16383 -4.24218,4.2439197 -0.70704,-0.707 -0.70703,0.707 1.41407,1.41399 4.94921,-4.9469997 z"/>
</svg>

Have I missed something within the XML for this use or do I just need to create a color variant for those icons that are incorrect?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    NODAL Profile Picture
    860 on at

    Hi Loozle,

    Something is incorrect about line one ("">)

    replace with

    <svg id="Layer_1" data-name="Layer 1" xmlns="www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">

    <defs>

    <style>.cls-1{fill:none;}</style>

    </defs>

    <title>Archive</title>

    <rect class="cls-1" width="16" height="16"/>

    <path

    d="M 7.9414,8.5931682e-4 A 2,1.9998927 0 0 0 6,2.0007493 H 2 V 15.999999 H 14 V 2.0007493 H 10 A 2,1.9998927 0 0 0 7.9414,8.5931682e-4 Z M 8.0293,1.0007993 a 1,0.99994634 0 0 1 0.97071,0.99995 v 0.99995 h 2 v 0.99994 h -6 v -0.99994 h 2 v -0.99995 a 1,0.99994634 0 0 1 1.02929,-0.99995 z m -5.02929,1.9999 h 1 v 1.99989 h 8 v -1.99989 h 1 V 15.000049 h -10 z m 7.47265,4.16383 -4.24218,4.2439197 -0.70704,-0.707 -0.70703,0.707 1.41407,1.41399 4.94921,-4.9469997 z"/>

    </svg>

  • loozle Profile Picture
    49 on at

    I only just noticed the ""> in my initial post and can only imagine it is a formatting issue for this forum or I grabbed text I was in the middle of editing.

    If I do this again, it pastes correctly. Once posted, who knows.  

    I did remove the http:// as you responded with and the image appears as broken. Was the remove of that part intentional?


    <svg id="Layer_1" data-name="Layer 1" xmlns="">http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
    <defs><style>.cls-1{fill:none;}</style></defs>
    <title>FERPA</title>
    <rect class="cls-1" width="16" height="16"/>
    <path d="M 0 0 L 0 7.46875 L 1.6816406 7.46875 L 1.6816406 4.5664062 L 4.1035156 4.5664062 L 4.1035156 3.203125 L 1.6816406 3.203125 L 1.6816406 1.3691406 L 4.3183594 1.3691406 L 4.3183594 0 L 0 0 z M 14.318359 8.53125 L 14.318359 16 L 16 16 L 16 8.53125 L 14.318359 8.53125 z"/></svg>

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans