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.
Posted by mtbosworth on May 26, 2011 at 7:51pm

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.png 24.08 KB
Categories:

Comments

Contact Name is likely not

Posted by kostajh on May 26, 2011 at 8:20pm

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

Got it!

Posted by mtbosworth on May 27, 2011 at 3:00am

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:

AltStyle によって変換されたページ (->オリジナル) /