8 posts tagged with "Episerver"

Optimizely Commerce database querying 101

Howdy y'all! When working in projects based on Optimizely (formerly Episerver) Commerce there is often a need to look deep within the database structure to gather information or troubleshoot issues. Having worked with this structure for the past ten years I feel that I could dump some of the "usual… 

Optimizely batch publish gotcha

Hiya! Today's post is about a TIL and a little gotcha I ran into while migrating Commerce properties. Never seen this exact issue before in my 10 years working with Episerver/Optimizely, so as a friendly coder, I leave this post for posterity and search engines. The issue rose as I renamed, made… 

Minimal Mvc Admin Plugin

Hi there! I saw Dejan's post on Episerver MVC admin plugins and though that I could just post a thinner version. This one builds on attribute routing and we shouldn't have to register a route in an initialization module just for the plugin, which makes it more of a standalone unit. The init module… 

Bust Cache on Block Publish

Howdy! This week I wanted to cache a model quite hard in the object cache. The trouble was that the content that I used for building the model was blocks in a content area. When adding or removing blocks from the area we could bust the cache by adding a dependency to the generated content cache… 

Get Content with Language Fallback

Howdy! Today is basically just a short gist I had to add as a workaround recently. So, when working with content in multiple languages in Episerver we have the option of configuring fallback languages. This is made by selecting Language options for a content page. This could be done on Root level… 

Override Displayed Username in Episerver backend

Howdy! When implementing authentication via Open ID connect and OWIN, I ran into some issues with how Episerver (and I) handled usernames and user ids. Some background as to why Some features rely on IIdentity.Name to be the user name (presentable and pretty) while others rely on it being an… 

Upgrading - Error in ContentFactoryInitialization

Howdy! This week I have been upgrading an older Episerver site from CMS 7.15 to latest and greatest. Before the actual upgrade work began (or even estimated/pitched to the client) we had dived into the internals of the application to make sure that we didn't have any big customizations or hacks… 

Oh God Where Am I?

Hi there! I'm a poor little Episerver block and I've lost my parent, can you help me? It is another block and for some reason I can't do without it. So the problem here is basically, how do I get the parent block of another block in the block controller/rendering context? Think e.g. a banner block… 
All categories