Category Archives: Sitecore 8

Sitecore how to configure SSL (HTTPS) in your Sitecore config files

SSL and HTTPS have been the hot topic since Google began to use HTTPS as a signal in their search rankings. Fortunately, Sitecore really does not care if it runs in HTTP or HTTPS, so most of the configurations are … Continue reading

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

Sitecore Hiding items: Clean up the cluttered content tree

As a followup to a question from Derek Dysart on my previous post, How to make the experience editor a great experience for your editors I will explain how you can clean up the Sitecore content tree by hiding system items. A … Continue reading

Posted in Sitecore 6, Sitecore 7, Sitecore 8 | Tagged , , , | 2 Comments

Sitecore how to make the experience editor a great experience for your editors

In Sitecore it is very easy to toss in a few renderings on a page, set the renderings flag to “editable”, and voila, the page is editable using the Sitecore Experience Editor. But that kind of laziness often ends up … Continue reading

Posted in Sitecore 7, Sitecore 8 | Tagged , | 6 Comments

Sitecore Failed to update profile pattern

My Sitecore CD servers logged the following errors 2-3 times per minute: 7760 11:10:46 ERROR Failed to update profile pattern Exception: System.ArgumentNullException Message: Value cannot be null. Parameter name: item Source: Sitecore.Kernel at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName) at Sitecore.Analytics.Data.Items.ItemRecords`1.<GetDescendants>d__8.MoveNext() at … Continue reading

Posted in Sitecore 8 | Tagged , , , | Leave a comment

Get Sitecore System Info

Would you like to know the System Info of your current Sitecore instance: It’s fairly easy. I created an SysInfo.aspx page and dumped in into the /sitecore modules/shell folder. The page is now available on the URL <yourwebsite>/sitecore modules/shell/sysinfo.aspx. The … Continue reading

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

Sitecore MongoDB – What do we know about a contact?

The Sitecore Analytics can be somewhat of a black box. All we know is that Sitecore stores everything about a site visitor in a Contact object and stuffs it into MongoDB when the visitor session expires. A while ago my … Continue reading

Posted in Sitecore 8 | Leave a comment

Sitecore custom cache that is cleared on publish

In this article I will demonstrate how to create a custom Sitecore cache and how to ensure that it is cleared when you publish. First I will create the simplest custom cache available: The cache is instantiated with a name, … Continue reading

Posted in c#, General .NET, Sitecore 6, Sitecore 7, Sitecore 8 | Tagged , , , , , , , | 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 , , , , , | 1 Comment

Sitecore Scheduled Tasks – Run on certain server instance

If you would like certain Sitecore Scheduled Tasks run on a certain server instance (your CM server for example) the approach is pretty simple. First, create a new folder under /sitecore/system/Tasks. I have a new folder called “CMSchedules“. Place your Scheduled … Continue reading

Posted in Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8 | Tagged , | 3 Comments

Sitecore Publishing – Programmatically determine if item should be published

Sitecore uses it’s publish settings to determine if an item should be published. But you can only control a publish from versions and date times. So what if you have other values that determine if an item must be published … Continue reading

Posted in General .NET, Sitecore 6, Sitecore 7, Sitecore 8 | Tagged , , , | Leave a comment