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
Tiziana ZiesingTiziana Ziesing 

Assign to a campaign

Hi - We are testing a php code in order to send our data from the website to salesforce.
Unfortunately the assignement from the incoming leads are not assigned to the specific campaign. (Field: campaign) What would be the correct field to submit the campaign ID?
Any help on this would be very much appreciated.
 
Syed Insha Jawaid 2Syed Insha Jawaid 2
Hi Tiziana

Lead and contacts are associated with a campaign through campaign members.

For reference:https://help.salesforce.com/articleView?id=faq_campaigns_how_can_i_add_contacts.htm&type=5&sfdcIFrameOrigin=null

Cheers!!!