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
2
votes
1answer
38 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 ...
1
vote
1answer
50 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-...
2
votes
2answers
178 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 ?
1
vote
1answer
72 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 ...
2
votes
1answer
97 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 ...
0
votes
1answer
94 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 ...
0
votes
0answers
40 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 ...
2
votes
1answer
54 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 ...
1
vote
2answers
61 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 ...
0
votes
0answers
55 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 ...
0
votes
0answers
52 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?
0
votes
1answer
145 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 ...
1
vote
2answers
153 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 ...
1
vote
1answer
131 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 ...
0
votes
1answer
60 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/...