function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MellorineMellorine 

Salesforce Icons

I'm working on an external app that retrieves data from Salesforce. Is there a way to retrieve the object icons like the following:

 

 

Is this possible? I want to  retrieve them so in case they change icons, the application I'm doing also changes.

 

Thanks. 

Best Answer chosen by Admin (Salesforce Developers) 
ArtabusArtabus

You can get them using the standard API, by calling describeTab()

in the describeResult you have the logoUrl

 

 

All Answers

Cool_DevloperCool_Devloper

I don't think you can get the image but you can get the reference to it as a string using "icon" field of CustomTab component in the Metadata API. Refer below-

Metadata API

Cool_D

ArtabusArtabus

You can get them using the standard API, by calling describeTab()

in the describeResult you have the logoUrl

 

 

This was selected as the best answer
MellorineMellorine

Thanks for all the replies but I only did Arbatus' suggestion and I already did it.

 

Thanks a lot!