Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [contact-facets]

For questions related to Contact Facets in Sitecore, including their creation and implementation, registration, reading data from and writing data to a contact facet, and other general use questions

1
vote
0answers
16 views

Presentation details dialog throw error [duplicate]

In core database go to the Item path: /sitecore/client/Applications/ExperienceProfile/Contact/PageSettings/Tabs/Overview when I am going to open presentation details dialog and click on edit as ...
6
votes
1answer
100 views

Display custom facets in Sitecore Experience Profile version 9 or later

I am creating custom facet for saving contact information (Like Car Model, Variant, Color, etc) into XDB. I am successfully able to save and retrieve custom facets details with respective Contact. Now ...
1
vote
0answers
50 views

Update Sitecore from 8.2 to 9.1 - analytics

I am entering the update solution sitecore from version 8.2 to version 9.1. I started by upgrading the .NET version and Sitecore libraries to the latest version. Is there any instruction what should ...
1
vote
1answer
51 views

xConnect - xDB Facet Types

In xConnect model, we have a property with dictionary type and when we try to put it in a lamba expression for some logic it fires back. Sample Model: public class eBikeContactFacet : Facet { ...
0
votes
1answer
119 views

xConnect error in 9.1: One or more local models conflict with the xDB service layer

I've added a custom facet and model, serialized the model and deployed it to my xConnect server to the two locations outlined in Sitecore's documentation but I'm still seeing this error. Because of ...
1
vote
1answer
77 views

Questions extending custom facet code

I'm trying to make a custom contact facet and I followed the documentation of Sitecore 9.1 as shown in the code block below, which comes from https://doc.sitecore.com/users/91/sitecore-experience-...
5
votes
1answer
166 views

Remove contact from contact list

I am trying to remove a contact from a contact list using next code: using (var client = SitecoreXConnectClientConfiguration.GetClient()) { var reference = new IdentifiedContactReference(source, ...
1
vote
1answer
104 views

Experience Profile custom facet retrieval error

I was trying to create custom facets in Sitecore 9.0 Update 1. I was able to create one and add a custom tab in experience profile. I fill the custom facet data with the help of a WFFM form. I see the ...
2
votes
2answers
78 views

Custom facet data not being updated after initial flush to xDB

What i want to do: Save and update facet data repeatedly through WebApi Read the facet data through WebApi Everything works fine, until the contact stops being updated. It seems as if, once the ...
0
votes
1answer
109 views

Failed to extend contact lease for contact

We have currently enabled the Sitecore OOB Personalization module, and have developped some custom conditions and actions to display a particular component on the website. When a user authenticated ...
2
votes
1answer
52 views

Add Visitor into Contact List [duplicate]

For hands-on on Sitecore Automation tool, I have crated a Simple Automated campaign i.e if Logged-in user visited to specific page then goal will be trigger and If goal trigger then add user to ...
6
votes
1answer
163 views

xConnect Contact Identifier Search

I'm trying to write some xConnect search functionality that will search through all identifiers of all contacts. SOLR is running and I have added a set of sample contacts using the xConnect API. ...
4
votes
1answer
221 views

How to get PageViewEvents from Interaction

I am getting a little bit confused getting events from facets in sitecore 9.0.1. As I understand there are two different Facet and Event class definitions. The Sitecore.XConnect version and the ...
0
votes
0answers
43 views

Sitecore Contact Card Merge causing Mongo Query errors

I'm on Sitecore 8.2 Update 4, and I'm also using xDB. I have an API that is being called from a monitoring service to ensure that the API service is up. The API is secured via an encrypted Sitecore ...
1
vote
2answers
67 views

How to configure a newsletter subscription in Sitecore 8.2 in CMS Only mode

I'm trying to figure out the best way to configure the newsletter subscription form built using WFFM which after form submission will send an e-mail to a user with an activation link to confirm the ...
2
votes
1answer
161 views

Display Custom Contact Facet data under one report in Sitecore 8.2

I have data stored under a custom contact facet in xDB in Sitecore 8.2. I need to display those custom facets information under a single report. I know I can add this info into Experience Profile. ...
1
vote
1answer
224 views

How to add item in contact custom facet List type property

I have created a custom facet model with Sitecore 9.0.1 & xConnect. My contact custom facet contains a property of List<string> which I want to populate with different values while contact ...
3
votes
2answers
875 views

How to programatically add contact to a contact list in Sitecore 9.0u1

I need to programmatically add contact to a contact list. How to do this in Sitecore 9.0.1? I find a documentation. Here it says this below line will add contact to a list. Contact contact = ...
6
votes
1answer
344 views

How can I get Search Contacts via XConnect API?

As part of SCHackathon 2018, I created a custom Event (a generic Event, not a Page Event, although I will change it to a Page Event and see if that helps see notes below). I followed the docs here: ...
1
vote
0answers
177 views

Tracker.Current.Session.Identify error :The given key was not present in the dictionary

In my Sitecore application, I've created custom facet (it has simple fields and object lists). I identify the user by the method: try { if (Tracker.IsActive) { Tracker.Current....
2
votes
1answer
417 views

Unable to create a Contact item in List Manager

I have installed a Sitecore 9 Update 1 and using Solr 6.6.2 for our ContentSearch. However when I've tried to create a contact on an empty List under List Manager but I am getting an error. Below is ...
4
votes
1answer
327 views

Show custom contact facets in Sitecore experience profile

I'm building a custom xConnect client api which is supposed to send data to xConnect. Now I've created a custom facet as an extension to the contact model. The facet is successfully created and set ...
4
votes
2answers
530 views

The type of this instance does not correspond to any type in the model

I'm trying to create a custom facets to insert data into sitecore9 XDB through Xconnect for this, I have followed the blog and XconnectDoc But when I'm trying to add data into contact custom facet- I'...
0
votes
2answers
395 views

Adding custom contact facet to Sitecore Analytics index

Sitecore 8.2 Update 4 with Lucene search on a local single instance Sitecore site: I have created a Custom Contact facet and I can see it is being saved to MongoDB. I want to add it to the Analytics ...
6
votes
1answer
239 views

Contact Custom facet not appearing in ListManager

I've setup and configured a custom facet on the contact but we now want to be able to segment on the fields it contains in the ListManager but they aren't available there. What do I need to do to see ...
4
votes
0answers
201 views

Interaction is null

When a user submits's a form on the contact us page, I am creating a contact in xDB as: try { //Identify the user Tracker.Current.Session.Identify(model.Email); ...
5
votes
1answer
93 views

How can I use token replacement for IElementCollection<TModel> property in message

I created custom facet which has IElementCollection<TModel> property. TModel has properties: Name, Value. How can I implement token replacement in message, if I want to render Value of my ...
8
votes
2answers
277 views

Any example on how to use “xDB Contact Facet Collection Property Value Accessor” in Data Exchange Framework?

using Sitecore Data Exchange Framework v1.4.1, let's assume you want to add hundreds of emails to xDB Contact > Emails facet. How would you configure DEF to add each address to the IElementDictionary&...
6
votes
1answer
221 views

Sitecore Contact expires using out of process session handling

In a Sitecore 8.1 Update 3, we have configured the mongodb for shared session state into "Session" collection, and analytics is configured separately into its own collection as well. The code is ...
4
votes
1answer
162 views

Sync xDB contact data: SubmitContact pipeline

I have to sync (external) data into contacts facets and was looking for possible ways to do this. I stumbled upon some -limited- information based on the SubmitContact pipeline. But I can't seem to ...
6
votes
2answers
775 views

Difference between Identify contact and create a contact

I am trying to create an XDB contact when someone submits a contact form. Tracker.Current.Session.Identify(model.Email); Above line is creating a contact with an identifier (in this case email). So,...
4
votes
1answer
407 views

Sitecore Contact Send Email using EXM

I have one Sitecore Register Form (not with WFFM). When user Register, I am trying to send confirmation email. However, somehow this is not working for the first time. My contact is not receiving ...
3
votes
2answers
319 views

Setting contact tags with data exchange framework

I am working on getting the Data Exchange Framework to update xDB contacts. I have it working for email and phone numbers, but now I have some properties that I'd like to store in the contacts' tags. ...
6
votes
2answers
92 views

Retrieve favorite pages based on the user profile

At the moment, when a user saves a page as favorite, I'm adding this info to the user profile. However now I want to retrieve the top 5 most saved pages. I thought of just adding a field to the page ...
4
votes
1answer
183 views

How do I get access to my Contact Card information

I'm running Sitecore 8.1 Original Release, and I'm trying to run this code: var repository = new ContactRepository(); var contact = repository.LoadContactReadOnly(contactId); where contactId is ...
3
votes
3answers
454 views

Could not load file or assembly 'file://c:\windows\system32\inetsrv\Sitecore.Analytics.Model.Entities.ContactPersonalInfo' or one of its dependencies

I'm using Sitecore 8.1 Original Release and am having problems getting my contact stuff to work properly. Here's my code: var repository = new ContactRepository(); contact = repository.CreateContact(...
7
votes
1answer
814 views

How can I search for date field values on the Content Editor?

I have a website with Sitecore.NET 7.2 (rev. 160123). Using facets I see I can search for different things, and I have a few filters. However, I didn't manage to be able to filter for a date field on ...
3
votes
1answer
639 views

Is it possible to extend an existing custom facet?

We have a Sitecore (8.2) site that is already using custom facets to extend the contact information stored in xDB. A new requirement came along, and we would like to extend one of the facets. Seemed ...
5
votes
2answers
821 views

Can we use xDB contact to do a Lookup for users

Can we use first name in the xDB contact facet and make a search from the UI using an api. I dont want to fetch all the users and do a for loop and then search for the user name like in each iteration....
2
votes
1answer
143 views

Does an Anonymous xDB Contact facet data get restored for new sessions?

Does data that is added to an unidentified contact (and therefore saved in xDB) get restored upon future visits? Currently working on a site that a) has no forms b) doesn't not currently have a ...
4
votes
1answer
670 views

Why are custom xDB facets being overwritten on session end?

In our Sitecore 8.1-3 solution I have created a custom xDB facet with a few different elements. When users log in to our site we call Tracker.Current.Session.Identify(emailAddress); to properly ...
2
votes
1answer
375 views

How to add a custom xDB facet to an IElementCollection facet

I am implementing custom xDB facets in Sitecore 8.1-3. I have a facet called "Marketing Data". Most of the elements of "Marketing Data" are simple strings. I also have an element called "Shipping ...
2
votes
1answer
479 views

Representing relational data in Lucene/Solr index for Segmented lists

Scenario: In Sitecore Experience platform (8.1+) we have a xProfile/Contact, with zero-to-many Sitecore Certifications relation, as an example The contact Arthur Dent has over the years has earned ...
2
votes
1answer
77 views

System.Collections.Generic.KeyNotFoundException when calling Create method on Facet

I have the following code to reference a custom facet. var contact = Tracker.Current.Session.Contact; IHistoryFacet history = contact.GetFacet<IHistoryFacet>("History"); IHistoryLocationElement ...
8
votes
1answer
201 views

How to store booleans in a custom facet?

Does Sitecore support storing booleans in a custom facet? I have the following interfaces: using Sitecore.Analytics.Model.Framework; using System; namespace MySite.Models.Facets { ...