You need to sign in to do that
Don't have an account?
Sergey Volinets
Can anybody help me with standard Lightning icon?
I have created Lightning SVG Icon Component Helper as described here(https://www.lightningdesignsystem.com/resources/lightning-svg-icon-component-helper/), but in the end, I have rounded square instead of my icon.
I did not add anything to Static Resources. But there is no any word about it.
Should I download and add salesforce icon to static resources in order to use it? Or what`s wrong?
P.S. By standard icon I mean - https://www.lightningdesignsystem.com/icons/
I did not add anything to Static Resources. But there is no any word about it.
Should I download and add salesforce icon to static resources in order to use it? Or what`s wrong?
P.S. By standard icon I mean - https://www.lightningdesignsystem.com/icons/
yes you must download and upload the SLDS as static resource see step number 3
Step 3: Use the New Component
Use your new component whenever you need an Lightning Design System SVG icon. For example, if your Static Resource is named slds221 you might use:
http://www.sfdcmonkey.com/2016/12/26/use-lightning-design-system-framework/
i hope it helps you.
Let me inform if it helps you and kindly mark it best answer if it helps you so it make proper solution for others
thanks
http://sfdcmonkey.com
All Answers
yes you must download and upload the SLDS as static resource see step number 3
Step 3: Use the New Component
Use your new component whenever you need an Lightning Design System SVG icon. For example, if your Static Resource is named slds221 you might use:
http://www.sfdcmonkey.com/2016/12/26/use-lightning-design-system-framework/
i hope it helps you.
Let me inform if it helps you and kindly mark it best answer if it helps you so it make proper solution for others
thanks
http://sfdcmonkey.com