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
1 vote
1 answer
28 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 ...
  • 1,944
0 votes
1 answer
74 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 ...
2 votes
1 answer
57 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
1 answer
92 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
2 answers
353 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
1 vote
1 answer
112 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
1 answer
129 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 ...
  • 1
0 votes
1 answer
115 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
0 answers
49 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 ...
  • 191
3 votes
1 answer
109 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
2 answers
69 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
0 answers
60 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
0 answers
70 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
1 answer
235 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 ...
  • 51
1 vote
2 answers
196 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
1 answer
163 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
1 answer
75 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/...