+ Start a Discussion

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.


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.