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

Filter by
Sorted by
Tagged with
1 vote
1 answer
35 views

xConnect MergeContacts operation does not copy the facet data to Target Contact

Request your support. I have two contacts with same email id and different source identifier. I want to perform mergeContacts() operation on these two contacts. I am using standard xConnect API. ...
HariWaghamare's user avatar
0 votes
1 answer
70 views

One or more local models conflict with the xDB service layer. 'AssemblyFacetKeyModel, 1.0' does not have a remote version'

I have added a new model for my custom facets but it's throwing the following exception while calling the GetClient() method. One or more local models conflict with the xDB service layer. '...
Okasha Momin's user avatar
1 vote
1 answer
67 views

Unable to get contacts,SitecoreXConnectClientConfiguration.GetClient() throwing an exception

I'm trying to get the contacts but while creating an instance of xconnect client, I'm getting the following exception: Type must have a parameterless constructor (not necessarily public) or a public ...
Okasha Momin's user avatar
1 vote
1 answer
63 views

Make Sitecore contact as inactive when exm bounce contact email

I have one EXM which I am sending to multiple contacts available in xDB. When email bounce for contact (reach to Undelivered Max count) I want to mark that contact as inactive using custom facets but ...
Swati Gupta's user avatar
  • 2,810
1 vote
2 answers
158 views

Removing Custom Facet from xDb

We're running Sitecore 9.3.2 with Commerce. We had a favorites implementation, which used a custom model in xDb. This all worked fine, but due to some changes requested by the client, we decided to ...
jwsadler's user avatar
  • 171
4 votes
3 answers
410 views

Custom facet from a contact is coming null but when creating a new one Sitecore is complaining that the facet already exists

I'm trying to write a .aspx script to update an existing contact in the experience profile, the basic logic is: get the contact by e-mail get a custom facet from the contact if the facet is null ...
André Andrade's user avatar
2 votes
1 answer
87 views

How to mock XConnect contact

I'm writing unit tests and using Moq as a mocking tool. In a previous question I was advised to use IXdbContext to mock the XConnect client, which works just fine. However, I run into problems if I ...
TheHvidsten's user avatar
1 vote
1 answer
140 views

Custom Condition for Marketing Automation Sitecore 9.0.2

Hi I'm working on a custom condition which I want to put on a marketing campaign inside of the marketing automation. I created the below and added it to the marketing automation campaign and it runs ...
DanK's user avatar
  • 13
2 votes
2 answers
355 views

Can't submit facet: "Unknown type" exception

I'm attempting to write a custom facet to a contact in Sitecore 10.1, and I keep getting the following error: Unknown type Description: An unhandled exception occurred during the execution of the ...
Michael Smith's user avatar
2 votes
1 answer
92 views

Adding Sitecore 8.2 analytics contact custom facets in Sitecore 9.3

I am working on XDB analytics code upgrade from Sitecore 8.2 to Sitecore 9.3. I have some doubts in custom contact facet. The below code written in Sitecore 8.2 analytics. I would like understand the ...
Kanniyappan Krishnan's user avatar
4 votes
2 answers
219 views

How to replace custom facet to an Sitecore 9.3

I am implementing custom xDB facets from Sitecore 8.2 to Sitecore 9.3. I have a facet called "Data" and ICentralData Inherited from IElemenet. Now IElement is an obsolute in Sitecore 9.3. ...
Kanniyappan Krishnan's user avatar
0 votes
1 answer
134 views

xConnect Custom Facet is throwing an error while getting the facet

xConnect Custom Facet is throwing an error while getting the contact contact.GetFacet call. We had followed all the steps from this article https://sitecoreamateurs.wordpress.com/2020/08/31/sitecore-...
SNew's user avatar
  • 151
2 votes
1 answer
153 views

need to add custom contact and interaction facets into xConnect using ConvertToXConnectInteractionPipelineArgs

I'm using sitecore 9.1.1. I need to insert custom contact facet and custom interaction facet using below pipeline processor. I have already added custom values successfully in the same processor. ...
Erwin Paul's user avatar
1 vote
2 answers
85 views

What's the best way to get the current Contact's location?

I'm trying to get the current Contact's location info for personalization purposes. I've seen that GEO IP is not a good way, and the only other place I see is in ExperienceForms database where we ...
Bill Thomas's user avatar
1 vote
1 answer
281 views

How can we add contact with custom fields to a contact list programmatically in Sitecore 9.3

