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
Jonathan Wolff 7Jonathan Wolff 7 

Apex class to get soql of all tasks and events of a contact

Hello I want to achive the following. I want to create a datatable component that lists all tasks and events of a contact with the subject, the activity type, the activity date etc.
Is there a way to create a wrapper class which contains these both objects in one datatable?

Greetings
Jonathan
AnkaiahAnkaiah (Salesforce Developers) 
Hi Jonathan,

Refer the below app exchange products with free of cost. it will helps for your business need.

https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3000000DU4ecEAD
https://appexchange.salesforce.com/listingDetail?listingId=a0N3A00000EqzLwUAJ

If this information helps, Please mark it as best answer.

Thanks!!