+ Start a Discussion
Akhil R NathAkhil R Nath 

Hi, I want to display Account, Contact, Lead, Opportunity in visualforce page and I need to add a filter condition in visualforce page to filter the Objects.. Could anyone help?

ShirishaShirisha (Salesforce Developers) 
Hi Akhil,


Since you are trying to display the related Object,you can directly create the Visualforce page on the Account Object and try to call the related Objects like Contact,Lead and Opportunity Objects.

Also,if you would like to add filter on which you would like to display then you will need the Extension where you can query the related records and display on the Page.


Kindly let me know if it helps you and close your query by marking it as best answer so that it can help others in the future.

Warm Regards,
Shirisha Pathuri