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
Iqbal HIqbal H 

I have visualforce page that not using standardController.I would like to include the standard Recent Items inside my page. I can get Name ,Id etc but how can I have the link,icon same like the standard Recent Items in VF page?

User-added image

In image you can see the User,Account,Contact and Custom objects records so now want to dispaly the same icons in VF page
James LoghryJames Loghry
Hi there,

I did some searching on this, and came across the following post which should help: https://developer.salesforce.com/forums/?id=906F00000008lw6IAA

TLDR version: There's a big gif file that contains all the icons in the recent items list, and you need to include that, along with the proper CSS in your Visualforce page.
Iqbal HIqbal H
I understand this solution but my question is not only specific to the Account object. I will be having different objects data in recent items. In this case how I can show the icons with respective to the object. If you not clear the question please let me know