Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Web-development
  3. Question
Web-development

What is the path to Lightning SVG icons in a sandbox?

Asked by James Scott Jul 29, 2021 2.9K views 1 answer
Share

About this question

So far I have found and tried three paths, but none of them is resulting in an icon being displayed.


I am using this code, provided by Salesforce:



    
      
        <input type="text" id="text-input-id-1" placeholder="Placeholder Text" class="slds-input" fdprocessedid="jpg9ib">

But it doesn't display any icon. With googling I found other paths:
{!URLFOR($Resource.SLDS213, 'assets/icons/standard-sprite/svg/symbols.svg#search'}
/resource/slds214/assets/icons/standard-sprite/svg/symbols.svg#search
I am doing this in a Spring '20 sandbox.

Your answer

1 Answer

More Web-development discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest from the JanBask Blog

Guides, tips and career advice from JanBask experts.