Restart the Sitecore Client and Server Using Custom Pipelines
Last week Michael West asked me about creating shortcuts to restart the Sitecore client and server via this tweet, and I was immediately curious myself on what was needed to accomplish this. If you are...
View ArticleDelete All But This: Delete Sibling Items Using a Custom Item Context Menu...
Every so often I find myself having to delete all Sitecore items in a folder except for one — the reason for this eludes me at the moment, but it does make an appearance once in a while (if this also...
View ArticleSynchronize IDTable Entries Across Multiple Sitecore Databases Using a Custom...
In a previous post I showed a solution that uses the Composite design pattern in an attempt to answer the following question by Sitecore MVP Kyle Heon: So using #Sitecore IDTable is per database. What...
View ArticlePrevent Sitecore Dictionary Entry Keys From Appearing When Their Phrase Field...
Earlier today when doing research for another blog post around on-demand language translation in Sitecore, I remembered I wanted to blog about an issue I saw a while back when using the Sitecore...
View ArticleEmbedded Tweets in Sitecore: A Proof of Concept
In a previous post, I showcased a “proof of concept” for shortcodes in Sitecore — this is a shorthand notation for embedding things like YouTube videos in your webpages without having to type up a...
View ArticleRestrict IP Access of Directories and Files in Your Sitecore Web Application...
Last week my friend and colleague Greg Coffman had asked me if I knew of a way to restrict IP access to directories within the Sitecore web application, and I recalled reading a post by Alex Shyba...
View ArticleExport to CSV in the Form Reports of Sitecore’s Web Forms for Marketers
The other day I was poking around Sitecore.Forms.Core.dll — this is one of the assemblies that comes with Web Forms for Marketers (what, you don’t randomly look at code in the Sitecore assemblies? ;) )...
View ArticleAdd ‘Has Content In Language’ Property to Sitecore Item Web API Responses
The other day I had read a forum thread on SDN where the poster had asked whether one could determine if content returned from the Sitecore Item Web API for an Item was the actual content for the Item...
View ArticleRestrict Certain Files from Being Uploaded Through Web Forms for Marketers...
This past weekend I noticed the <formUploadFile> pipeline in Web Forms for Marketers (WFFM), and wondered whether I could create an alternative solution to the one I had shared in this post — I...
View ArticleSet Default Alternate Text on Images Uploaded to the Sitecore Media Library
For the past couple of years, I have been trying to come up with an idea for adding a custom <getMediaCreatorOptions> pipeline processor — this is no lie or exaggeration — but had not thought of...
View ArticleOmit HTML Breaks From Rendered Multi-Line Text Fields in Sitecore
Earlier today while preparing a training session on how to add JavaScript from a Multi-Line Text field to a rendered Sitecore page, I encountered something I had seen in the past but forgot about:...
View ArticleLeverage the Sitecore Configuration Factory: Populate Class Properties with...
I thought I would jot down some information that frequently comes up when I am asked to recommend plans of attack on projects. The first recommendation I always give for any Sitecore project is: define...
View ArticleLeverage the Sitecore Configuration Factory: Inject Dependencies Through...
In my previous post, I showed how you can leverage Sitecore’s Configuration Factory to inject dependencies into properties of class instances — this is known as Setter injection in the Dependency...
View ArticleClone Items using the Sitecore Item Web API
Yesterday, I had the privilege to present with Ben Lipson and Jamie Michalski, both of Velir, on the Sitecore Item Web API at the New England Sitecore User Group — if you want to see us in action,...
View ArticleBundle CSS and JavaScript Files in Sitecore MVC
The other day I was poking around Sitecore.Forms.Mvc.dll — this assembly ships with Web Forms for Marketers (WFFM), and is used when WFFM is running on Sitecore MVC — and noticed WFFM does some...
View ArticleAdd Additional Item Fields to RSS Feeds Generated by Sitecore
Earlier today a colleague had asked me how to add additional Item fields into RSS feeds generated by Sitecore. I could have sworn there was an easy way to do this, but when looking at the RSS Feed...
View ArticleAugment Functionality in Sitecore Using the Decorator Design Pattern
Over the past few days, I’ve been trying to come up with a good idea for a blog post showing the usage of the Decorator design pattern in Sitecore. During this time of cogitation, I was having...
View ArticleEmploy the Template Method Design Pattern for Content Editor Warnings in...
This post is a continuation of a series of posts I’m putting together around using design patterns in Sitecore solutions, and will show a “proof of concept” around using the Template method pattern — a...
View ArticleUtilize the Strategy Design Pattern for Content Editor Warnings in Sitecore
This post is a continuation of a series of posts I’m putting together around using design patterns in Sitecore implementations, and will show a “proof of concept” around using the Strategy pattern — a...
View ArticleExpand New Tokens Added to Standard Values on All Items Using Its Template in...
If you have read some of my older posts, you probably know by now how much I love writing code that expands tokens on Items in Sitecore, and decided to build another solution that expands new tokens...
View Article