Salesforce soql lookup field User name
SELECT Id, Owner__r.Name FROM Commercial_Contract__c where Id=’a0EV00000038tgU’ Field definition: Contract Owner Owner__c Lookup(User)
SELECT Id, Owner__r.Name FROM Commercial_Contract__c where Id=’a0EV00000038tgU’ Field definition: Contract Owner Owner__c Lookup(User)
var opptyId = “{!Commercial_Contract__c.OpportunityId__c}”; var oppty_Name = “{!Commercial_Contract__c.Opportunity__c}”; Field definition: Opportunity Opportunity__c Lookup(Opportunity) var userId=”{!Commercial_Contract__c.OwnerId__c}”; var userName=”{!Commercial_Contract__c.Owner__c}”; Field definition: Contract Owner Owner__c Lookup(User)