Back-End Development

Complementing SAP with True Order Management Capabilities

Seamless order to fulfillment is the crux of any good experience. A brand’s reputation and longevity, as well customer loyalty and adoption, often hinges on the success of how order management (OM) is rooted in an organization. The interaction with users at their point of need is the tipping point and often dictates success or […]

Kafka Consumer Error Handling, Retry, and Recovery

This blog post is about Kafka’s consumer resiliency when we are working with apache Kafka and spring boot. As a scenario, let’s assume a Kafka consumer, polling the events from a PackageEvents topic. service class (Package service) is responsible for storing the consumed events into a database. Note: Here in the place of the database, […]

Istock 641204328

NGINX Proxy for CORS

In my latest AEM project, I had a particular challenge with some front-end code, an AJAX call, and CORS.   While running the site on localhost, the search code attempted to make an AJAX call to a search API. The API would not allow my localhost site. This meant that front-end developers had a hard […]

Gears of business

How to Create a Custom Dropdown Field in Sitecore

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 […]

Istock 1194668332

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 […]

Istock 939030682

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 […]

Puzzle

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, […]

Jttc Install Powershell Languagetool 01

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.

Episerver

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 […]

Istock 636932704 (2)

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 […]

Episerver

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 […]

Load More