Tag Archives: Sitecore

Sitecore Postbacks not working? Contents not updated on button click? Try removing caching from your rendering

This is a classic Sitecore blunder – suddenly postbacks or button clicks have no effect, as if the web site no longer are connected to your webforms codebehind or the MVC renderings. And you have not changed any code. But … Continue reading

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

Sitecore SOLR error: Invalid Date in Date Math String

There seems to be an issue with certain combinations of Sitecore, SOLR and the local machine datetime settings. This is the error: ManagedPoolThread #11 12:20:50 INFO Job started: Index_Update_IndexName=sitecore_master_index ManagedPoolThread #11 12:20:50 ERROR Exception Exception: System.Reflection.TargetInvocationException Message: Exception has been … Continue reading

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

Sitecore separate users from CORE database – move membership provider to separate database

Since Sitecore 6, Sitecore have had the .NET membership tables in the CORE database. And since every instance of Sitecore needs access to the CORE database, it might seem as a good place to store them. But separating the users … Continue reading

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

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 , , , , | Leave a comment

Edit special field types in Sitecore Experience Editor – Custom Experience Editor Buttons replaces the Edit Frame

The Sitecore Experience Editor allows inline editing of simple field types like text and rich text (HTML) field, and a few complex ones like links. But editing checkboxes, lookup values, multiselect boxes, or any custom field you might have developed … Continue reading

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

Sitecore Scheduled Task – Schedule time format and other quirks

The Sitecore task runner, usually called Scheduled Tasks, is a simple way of executing code with intervals. You configure scheduled tasks in Sitecore, at /sitecore/system/Tasks/Schedules: The quirkiest configuration setting is the “Schedule” field, which is a pipe separated string determining when … Continue reading

Posted in c#, Sitecore, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8 | Tagged , , , | 1 Comment

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 , , , , | Leave a comment

Sitecore Media Library integration with Azure CDN using origin pull

If your Sitecore website is heavy on content from the media library you can offload your Sitecore instances by allowing images to be retrieved from a Content Delivery Network (CDN). If you use Microsoft Azure, you do not need to … Continue reading

Posted in Sitecore 8 | Tagged , , , , , , , | 3 Comments

Sitecore ContentSearch – Get items from SOLR or Lucene – A base class implementation

Reading items from Sitecore is pretty straight forward: And it is fast, unless you need to retrieve items from many paths, or need to retrieve every child of a certain base class. In these situations you resolve to using the … Continue reading

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

Sitecore user:created event not fired on Membership.CreateUser

Sitecore have since 7.5’ish fired events each time you manipulate the users in the .NET Membership database: But I noticed that the user:created event was not fired. This is because I call the .NET Membership provider directly: This call to … Continue reading

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