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
Reppin__505Reppin__505 

Object Icon URL via Apex or VisualForce

Is it possible to access via apex the object icon url similar to the describeTabs() call for the Metatdata api? DescribeTabs is only for external application calls.

 

I can't seem to find anything out there that would allow a developer access to the icon via apex or visualforce.

 

Any help would be much appreciated.

 

Thank you.

seallesssealless

You have been overwhelmed with responses I see.

 

I have been looking for this answer today and have had similar results.  We just can't use an apex:relatedList (because you can't filter it) but would really like to style up our pageBlock.  No luck in getting the icon programmatically, though.