+ Start a Discussion
IvarIvar 

Standard object icons accessibility

Hi all.

 

Can anyone tell me if I can reference or access the standard object icons (Account folder icon, Case bag icon, Contact card icon, etc.) from somewhere to use on a Visualforce page?

 

Edit: To explain further I am trying to build a Visualforce page that contains a mixed list of objects (Cases, Opportunities, etc.) and would like to be able to display the appropriate icon in front of each one, to visually specify their type.

 

Regards,

Ivar

Best Answer chosen by Admin (Salesforce Developers) 
IvarIvar

I found a hack past this by just digging into the html elements of a salesforce page and looking for stylesheet classes.

All Answers

Edwin VijayEdwin Vijay

As far as i know, you can use the images if you have your standardcontroller property set to that particular object.  Sectionheader will show the image automatically.

 

So, if you want multiple objects try using individual visualforce page for each object and using iframes to combine them all into one page.

IvarIvar

I found a hack past this by just digging into the html elements of a salesforce page and looking for stylesheet classes.

This was selected as the best answer