I want to use sitecore 9.3 form for creating a new contact in a contact list. The contact list should consist of below custom fields: Email Id, Mobile number, Full Name The values of these fields ...
Pankaj Thakur's user avatar
0 votes
1 answer
306 views

Retrieve Sitecore Contacts based on current contact ID

We are having a requirement to capture details and update it to custom facet. Whenever there's an identifier (in my case it is,email address from session) it works as expected. I'm able to see the ...
karthik's user avatar
  • 71
2 votes
0 answers
63 views

How I can make changes to XConnect model without crashing CD instance

I have a custom facet with multiple properties. I deployed the model to xConnect and it's working on Production servers on Azure now. Now I need to modify the facet. Let's say - I need to remove one ...
Marek Musielak's user avatar
  • 23.1k
1 vote
2 answers
139 views

Storing email ID in EmailAddressList facet is not reflected in Experience Profile

I'm trying to store an e-mail address submitted in a form to a new contact (first time) website visitor. I'm using the below code from EmailAddressList section - Contact Facets, but the email address ...
Paulson Maclean's user avatar
0 votes
0 answers
37 views

Sitecore 8.2 Custom facets not updating in mongo db

We are trying to implement custom facets and the implementation is completed. My implementation is based on the below blogs, https://www.xcentium.com/blog/2017/07/05/adding-a-custom-contact-facet-in-...
karthik's user avatar
  • 71
1 vote
2 answers
273 views

Postcondition 'this.Interaction should not be null' exception while identifying a Contact

Sitecore 9.3 I have an API endpoint and is being used to identify the contact. When it is being called through Sitecore application, it is working absolutely fine but it's failing with below ...
Arvind Gehlot's user avatar
1 vote
1 answer
76 views

xConnect facet value persistence in multisite, when trying to open both sites in the same window but diff tabs

I have county-specific multisite and configured correctly in site settings, As mentioned below. Secondly, on the home page, I'm using some contact from the custom facet, and the source of data is ...
Jitendra soni's user avatar
2 votes
1 answer
54 views

Add values for contact facets

I'm using 9.1.1, and at the moment all of the contacts I have in experience profile are coming back as unknown. For our system, you have to log in to use anything beyond the homepage, and as part of ...
Ken McAndrew's user avatar
  • 5,092
2 votes
3 answers
346 views

How to get a contact with custom facet?

I am trying to get a Sitecore contact with the custom facet. The custom facet is working fine I have verified it. The following code is running fine on Standalone and CM environment but is throwing ...
Gautam Aneja's user avatar
4 votes
0 answers
195 views

xDB not tracking Custom Facet

Version: Sitecore 9.2 I have followed these tutorials: - https://himmatsinghdulawat.blogspot.com/2019/06/create-custom-facet-model-in-sitecore-9.html - How to properly configure a custom facet in ...
LinkedListT's user avatar
3 votes
1 answer
121 views

Exm OOTB Insert Tokens

For Exm's insert token, is it possible to use OOTB contact facets? I.e. Personal_Title, Personal_Gender or only $email$ $fullname$ $firstname$ $lastname$ $name$ $phone$ If this is the case, ...
LinkedListT's user avatar
0 votes
1 answer
505 views

Export all information related to Contacts using List Manager

Environment: Sitecore 9.3 I have a list of contacts based on both OOTB and custom facets. When you try to export a list using List Manager, it exports the following fields in CSV file: Identifier, ...
PSS's user avatar
  • 607
1 vote
1 answer
74 views

Coveo DNE feature -new facet styling

I'm going to implement a new Coveo feature Dynamic navigation When I define CoveoDynamicFacet instead of CoveoFacet, I automatically get a new facet style with that. Is there a way to keep the old ...
misterm's user avatar
  • 11
0 votes
1 answer
83 views

Sitecore 9.1 custom facets

I am upgrading my Sitecore 8.2 code to work with Sitecore 9.1 WE have custom facets and few custom facets have collection field like below code. public IElementCollection<IJobPreferenceElement&...
S.Kazmi's user avatar
  • 906
0 votes
1 answer
258 views

How to set profile values for a website visitor programmatically

Using Sitecore 9.1 I need to add profile values programmatically to a profile created under Marketing Control Panel. Once this is achieved, the idea is to use it for personalization by setting up ...
Paulson Maclean's user avatar
1 vote
2 answers
143 views

Create the contact in XDB without Session.Abandon and save Engagement, behavior ,Interaction facets

What would be the best practice to save the Contact in XDB, At present if "Contact" not exists in XDB (validating by phone + email) and it submit the "Contact-us-Form" then I am using Session....
Shailesh's user avatar
  • 717
