You need to sign in to do that
Don't have an account?
teknicsand
querying current opportunity's related contact information
sforce.connection.query(
"Select o.Opportunity.StageName, o.OpportunityId, o.Contact.Name, o.Contact.Email From OpportunityContactRole o where o.OpportunityId = {!Opportunity.Id}}",
callback);
Can someone tell me what the error is with the above query? I'm trying to get the contact information ( email in particular) of the current opportunity being viewed with the use of OpportunityContactRole.
"Select o.Opportunity.StageName, o.OpportunityId, o.Contact.Name, o.Contact.Email From OpportunityContactRole o where o.OpportunityId = {!Opportunity.Id}}",
callback);
Can someone tell me what the error is with the above query? I'm trying to get the contact information ( email in particular) of the current opportunity being viewed with the use of OpportunityContactRole.
I get this error.