Visualforce and Lightning Componets: how to get the Lightning-Icon Name on a VF-Page (or LC) for any custom object?
I came across something which could do the trick. But that's a bit ugly... In fact, you can get the different tabs used in an app and each icon url related to theses tabs. Finally, by checking if the tab is related to the sobject you're searching for, you're able to return the icon name by removing the other parts of…
Answered Aug 1, 2021 · 1 Views Read answer →