Cases Pushed to Salesforce show Contact Name as empty in Salesforce

Events happening in the community are now at Drupal community events on www.drupal.org.
mtbosworth's picture

In my Drupal instance I have mapped a Case Node to a the Case object in Salesforce. I have mapped the fields that are relevant to my project. All fields seem to show up correctly in Salesforce except that the Contact Name is empty.

Things I've ruled out:
Salesforce permissions - I've confirmed that I can create contacts.
Salesforce connection - Cases are making it there fine

Things I'm testing now:
Clearing out all users, doing a fresh import from salesforce, the try creating a case.

I do have a fieldmap for Drupal users to Salesforce Contacts but I only use it for the import. I do not push contacts to Salesforce, I only receive them.

Any help on why the Contact Name field is not being populated is much appreciated.

AttachmentSize
Screen shot 2011-05-26 at 11.57.24 AM.png24.08 KB

Comments

Contact Name is likely not

kostajh's picture

Contact Name is likely not plain text, but requires a Salesforce ID for the relevant contact.

Got it!

mtbosworth's picture

Thanks for the tip. That was the problem. I created a new field in the Case content type to contain the Contact id for salesforce. I used the default value php field to pull in the profile value $user->salesforce->sfid. Lastly, included the new field in the field map. Now contact Id's are showing up. Fantastic.

Mike Bosworth
Balanced Scale Media, LLC
balancedscale.com

Enterprise CRM Integration

Group organizers

Group categories

CRM Platform

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: