Where Is This Field Defined? Add ‘Goto Template’ Links for Fields in the...
About a month ago, I read this answer on Stack Overflow by Sitecore MVP Dan Solovay, and thought to myself “what could I do with a custom EditorFormatter that might be useful?” Today, I came up with an...
View ArticleReuse Sitecore Data Template Fields by Pulling Them Up Into a Base Template
How many times have you discovered that you need to reuse some fields defined in a data template, but don’t want to use that data template as a base template since it defines a bunch of fields that you...
View ArticleSwap Out Sitecore Layouts and Sublayouts Dynamically Based on a Theme
Out of the box, cloned items in Sitecore will retain the presentation components of their source items, and teasing these out could potentially lead to a mess. I recently worked on a project where I...
View ArticleSuppress Most Sitecore Wizard Cancel Confirmation Prompts
By default, clicking the ‘Cancel’ button on most wizard forms in Sitecore yields the following confirmation dialog: Have you ever said to yourself “Yes, I’m sure I’m sure” after seeing this, and...
View ArticleDisplay Content Management Server Information in the Sitecore CMS
The other day I cogitated over potential uses for the getAboutInformation pipeline. Found at /configuration/sitecore/pipelines/getAboutInformation in the Web.config, it can be leveraged to display...
View ArticleAdd Additional Item Properties in Sitecore Item Web API Responses
The other day I was exploring pipelines of the Sitecore Item Web API, and took note of the itemWebApiGetProperties pipeline. This pipeline adds information about an item in the response returned by the...
View ArticleGo Green: Put Items in the Recycle Bin When Deleting Via the Sitecore Item...
This morning I discovered that items are permanently deleted by the Sitecore Item Web API during a delete action. This is probably called out somewhere in its developer’s guide but I don’t recall...
View ArticleEnforce Password Expiration in the Sitecore CMS
I recently worked on a project that called for a feature to expire Sitecore users’ passwords after an elapsed period of time since their passwords were last changed. The idea behind this is to lessen...
View ArticleExpand Your Scope: Add Additional Axes Via a Custom Sitecore Item Web API...
The Sitecore Item Web API offers client code the choice of retrieving an Item’s parent, the Item itself, all of its children, or any combination of these by simply setting the scope query string...
View ArticlePublish Items With the Sitecore Item Web API Using a Custom ResolveAction...
At the end of last week, when many people were probably thinking about what to do over the weekend, or were making plans with family and/or friends, I started thinking about what I might need to do...
View ArticleSet New Media Library Item Fields Via the Sitecore Item Web API
On a recent project, I found the need to set field data on new media library items using the Sitecore Item Web API — a feature that is not supported “out of the box”. After digging through...
View ArticleContent Manage Links to File System Favicons for Multiple Sites Managed in...
Earlier today someone started a thread in one of the SDN forums asking how to go about adding the ability to have a different favicon for each website managed in the same instance of Sitecore. I had...
View ArticleNavigate to Base Templates of a Template using a Sitecore Command
Have you ever said to yourself when looking at base templates of a template in its Content tab “wouldn’t it be great if I could easily navigate to one of these?” I have had this thought more than once...
View ArticleShortcodes in Sitecore: A Proof of Concept
Today I stumbled upon a post in one of the SDN forums asking whether anyone had ever implemented shortcodes in Sitecore. I have not seen an implementation of this for Sitecore — if you know of one,...
View ArticleUnlock Sitecore Users’ Items During Logout
The other day I saw a post in one of the SDN forums asking how one could go about building a solution to unlock items locked by a user when he/she logs out of Sitecore. What immediately came to mind...
View ArticleSpecify the Maximum Width of Images Uploaded to the Sitecore Media Library
Last week someone started a thread in one of the SDN forums asking how one could go about making Sitecore resize images larger than a specific width down to that width. Yesterday an astute SDN visitor...
View ArticleInsert a New Item After a Sibling Item in Sitecore
Have you ever thought to yourself “wouldn’t it be nice to insert a new item in the Sitecore content tree at a specific place among its siblings without having to move the inserted item up or down...
View ArticleResolve Media Library Items Linked in Sitecore Aliases
Tonight I was doing research on extending the aliases feature in Sitecore, and discovered media library items linked in them are not served correctly “out of the box”: As an enhancement, I wrote the...
View ArticleChoose Template Fields to Display in the Sitecore Content Editor
The other day I was going through search terms people had used to get to my blog, and discovered a few people made their way to my blog by searching for ‘sitecore hide sections in data template’. I had...
View ArticlePerform a Virus Scan on Files Uploaded into Sitecore
Last week I took notice of a SDN forum post asking whether there are any best practices for checking files uploaded into Sitecore for viruses. Although I am unaware of there being any best practices...
View Article