Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Mapping Lookup Relationships from WP to SF

$
0
0

Replies: 0

We are trying to push contacts and accounts data from WordPress to Salesforce. On the WordPress side, we have used PODS to create 2 custom post types: 1) Accounts (arevtest_org) 2)Contacts (arevtest_contact).

A field of type ‘Relationship’ is created on arevtest_contact and related to arevtets_org.

Could you please help us understand how we can map this relationship from WordPress to Salesforce? In the Fieldmaps we tried selecting the Relationship field on the WordPress Contact POD corresponding to AccountID on the Salesforce Object. But the Salesforce AccountID expects a Salesforce Record ID and hence this fails. We observed the Contact Relationship field is sending a string like this to Salesforce:

“57267;10067;2018-11-26 21:49:06;2018-11-26 13:49:06;;DAD Test 1;;publish;closed;closed;;dad-test-1;;;2018-11-26 21:49:06;2018-11-26 13:49:06;;0;https://test.site/?post_type=arevtest_org&p=57267;0;arevtest_org;;0;57267″

where,
57267 – WordPress ID of Account
DAD Test 1 – Account Name
Arevtest_org – POD name for Accounts

Would appreciate any suggestions to make this work!


Viewing all articles
Browse latest Browse all 59525

Trending Articles