You need to sign in to do that
Don't have an account?
swain 10
SOQL [object Object] result issue?
select Customer__r.Name,CDP_Asset__r.Deal__r.Name,CDP_Asset__r.Deal__r.Market__r.Name,CDP_Asset__r.Deal__r.Type__c,CDP_Asset__r.Deal__r.Stage__c from CDP_Asset_Customer_Account__c where Customer__r.Id IN ('001U000000SunAAIAZ')
I am getting [Object Object] in the querry result for the 2nd value in developer console and so in my component.
But its working fine in workbench . how to resolve?
I am getting [Object Object] in the querry result for the 2nd value in developer console and so in my component.
But its working fine in workbench . how to resolve?
For relational field, you will get [Object Object] always in Developer console Query Editor. If you will iterate over the record and check for the related field in system.debug() log, you will get the value in developer console.