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

make events on customer community available to all users

I am trying to display on a vf page a list of activities that I am quering like this

SELECT Subject, Id, What.Id, Custom_Field__c FROM Event WHERE Custom_Field__c = 'an specific value'

However this list only shows me the ones that this particular user (the one who is log in has ), I need to be able todisplay all regardless of who is assign to.

To make it more strange if I open the VF page directly from salesforce: salesfroce..../apex/vfpage

It display the list correctly, so I wondering if this is a limitation for communities?

ShashankShashank (Salesforce Developers) 
Events have a field "IsVisibleInSelfService" which should be checked for community users to be able to see other community users' events.