function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Software EngineSoftware Engine 

How to get contact name of contactroles from Opportunity

HI,

 I have to get the contact name of contactroles from opportunity. Could you please write a query. How did u solve that problem. Your help would be highly appreciate.

Thanks & Regards,
Arjun.
SuperfellSuperfell
select id, name, (select id, contact.name, role from opportunityContactRoles) from Opportunity


You should install AppexExplorer, makes working these things out trivial.