Help get this topic noticed by sharing it on Twitter, Facebook, or email.

How do i insert a lead with a campaignID?

I am trying to add a lead through DBAmp to a campaign in Sales Force. I have successfully added the lead to Sales Force, but i don't know how to associate the lead with a campaign? Here's my code:

INSERT INTO SALESFORCE...Lead
(recordTypeId
,[FirstName]
,[LastName]
,[Title]
,[Email]
,[Company]
,[industry]
,[street]
,[city]
,[state]
,[phone]
,[mobilePhone]
,[PostalCode]
,[LeadSource]
,[description]
,[Campaign_Name__c]
)
values (@recordTypeID
,@firstName
,@lastName
,@title
,@email
,@company
,@industry
,@street
,@city
,@state
,@officePhone
,@cellPhone
,@zip
,@LeadSource
,@comments
,@campaignID
)

How do I add it to a particular campaign given a campaignID?
1 person has
this question
+1
Reply