Category Archives: c#

Sitecore List Manager – Add Contacts to EXM Lists

This is yet another post on the focal point of Sitecore 8: Contacts. The contact repository is a multi-usage storage of user information, from visitors (named and anonymous) to imported email addresses to be used in email campaigns. The Sitecore … Continue reading

Posted in c#, Sitecore 8 | Tagged , , , , | 2 Comments

Sitecore Virtual Users – authenticate users from external systems

One of the very old Sitecore features popped up yesterday. My team and I are working on moving our 550.000+ users from the .NET Membership Provider to an external system, possibly .NET Identity. .NET Identity will authorize the users, but we … Continue reading

Posted in Sitecore 5, Sitecore 6, Sitecore, c#, Sitecore 7, Sitecore 8 | Tagged , , , | 4 Comments

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 , , , , , , , , | 14 Comments

Sitecore register page events

A Page Event in Sitecore is a way of tracking when a user have reached a goal by executing a call to action on a specific page, for example: Downloaded a brochure Clicked your banner Done a search A page … Continue reading

Posted in c#, General .NET, Sitecore 8 | Tagged , , , , , | Leave a comment

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 , , , , , , , , | 12 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. In xDB, you store information about the current user, anonymous or named, as a Contact in the Experience Profile (stored in … Continue reading

Posted in c#, Sitecore, Sitecore 8 | Tagged , , , , | 4 Comments

Extend the Sitecore FieldRenderer

The Sitecore FieldRenderer is the render controls used to render fields from Sitecore in a way that makes them page editable from the Page Editor (or Experience Editor as it is called in Sitecore 8). The FieldRenderer has been known … Continue reading

Posted in Sitecore 5, Sitecore 6, c#, Sitecore 7, Sitecore 8 | Tagged , , , | Leave a comment

Sitecore 8 EXM Get the email recipient from a Sublayout

The Sitecore 8 Email Experience Manager (EXM) is not only about sending bulk emails. It can be used to send one-time messages like “Thank you for signing up” or “forgot your password?” directly from code. In the previous versions of … Continue reading

Posted in c#, Sitecore 8 | Tagged , , , | 2 Comments

Sitecore Transfer items from one database to another

In this article I will describe how to transfer items from one Sitecore database to another. Usually you transfer content by publishing. But in rare cases this is not an option: You are not moving content from master to web … Continue reading

Posted in c#, General .NET, Sitecore 6, Sitecore 7, Sitecore 8 | Tagged , , , | 2 Comments

All my Sitecore items are called __Standard Values – The fix

In the previous post i described how a tiny error in Sitecore made you believe that all of the Sitecore items are called __Standard Values. The error occurs in the Danish language because Sitecore unintentionally added the word “__Standard Values” … Continue reading

Posted in c#, General .NET, Sitecore 7, Sitecore 8 | Tagged , | 1 Comment