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
SergiSergi 

Can't access to User.CommunityNickname

Hi,

I'm tying to launch a custom SOQL query:

SELECT Phone, PersonAssistantName, Owner.FirstName, Owner.LastName, Owner.Username, Owner.CommunityNickname, (SELECT Contact.FirstName, Contact.LastName, Contact.MobilePhone, Contact.Email FROM Account.Contacts LIMIT 1) FROM Account

 

But can't access to the CommunityNickname field of User table.

Looking at the documentation for User, it must exist. What am I doing wrong?

MigMig

This works:

 

 

Select Owner.CommunityNickname From Account

 

 So that should work as well =)

 

SergiSergi

I get the same error:

 

No such column 'Community.Nickname' on entity 'User'.