You need to sign in to do that
Don't have an account?
suji srinivasan
Task is the child of phase
when i try to query from child to parent,grand parent great grand parent.(App which i am trying is PMT)
i am getting error as
select Name,inov8__PMT_Phase__r.inov8__PMT_Project__r.name
^
ERROR at Row:1:Column:13
Didn't understand relationship 'inov8__PMT_Phase__r' 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.
select Name,inov8__PMT_Phase__r.Name from inov8__PMT_Task__c
Thanks in advance
How to query the managed package objects?
Task is the child of phase
when i try to query from child to parent,grand parent great grand parent.(App which i am trying is PMT)
i am getting error as
select Name,inov8__PMT_Phase__r.inov8__PMT_Project__r.name
^
ERROR at Row:1:Column:13
Didn't understand relationship 'inov8__PMT_Phase__r' 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.
select Name,inov8__PMT_Phase__r.Name from inov8__PMT_Task__c
Thanks in advance
Can you re-check you relationship name? Go to your object and select your field and locate child relationship name.
Thanks,
All Answers
Can you re-check you relationship name? Go to your object and select your field and locate child relationship name.
Thanks,
thank you for your response.
I created subcontact__c object and created lookup relationship with contact .child relationship Name -subcontacts
1.I tried to query child to parent
select Name, Account.Name from Contact - got response
2.when i trield to query grand child to parent getting error
select Name, Contact.Account.Name from subcontact__c - got error
Can you clarify me, why i didnt get response?
Thanks in Advance.