1 vote
1 answer
177 views

XConnect client outside of Sitecore context is not binding to custom facets

I am trying to update & query an xDB contact via the XConnect Client API from a console application. I can query and retrieve the default facets e.g. PersonalInformation.FirstName ...
j_r's user avatar
  • 143
7 votes
2 answers
355 views

Updating model of custom facet

I created a custom contact facet and deployed it. Due to certain requirements, I need to change the data type from bool to string for those facets. Do you see any challenges there? And how I can ...
NutsAndBolts's user avatar
  • 1,310
4 votes
2 answers
196 views

Update Outcome using xConnect client

Sitecore: 9.0.2 I am trying to update xDB for contacts with the Outcome. The source of data is from third party, so I cannot go through Tracker. I am using the following code snippet Code snippet: ...
NutsAndBolts's user avatar
  • 1,310
3 votes
1 answer
2k views

How to properly configure a custom facet in Sitecore 9.1

I have been trying the Sitecore samples to define a custom facet, and it all works if I do it outside from Sitecore. But when I want Sitecore to track the contacts and add data to the custom facet, I ...
freethinker6's user avatar
0 votes
1 answer
228 views

Couldn't set avatar facet to contact in experience profile sitecore 9

I'm using Sitecore 9.1.1 and I am creating a Contact programmatically and set its facets. My problem is when I set the Avatar facet which is the picture of the contact. The following code is where I ...
Fatema elsayed's user avatar
2 votes
2 answers
373 views

Display Custom Facet in Sitecore Experience Profile 9.1.1

I'm using Sitecore 9.1.1, I Followed this Link to create a custom facet to each contact and its added successfully to xDB, I don't have a screenshot of it but its like the below image: and this ...
Fatema elsayed's user avatar
2 votes
1 answer
333 views

Custom Facet for Anonymous Contact. Is it possible?

Hi guys, I have a fairly simple question. I have created some custom facets and tested them for known Contacts and they work. But when I do the same regarding Anonymous Contacts, I could not set the ...
Bien Angelo Relucano's user avatar
0 votes
0 answers
236 views

Bucket search - facets filter limited to 10 results

Been digging around how to get more than 10 results for each facet filter and can't find any setting to do so - also tried to dotpeek without any luck. Does anyone came across with this issue or know ...
mogas's user avatar
  • 1
0 votes
2 answers
352 views

How to Create a Custom Facet with Hierarchy in Sitecore 9?

I would like to create some form of a hierarchy in a Custom Facet in Sitecore 9. However, the documentation only provided examples using Sitecore 8.2 here. When I tried creating an ...
Bien Angelo Relucano's user avatar
3 votes
1 answer
179 views

Automation Engine activity type not retrieving custom facet

I have a custom activity type in Marketing Automation that is being processed correctly in the MA journey, however I am unable to retrieve a custom facet from the IContactProcessingContext in the ...
andyp's user avatar
  • 893
0 votes
1 answer
1k views

Get XDB Sitecore.Analytics.Tracking.Contact with Contact Id always returning null value

I am working with XDB to get Contact by Contact-Id using LoadContact method in Sitecore 9 Update 2, but it returns me the null value of contact, The same contact-Id exist in my Shard0 database with ...
Himmat Singh Dulawat's user avatar
0 votes
2 answers
215 views

Can I have multiple the same facet types with different facet keys?

in every article and documentation I can see they are using for one facet type one (default) facet key. MyCustomFacet facet = new MyCustomFacet(); var facetReference = new FacetReference(contact, ...
Lukas Dvorak's user avatar
1 vote
0 answers
36 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 ...
Himmat Singh Dulawat's user avatar
10 votes
1 answer
2k 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 ...
Himmat Singh Dulawat's user avatar
1 vote
0 answers
183 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 ...
Jan Nowak's user avatar
  • 311
0 votes
2 answers
483 views

xConnect - xDB Facet Types

In the xConnect model, we have a property with dictionary type and when we try to put it in a lambda expression for some logic it fires back. Sample Model: public class eBikeContactFacet : Facet { ...
Sujana's user avatar
  • 97
1 vote
2 answers
3k 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 ...
Jason Davidson's user avatar
1 vote
1 answer
413 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-...
Mariam Nasr's user avatar
5 votes
2 answers
589 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, ...
Vlad Iobagiu's user avatar
  • 18.2k
1 vote
1 answer
205 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 ...
Pawan's user avatar
  • 80