Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Aha, I see the FoundationContact now:
// The UserId needs to be set in the format "String:{email}". Else a duplicate CustomerContact will be created later on.
public string UserId
{
get => Contact.UserId;
set => Contact.UserId = $"String:{value}";
}
The problem in user Register / Login scenario is as following.
I'm able to register and login user, but after CustomerContext.CurrentContact is called, there is a new entry in the cls_Contact with the following data changes:
The question: How can I fix that? Should I explicitly set UserId to something like "String:<emailaddress>"? If so, how can I do that?