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
BryanTSCBryanTSC 

List Mashup - Multiple Objects

I am looking to query data from multiple objects and combine it into one list that can be sorted.

 

For example, I'd like to grab a string and datetime field from various records in different objects (related only by contact), combine the data into one list, and sort on datetime.  This data should then be made available for display on a visualforce page. The end result will be an ordered timeline of "events" for a particular contact record.

 

What are some recommended approaches to achieving this result?  I appreciate the help!