You need to sign in to do that
Don't have an account?
andy_c
getContactId() from Campaignmember returns null
Retrieving Campaignmembers via a query and then attempting to get the contactId from the resulting Campaignmembers returns null.
I have a query that correctly returns 3 Campaignmembers but calling getContactId() against them returns null.
Is anyone succesfully using Campaignmember.getContactId()?
I have a query that correctly returns 3 Campaignmembers but calling getContactId() against them returns null.
Is anyone succesfully using Campaignmember.getContactId()?
Hi andy_c,
Can you post your SOQL statement? Also, campaignMembers can be Leads as well, in which case that campaign member would not necessarily have a Contact Id.
Yes, that is it - they are Leads not Contacts.
Thank you for your help.