Category : Sitecore

Checking for Experience Explorer Context in Sitecore 9

With the release of Sitecore 9, a underappreciated DLL was removed: Sitecore.ExperienceExplorer.Business.dll. I’ve honestly never paid much attention to that DLL. The one thing I used it for, however, was determining if the current context was Experience Explorer. Synthesis made use of this: The new way of handling this is via the IsExplorerMode method in

Read More →

Creating Custom Server Roles in Sitecore 9

Sitecore 9 brings about a new feature: Server Roles. This is actually one of the features I was most excited about. What is a Server Role? Sitecore 9 ships with 5 server roles: ContentManagement, ContentDelivery, Processing, Reporting, Standalone. You can read more about what each role is used for from their documentation page. Using these

Read More →

Autowiring XConnect Models

I’ve been playing around with XConnect for the last few weeks and so far I like what I see. While playing around with custom models, I noticed that model schemas need to be manually registered. While not actually a big deal, this is an additional step that can be forgotten. I prefer to eliminate these

Read More →

Get to Know a Pipeline: GetMediaCreatorOptions

Background I was building a feature the other day that involved overriding something in the Sitecore file watcher. I needed to set some custom behavior in the MediaCreator to watch for a specific file being dropped into the /upload folder. Small disclaimer: I ultimately didn’t end up using this at all, but I still learned

Read More →

What Helix is NOT

Last week I had the pleasure of attending a workshop on Helix, presented by Derek Correia. The mindset I had going into this was “I’ve seen the presentations, I’ve been working with Helix a bit, this will be nothing new.” I was pleasantly surprised to be wrong. If you’re not already aware, Helix is Sitecore’s

Read More →

Link Description Length Validator

Today’s adventure is about custom validators. A feature I’m working on has a requirement that a link’s description must be no longer than 60 characters. I decided to look at the field validators that Sitecore comes with. The closest one I could find was the “Max Length 40” validator located at: /sitecore/system/Settings/Validation Rules/Field Rules/Sample/Max Length

Read More →

Sitecore Query Cheat Sheet

Since starting with Sitecore, I’ve had a copy of John West’s “Sitecore Query Cheat Sheet” Word Doc file on my hard drive, ready at a moment’s notice. It has been one of the most helpful documents I’ve found, and is pretty timeless. What is this document, you ask? Well, it contains some very helpful information

Read More →

Upgrading Sitecore 6.6 to .NET 4.5

Last week I had to update a Sitecore 6.6 site to .NET 4.5. The upgrade went just fine. After it was done, I flipped through the pages on the front end and everything looked fine. Next, I tried Sitecore to make sure everything was working. I clicked around the content editor for a good 15

Read More →

Sitecore Tips and Tricks: The Gutter

Sitecore’s content editor has a handy feature called the gutter. The gutter shows up on the left hand side of the content editor, and is a great way of showing information about a content item at a glance. Some handy things it can show you: Item Buckets Cloned Items Personalizations Multivariant Tests My Locked Items Locked

Read More →

1 2