Monday, 19 February 2018

Sitecore Experience Profile - Identify and Merge Contact when submitting WFFM form Troubleshooting - Part 3

In this section will share a personal experience on the same subject I talked about in the first two parts, in which when we applied the code that explained before the anonymous records still appear under experience profile report, so what we did wrong?!




In one of our sites where we have a CM/CD setup and after deploying and configuring the identify and merge contacts code we still have an issue with experience profile not displaying a useful information, so, we reviewed the code add as much as logging code as possible one each single step and then we checked the log files, the code is executed as expected without any single error?!!! :)

After a second look to log files we found the following error happening when the session end:


This error is happening on CD servers, After doing some investigation and online search and wit existing with a great sharing community I found that it seems (but not sure) that there is a missing step when configuring WFFM on CD server to tell the WFFM to use web database instead of master database as this will not exist on configurations of CD servers,

So, we added the following configuration patch file:


After this the code to start to work as expected, experience profile started to display an identified contacts.

Hope this will help.

2 comments:

MS Azure Training in Hyderabad said...

Thank you for excellent article, Please refer below if you are looking for best training institute in hyderabad.
Sitecore Online Training
Sitecore Training in Hyderabad

sri said...

Thanks for sharing this.,
Leanpitch provides online training in Scrum Master during this lockdown period everyone can use it wisely.
Join Leanpitch 2 Days CSM Certification Workshop in different cities.


Best Scrum master certification

Post a Comment