Questions tagged [contact]

Any question related to Sitecore user contact either identified or unidentified should fall into this tag.

Filter by
Sorted by
Tagged with
0 votes
1 answer
46 views

How to implementing keyword search with xconnect contact facet search?

I am using Sitecore 10 and trying to implement keyword search with xConnect contact. I want to search for contacts that have email or phone number that contains the inputted keyword. Below is my ...
user avatar
2 votes
1 answer
50 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 ...
user avatar
1 vote
1 answer
76 views

Impacts of enabling the indexing of anonymous contacts in the xDB index?

We're looking on enabling the indexing of the anonymous contacts in the xdb index, but the https://doc.sitecore.com/en/developers/91/sitecore-experience-platform/enable-indexing-of-anonymous-contacts-...
user avatar
2 votes
2 answers
274 views

Can we get all contacts data from xdb through code?

We would like to fetch all contacts data from xdb through code in SXA Sitecore 9.1.1. Could someone assist for this ?
user avatar
  • 1
1 vote
1 answer
99 views

Sitecore.XConnect.Contact vs Sitecore.Analytics.Tracking.Contact

I am upgrading code from Sitecore 8.2 to Sitecore 9.3. In Sitecore 8.2 we have a code snippet:- public Contact GetCurrentContact() { if (Tracker.IsActive && Tracker.Current != null ...
user avatar
2 votes
1 answer
117 views

Send email to contact before deleting the contact

We are adding Contact and sending email in Sitecore 9.1.1. We dont want to show that contact in Experience profile so we are deleting that contact on same method after sending email. However, log file ...
user avatar
  • 1
0 votes
1 answer
102 views

Error occured while synchronizing xconnect contacts to salesforce

I am using Sitecore XP 9.3 to synchronize contacts data from Sitecore to salesforce and vice versa. For this, I installed the Sitecore Data Exchange framework 4.0 package and Sitecore connect for ...
user avatar
0 votes
0 answers
43 views

How to get all Segmented lists for a contact

Anyone have a smart way to get all the Segmented lists for a given contact? I have 40 Segmented lists and I need to display a list of all to whom a contact is assigned at a given moment in the user ...
user avatar
  • 171
3 votes
1 answer
78 views

LeaseOwner and LockAttempt does it work in Sitecore 9.3 Analytics

I am working on Sitecore Analytics Contact code Upgrade from Sitecore 8.2 to 9.3 After upgrading latest dlls and adding XConnect assemblies, I am getting issue in some scenario LockAttemptResult is ...
user avatar
1 vote
2 answers
65 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 ...
user avatar
0 votes
0 answers
59 views

New Interaction doesn't show after 2nd: using IdentifyAs

I am developing a function to support tracking user behavior through a mobile app. Below is the current scenario: Case 1: Anonymous User 1 - Working fine: Anonymous user visits the page, then these ...
user avatar
0 votes
0 answers
59 views

How to delete an email address from all contact lists programmatically?

I am trying to delete a user's email address from all Lists in List Manager, which the user might be subscribed to in Sitecore 8.1. Is there a particular API available to do this?
user avatar
0 votes
1 answer
195 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 ...
user avatar
  • 51
1 vote
2 answers
175 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 ...
user avatar
1 vote
1 answer
153 views

How to programmatically trigger a goal to contact and then retrieve it in the same visit and in later visits

I want to trigger a goal programmatically to the website visitor/contact and retrieve this triggered goal during the contact's current visit and in his future visits. I could trigger the goal of using ...
user avatar
0 votes
1 answer
68 views

Reloading contact into session fails

The solution is based on Sitecore 9.0.2 and two machines: CM and CD. I'm doing some changes to the contact profile and I want to reload it to the session as described here: https://doc.sitecore.com/...
user avatar