Home ยป sitecore_internals

sitecore_internals

Programmatically Updating Sitecore Indexes

Ever since Sitecore 7 introduced the ContentSearch namespace, more than half of the projects I’ve worked on have required me to update Lucene indexes from code. This topic has proven to be even more complicated than publishing Sitecore items programmatically! This post will examine some of the ways you can update the Sitecore indexes as-needed, from your code, and my opinions on when you should each each method.

Read More »Programmatically Updating Sitecore Indexes

Compare and Contrast Ways to Programmatically Publish Sitecore Items

When researching how to publish Sitecore items in code, anyone that has done a quick search around the web can tell you that there are many different approaches. Even a quick scan of Sitecore objects will reveal a lot of publishing related classes and methods. This produces a common problem: too many options, but not enough information about which way is “best” or most appropriate for your situation. That’s why I decided to write this blog post. Hopefully this will help you get a better grasp of the different ways to trigger an item publish programmatically, and how to choose the best method for your application.

Read More »Compare and Contrast Ways to Programmatically Publish Sitecore Items