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
Jack OdellJack Odell 

How do i associate multiple campaigns to an opportunity via apex?

I understand that I if I set the Opportunity's Primary Campaign, it will add the campaign under "Campaign Influence", which is great.

However, I'm facing a situation where I may need to attach multiple campaigns to the Opportunity via Apex.  Does anyone know how to do that?
rohitsfdcrohitsfdc
Hello Jack,
there is an idea submitted for this.
Link : https://success.salesforce.com/ideaview?id=08730000000BpqtAAC