You need to sign in to do that
Don't have an account?
CRMfusion - GW
Change in CampaignMember behavior
In the latest API I've found that when you create a CampaignMember to a contact that already is linked to the same campaign you get an error.
In previous versions of the API it simply did an Upsert.
Is this a bug or a feature?
GlennW
Simon;
It would be nice if we had a way (maybe in the SOAP header) to turn off this functionality.
Regards;
GlennW
To confirm, it's a feature - some customers want to throw an error instead of updating the same record when using an insert call and vice versa.
Feel free to use the old API versions to maintain the old upsert behavior. Note there's a new explicit Upsert call in the campaign member API as well.
John;
Would I just provide the same information that I would to the Create call to the Upsert call and it would work the same?
In the docs is says:
"To use the upsert() call on this object, you must first delete all data in ID fields except
the record ID."
This does not make a lot of sence.
GlennW
John;
I'm a little confused.
Are you saying that I can pass the LeadId, CampainId and Status to the Upsert call and it will function the same as the previous Create call?
Or can I only key the Upsert on the CampaingMemberId?
Regards;
GlennW