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
awilawil 

Where are Opportunity Campaign Influence records stored? No such junction object seems to exist.

Of course for Primary Campaign, we have the field "Opportunity.Campaign", which is a lookup(Campaign) field on Opportunity. But there is also a related list for the Opportunity record detail page called "Campaign Influence", which can be populated in a couple of ways, including manual button-click to "Add" an Opportunity Campaign Influence record. This appears to be like a many-to-many relationship, implying that any opportunity can be linked to any campaign, non-exclusively so. That seems to imply a junction object.

 

I suspected something like OpportunityCampaign or something, but no such object exists.

 

Where are these relationships stored? How can they be created/modified via API or Apex (or even workflow)?

 

 

awilawil

Ok, managed to combine the right search terms to reveal this thread from March 2009,

http://boards.developerforce.com/t5/General-Development/Campaign-Influence-for-Opportunity/m-p/115325/highlight/true#M26823

indicating that its not exposed via API, but on the proverbial roadmap.

 

Any update?

Yechiel KaplanYechiel Kaplan
Looks like it's out in the Winter 17' release