+ Start a Discussion

Access activities in apex for communities

How can I access Activities(Tasks and Events) in apex? Should I use web service or is there another way?

I have a VF page in community and need to access Tasks and Events in SOQL but these objects can't be accessed in Community Plus profile.
You can view an activity when one of the following applies:
You’re assigned to the activity
You have at least read access to the record of parent to the activity is related