Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- C# DateTime to UNIX timestamps
- C# Use HttpClient to GET JSON from API endpoint
- C# Azure Table Storage QueryAsync, Paging and Filtering
- C# JWT Token Get Expiry Timestamp
- Serialization and deserialization of 'System.IntPtr' instances are not supported. Path: $.TargetSite.MethodHandle.Value
- C# Authorization in .NET Core API's using Attributes, TypeFilterAttribute and IAuthorizationFilter
- .NET API CORS: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header.NET API
Archive
Meta
Tag Archives: Contact
Sitecore Object of type ‘System.Runtime.Serialization.TypeLoadExceptionHolder’ cannot be converted to type ‘Sitecore.Analytics.Model.Framework.IFacet’.
When deleting or refactoring Sitecore Contact Facets, and when using a Shared Session Manager, this error can exhaust your solution to the point where the IIS recycles: ERROR Error executing the session end callback. Id: dd7b0466-af93-4130-a388-9e9eca9c0839 Exception: System.ArgumentException Message: Object … Continue reading
Posted in Sitecore 8
Tagged Contact, Facet, Shared Session Manager, Sitecore and .net
Leave a comment
Sitecore 9 Tracker.Current.Session.Identify is replaced with Tracker.Current.Session.IdentifyAs
In Sitecore 9, Sitecore have decided to change how you identify named users, i.e. how you match a Contact with a user that is logged into your website. The Tracker.Current.Session.Identify method is obsolete. It has been replaced with Tracker.Current.Session.IdentifyAs: The IdentifyAs() … Continue reading
Sitecore Rule – Personalize based on any field in any facet in your Contact
This Sitecore Personalization Rule was developed by my colleague Martin Rygaard with the purpose of being able to personalize on any field in any facet on a contact. STEP 1: CREATE THE CONDITION Create a new “Condition” below /sitecore/system/Settings/Rules/Definitions/Elements/??? The text … Continue reading
Posted in .net, c#, Sitecore 7, Sitecore 8
Tagged Contact, Facet, Personalization, rules, Sitecore and .net
4 Comments
Sitecore contact cannot be loaded, code never responds
In Sitecore, it is possible to encounter a situation where the calls identifying or locking a contact never responds, but there is no errors returned. A call to identify: And a call to Load a contact: Can both take forever … Continue reading
Posted in Sitecore 7, Sitecore 8
Tagged Contact, ContactManager, MongoDB, Sitecore and .net, Tracker.Current.Session.Identify
Leave a comment
Sitecore General error when submitting contact – Another contact with the same identifier already exists
In Sitecore when creating your own contacts you can get the following exception: 10604 10:16:27 ERROR General error when submitting contact. Exception: System.InvalidOperationException Message: Another contact with the same identifier already exists. Source: Sitecore.Analytics.MongoDB at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider.SaveContactWithIdentifier(IContact contact, ContactSaveOptions saveOptions) at … Continue reading
Posted in .net, c#, General .NET, Sitecore 8
Tagged Contact, ContactManager, ContactRepository, MongoDB, Sitecore and .net, xDB
2 Comments
Sitecore 8 EXM: Failed to enroll a contact in the engagement plan
In Sitecore 8.1 update 1, you might experience the following error when trying to send an email: ERROR Failed to enroll a contact in the engagement plan. Exception: System.Net.WebException Message: The remote name could not be resolved: ‘default-cd-cluster’ … … … Continue reading
Posted in Sitecore 8
Tagged Contact, Engagement Plans, EnrollInEngagementPlan, EXM, Sitecore and .net
1 Comment
Sitecore Contacts – Create and save contacts to and from xDB (MongoDB)
The Sitecore Contact is the cornerstone of the Sitecore Experience Platform and is the place where you store every data you know about any contact, named and anonymous. UPDATE: 09-09-2016: CreateContact Updated: Thanks to moginheden for the update. UPDATE: 27-09-2016: … Continue reading
Posted in .net, c#, General .NET, Sitecore 8
Tagged Analytics, Contact, ContactManager, ContactRepository, lockAttempt, MongoDB, Sitecore and .net, Tracker, xDB
21 Comments
Sitecore contact facets – Create your own facet
This article describes how to create a simple Sitecore facet consisting of a DateTime and a list of strings. A contact is made up of facets. Here are all the facets Sitecore uses (you will find the facets in \App_Config\Include\Sitecore.Analytics.Model.Config): In … Continue reading
Posted in .net, c#, General .NET, Sitecore 8
Tagged Contact, EnsureCollection, Facets, IElement, IElementCollection, IFacet, MongoDB, Sitecore and .net, xDB
16 Comments
Sitecore 8 and Tracker.Current.Session.Identify – Overriding expired contact session lock for contact id
The new Sitecore 8 Experience Profile is a vital part, yes almost a cornerstone of the new xDB concept. UPDATE 2018-01-19: Please note that in Sitecore 9, Tracker.Current.Session.Identify have been replaced with Tracker.Current.Session.IdentifyAs. For more information, see Sitecore 9 Tracker.Current.Session.Identify is replaced … Continue reading
Posted in c#, Sitecore 8, Sitecore and .net
Tagged Contact, Experience Profile, Sitecore and .net, Tracker.Current.Session.Identify, xDB
8 Comments