5

I am working on creating an intranet, and I know the users logging in to access the site. I am trying to create and update contacts' personal information. However, I am running into issues with Read-Only attributes.

In Sitecore 8, you could add code to access the contact personal information in session in the Create Visit pipeline. However, in Sitecore 9, this contact personal information is now Read-Only.

I have looked at the Sitecore 9 Web Tracking documentation found here (https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/tracking-contacts/identification/index.html) and it uses the xConnect Client API.

Is using the xConnect Client API the only way to update facets on the contacts in Sitecore 9?

1 Answer 1

2

YES, updating facets is possible just using xConnect.

enter image description here

For more details have a look here: https://doc.sitecore.net/developers/xp/tracking-and-session/tracker/tracking-contacts/contact-facets/update-facets.html

2
  • If you use the xConnect client to do the updates, how does Sitecore know about the contact? So I set the contact to "known" and update some facets, how does my visit/interaction data get connected with the contact that was created by xConnect?
    – sestocker
    Sep 18, 2018 at 15:45
  • @sestocker have a look here: doc.sitecore.net/developers/xp/xconnect/xconnect-overview/… Sep 18, 2018 at 15:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.