Sometimes the out of the box dropdown field types in Sitecore do not provide the functionality you need. Maybe you want to pull options from an external data source. Perhaps you want to alter how options appear to the Content Author but store a different value as the raw value. You may even want to […]
Back-End Development
Customer Bank Account Updates for AR Draft Invoices
Do you use Oracle Cloud’s automatic draft process? If you answered yes, then this read is for you! When the customer bank account is created or updated via the user interface, the system defaults to the current system date’s start date. The same situation happens with the “From Assignment Date” field in the customer site […]
Episerver Authentication with multiple Azure AD Instances
I recently came across a project where there was a slightly different twist for the site’s authentication needs. For this project the company had three different authentication scenarios that needed to be covered. Log in via a primary Azure AD tenant. This Azure AD instance was set up with application roles and the users were […]
Creating C# Helpers for SXA Rendering Variants Before Scriban
Need some C# help inside your SXA rendering variant? You’ve come to the right place. This blog post will explain how you can employ the use of a C# helper class in your rendering variant. You should only use this sparingly. If you find yourself overusing C# here, you should consider implementing your component as […]
Restricting available types based on site context in Episerver
Valdis Iljuconoks previously helped me understand how to effectively implement AllowedTypes restrictions with interfaces, something like [AllowedTypes(typeof(INestedContent))]– which is a beautiful solution for building a block library. This makes our blocks and their Content Areas only concern themselves with specific interfaces. In our case, we usually have layers such as IPageContent (for stripes, grid structures, […]
Language Copy Tool with Sitecore Powershell Extensions (2020 Update)
Starting a new language version in Sitecore doesn’t have to be painful. Sitecore Powershell Extensions can enable your team to copy and manipulate languages in bulk with ease. It’s a favorite of every content team I’ve had.
How to enable Webpack on your Episerver Project
If you’re building modern web applications, you need to carefully consider the front-end technology stack you use. Webpack, a static module bundler, combined with NPM for package management, is a great starting point. Here’s how you can incorporate these technologies into your Asp.net MVC application built upon Episerver. Alongside Node.js, we need to have node-sass […]
Setting Cookies Globally Across All Controllers in .NET MVC
If you are looking to set the value of the cookies across all the controllers, you can use action filters and apply them on controllers. Action filters contain logic that will be implemented before or after a controller action is executed. They can be applied to an individual action method or the entire controller. I […]
Page Restrictions in an Initialization Module
Managing your AllowedTypes (insert options) in Episerver can become overwhelming, depending on the strategy you take. You can read about different options here: https://world.episerver.com/blogs/Henrik-Fransas/Dates/2015/10/the-known-and-unknown-of-include-includeon-exclude-and-excludeon/ https://world.episerver.com/documentation/Items/Developers-Guide/Episerver-CMS/75/Content/Attributes/ but there is a strategy you can take for a very developer-friendly approach. As highlighted on Epi World forum thread (Dylan McCurry and I worked together on the project where […]
Rebasing Changes in Visual Studio
In this blog post, I will briefly describe the concept of rebasing and go over how it is done in Visual Studio. Merging vs. Rebasing When you are merging branches, you simply merge the latest dev branch into your current feature branch as shown in the diagram below. Unlike merging, rebasing “re”-bases the feature […]
How To Set Up .NET Core Web App With React & TypeScript
If you are trying to build a .NET Core Web Application with React.js, there is a template that you can create your project with in Visual Studio. However, if you want to incorporate Typescript in your application, there are a few extra steps that you have to take. This blog post is possible thanks to […]
Case Insensitive Queries with the AEM Query Builder
Recently, I needed to perform a query using the AEM Query Builder which was case insensitive. While I normally prefer using JCR SQL2 queries, in this case Query Builder was a better fit as I wanted consuming applications to be able to manipulate the query and doing so as a map is significantly easier than […]