The 2016 Sitecore Symposium that took place September 14-16 in New Orleans was a true mix of “work” and play. One of my favorite things about symposiums is the quality of the speakers and the content that they are able to deliver in such a short period of time.
As usual, we had Michael Seifert and his partner in crime Darren Guarnaccia put on an awesome opening keynote demonstrating some of the new things Sitecore has to offer. Two features in particular really caught my eye: the Sitecore Experience Accelerator (SXA) and Sitecore Commerce.
Here are the aspects of each feature that I am most excited about.
It is very common for content authors to need a little extra assistance when entering content through the page editor. For example, they may be uploading an image and need to know what the recommended dimensions are. Instead of having to reference an old email from the developers who built the site or dig up an old conversation in Basecamp, you can now provide this information to them right in the page editor. Below is an example of what this looks like.
Frequently when building Sitecore sites, the need has come up for the content author to be able to enter the hours of operation for their business. Unfortunately there is no built-in field type in Sitecore and nothing on the Sitecore Marketplace. With the help of two of my colleagues, Aaron Ladage and Patrick Delancy, we created a custom hours of operation field type. Our type allows content authors to easily enter opening and closing times for each day of the week. The value is stored as XML and can be easily parsed not only to display for website visitors, but also to add the proper microdata and boost the website’s SEO.
Dependency injection in .NET has become fairly commonplace and there are many popular frameworks out there to do so. If you’re embracing the philosophy of building generic re-usable pieces of functionality, you may not want to tie yourself down to one particular technology. Fortunately Sitecore provides a solution that will allow you to easily use different IoC frameworks between projects. This post will describe how to utilize the Sitecore configuration factory for basic dependency injection.
Web Forms for Marketers provides a great feature called form reports which gives you access to every web forms form submission. Sitecore provides you with two formats for exporting these records. You can export them to an Excel document (.xls) or to an XML document (.xml). However, your users might want to export the records to other formats. This post will describe how to add your own custom export button using a format of your choosing.
If you decompile the Sitecore Kernel, you will see three variables that you can use in your email action out of the box:
However, for many people the need arises to have use their own. This post describes how to do so.
To create a scheduled task in Sitecore, first you must create the .NET class that will contain the logic that you wish to execute. In the example below I’m simply logging a message whenever the task is run.
Your method must accept three arguments.
- An array of items that can be specified in a later step when you define the command’s schedule.
- The Sitecore task CommandItem
- The Sitecore task ScheduleItem