While back I blogged about Indexing Blocks with EPiServer Search, this is one of my most read posts, and I use it a lot myself. But I got tired of copying the code every time, so I decided to make it more generic. I created an attribute called "AdditionalSearchContent". When publishing I look for the … Continue reading Indexing Blocks with EPiServer Search, revisited
So I ran into a problem, or maybe a bug, while using the Property Control in a WebForms implementation. I needed to have a backup value for a property. e.g. if you have an introduction property on a page and a description to be used in the MetaData, you might want to return the content … Continue reading A property control with a fallback
While back I blogged about indexing blocks with EPiServer Search. Last week someone told me it might be useful to republish the pages containing the Block automatically when a Block is updated, so the search index will also be updated. To do this, just add another event handler that responds to a Block being published. … Continue reading Indexing Blocks with EPiServer Search, part 2
In my last post I wrote about a way to schedule emails, instead of sending them immediately. This was for WebForms though. Getting this to work in MVC was not that easy. I am not sure if there are some bugs in EPiServer, or that I am missing something somewhere, but this is what it … Continue reading Schedule XForm data mailings in MVC
Our client did not want an email very single time a customer filled in a form, but instead wanted a scheduled mailing with all entries. As I could not find a way to add additional options to the ChannelOptions I decided to overrule the functionality of the "Email" option. If we take Alloy (WebForms version) … Continue reading Schedule XForm data mailings
This week I needed to add Blocks used on a page to EPiServer Search Index as content of the page they were used on. This is supported in Find, but as we are not using Find in this project, I needed a different solution. First I added an extra property to my base class to … Continue reading Indexing Blocks with EPiServer Search
Happy New Year! So the next step. Upgrade to EPiServer Commerce 7.5. The upgrade script failed, with an unclear message. When the changes are reverted, the upgrade script does not roll back deleted files, so I needed to copy "tools.zip" back to it's location. "Mediachase.Cms.Website.dll" was also deleted already, so you can either copy it … Continue reading Upgrading EPiServer Commerce 1 R2 SP1 to EPiServer Commerce 7.5, part 3
So the first thing I had to do was upgrading from version 1 R2 SP2 to 1 R3. I followed the procedure as described in the SDK. The first problem I ran into was that the upgrade script failed. In some way the application pool for the commerce manager could not be restarted. As I … Continue reading Upgrading EPiServer Commerce 1 R2 SP1 to EPiServer Commerce 7.5, part 2
This year we created a shop with EPiServer Commerce 1 R2 SP1. I designed the architecture with future upgrades in mind. The architecture consisted of: • the websites, FrontEnd and CommerceManager, • a DataLayer that provided all the communication with Commerce, • a secure WebApi that provided us with all the communication between the FrontEnd … Continue reading Upgrading EPiServer Commerce 1 R2 SP1 to EPiServer Commerce 7.5, part 1.
I am a huge fan of PostSharp. One of the reasons is that I don't like to do the same thing over and over again. I use the EPiServer Cachemanager quite a lot, but do not like to keep writing the same code over and over again. If not in cache, get stuff, put it … Continue reading Simplify the use of the EPiServer Cache