+ 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'.