soql – Select Id, UserRecordAccess.HasEditAccess didn’t understand relationship name on sObject Event
On Account
I can run a query like so:
Select Id, UserRecordAccess.HasEditAccess FROM Account
and this would give me the information about user’s access to the record in a single query.
However, if I run the same against Event
I get an error
SELECT Id, UserRecordAccess.HasEditAccess FROM Event
Didn’t understand relationship ‘UserRecordAccess’ in field path. If you are attempting to use a custom relationship, be sure to append the ‘__r’ after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
Is there any way to query it in one go?
Read more here: Source link