...
If a field of the same name does not exist on the Contact, it will be omitted from the update.
Dynamics 365 Marketing Lists are targeted at a single entity type, so a Contact cannot be associated with a List that targets Leads.
If you enable Enable detailed logging you will see this in action to see the specification application of this process:
Code Block | ||
---|---|---|
| ||
21088 11:41:01 DEBUG FuseIT.S4D.WebToDynamics.SitecoreExperienceForms.SubmitActions.SaveToDynamics - GetDynamicsEntityAsync: attempting to load existing 'lead' entity matching { [emailaddress1, test@example.com] }. 6100 11:41:01 DEBUG FuseIT.S4D.WebToDynamics.Utility.ODataUtility - TransformEntityAsync: Substituting converted Lead 40e71d3e-bfc9-ec11-a7b6-0022481435ab for Contact 9d77a8ec-18cc-ec11-a7b6-0022481435ab. 6100 11:41:01 DEBUG FuseIT.S4D.WebToDynamics.SitecoreExperienceForms.SubmitActions.SaveToDynamics - UpsertDynamicsEntityAsync: omitting field 'subject' because it does not exist on entity 'contact'. 6100 11:41:01 DEBUG FuseIT.S4D.WebToDynamics.SitecoreExperienceForms.SubmitActions.SaveToDynamics - UpsertDynamicsEntityAsync: no List associations will be added as entity has changed from 'lead' to 'contact'. 6100 11:41:01 DEBUG FuseIT.S4D.WebToDynamics.SitecoreExperienceForms.SubmitActions.SaveToDynamics - UpsertDynamicsEntityAsync: found 'contact' entity { [contactid, 9d77a8ec-18cc-ec11-a7b6-0022481435ab] }, attempting update. |
...