In the Aspx.Forms version of Kentico 12 when a user form was updated the relevant data in the contact record was updated based on the mappings defined in the 'On-line marketing' tab of the Membership > User class and then calling ContactInfoProvider.UpdateContactFromExternalData.
In Kentico 13 MVC no mapping takes place as when a user edits their profile that the controller updated the User record rather than relying on a Kentico form. Is there another method to sync the User data to the associated Contact data automatically or does that have to be done by updating the relevant Contact record fields in the controller when updating the User record maybe via ContactInfoProvider.UpdateContactFromExternalSource(..) and passing a dictionary of the items to update?
FYI:
Your best bet is to create a global event handler against the user, whenever the user is updated perform an update on the contact.
I don't believe updating the contact info when the related user record is updated is OOTB functionality. I'd look for a custom global event handler for this. I could be wrong.
Thanks Brendan, I'll probably go down that route and try and retrieve the field mappings that get defined in the 'On-line marketing' tab of the User object.
Please, sign in to be able to submit a new answer.