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

Listing both contacts AND leads

I'm currently using the Contact standard controller to display a list of contacts. I'd really like to display a mixed list of contacts and leads - can anyone tell me if that's possible?


Failing that, is it possible to list contacts, THEN leads, or do they have to be on separate pages?




You could wrinte a controller extension and populate list data with the specific lead information. It all depends on how you want to display the data.


Mixing the contact data with the leads data on the same row ma get a bit tricky, but I am sure someone here with more experience will be able to point you in the right direction.


Yes, you can display records from mulitple objects  using custom controller or by using controller extention.