Pages

Tuesday, September 22, 2026

Salesforce: Contact in Opportunity

Continue from the previous blog: Primary Campaign Source, Opportunity Contact Role, and Campaign Influence. You may be aware that there is a field called Contact ID in the Opportunity:

  • API Name = ContactId, Label = Contact ID
  • This is a standard Salesforce field, not a custom field
  • The field type is a lookup to Contact
  • The field is not visible in the Object Manager
  • You can query the field with SOQL

This field value is auto-populated when a contact is added and marked as Primary in the Opportunity Contact Role. Note that we can only have one Primary contact for one Opportunity.


No comments:

Post a Comment

Page-level ad