• Paola
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi all,

I've written a custom tab on which users can view their events but ever since the introduction of Shared Activities I've had a problem in that any event which has more than one contact assigned to it, does not appear in the query results.  I'm only querying the Event object, are shared activities stored under some different object?  I assumed they would still be Events but with related EventRelation objects storing the multiple contacts.

 

Note that strangely, the correct number of results are returned if I run the exact same query through the developer console but when run through the apex/VF I only get results containing a single contact.

 

Thanks

Steven