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
Abhishek RayAbhishek Ray 

Opportunity Primary Contact Role to be used as API

Hi Everyone,

 

I need to pull the field in Opportunity Contact Role called "IsPrimary" which either True or False as an API in salesforce. How I can achieve? I will take the value of this field  "IsPrimary" and put into another custom field. Will that be possible? I was thinking to create a trigger? Please help me.

 

Thanks

Abhishek

Best Answer chosen by Admin (Salesforce Developers) 
Jerun JoseJerun Jose
The IsPrimary field on the OpportunityContactRole object is API exposed. Please refer to
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_opportunitycontactrole.htm