You need to sign in to do that
Don't have an account?
Odd Child Relationship label - R00*
Hello. I'm building some Apex code - writing a query where I grab a parent and certain child records. The Parent is Conference and the child is Attendee. So I would expect the inner query to be SELECT Id FROM Attendees__r... This wasn't working so i checked it in the schema browser and I see the following:
Select c.Name, c.Id, (Select Id From Sessions__r), (Select Id, Name From R00N50000001QtE7EAK) From Conference__c c
I checked the schema browser and the relationship name is indeed R00N50000001QtE7EAK. How/Why is this happening? Is there a way to change it?
Thanks
Chris
You can change the relationship name.
Go to the field which defines the relationship between the two. There you will see the Child Relationship Name. Edit, provide your name and save.