SalesforceCommerceCloud / b2c-crm-sync

... a contemporary perspective on how to integrate B2C Commerce and the Salesforce Customer 360 Platform to power frictionless customer experiences in the B2C domain.
https://salesforcecommercecloud.github.io/b2c-crm-sync/
BSD 3-Clause "New" or "Revised" License
64 stars 47 forks source link

Add Data Mappings to the Documentation #64

Closed nek4life closed 2 years ago

nek4life commented 2 years ago

Please add default data mappings table to the readme. This is helpful for existing implementations that may need to map values into service from external systems beyond b2c commerce.

jbachelet commented 2 years ago

Hello @nek4life ,

Thank for opening an issue here.

Please find the PR#79 where I added the data mapping to the Readme. Is this what you were expecting? Anything that I could add to the documentation you think might be good asset for everyone

Thanks!

nek4life commented 2 years ago

This looks great @jbachelet! One data related question I had is that I do not see that the contactID from service cloud is synced to a custom field in commerce. Is that something that is missing from this project?

nek4life commented 2 years ago

After reading the docs a bit more it looks like Contact.ID is synced to custom.b2ccrm_contactId

jbachelet commented 2 years ago

Hello @nek4life , The data mapping section I added to the docs is regarding the data mapping when a B2C profile comes in and is stored in Core.

When Core replies to B2C Commerce, you right, the Contact.ID is saved in custom.b2ccrm_contactId and Account.ID is saved in custom.b2ccrm_accountId. I did not mention these two as there is no way to "configure" them yourself, as these two IDs are part of the framework.

nek4life commented 2 years ago

@jbachelet Thanks for the explanation! All these questions have stemmed from our working sessions with our Service Cloud integration partner. This project assumes the same development team will be familiar with both commerce and core which isn't always the case. Having the data model is a huge help to understanding how our data is connected between all our systems, especially while trying to understand how commerce and core fit in with all our supporting systems.

As always I appreciate all your help on this!

Charlie