Blog

Getting a Sitecore JSS headless component to render end-to-end is rarely a straight line. In this post, I walk through exactly what happened after we finally got the Json Rendering template installed in Sitecore, the issues that surfaced one by one, the steps we took to diagnose and fix each one, and the outcome. If you are setting up Sitecore 10.4 with Next.js in a Docker environment, this post will save you hours (I am not kidding). The goal was straightforward: create a Sign Up Form component driven by Sitecore content, rendered through the JSS Layout Service in a Next.js 15 app running in connected mode. Issue 1: Creating the Sign Up Form Rendering Item The Problem With the Json Rendering template now available in Sitecore, the next step was to create the actual rendering item under /sitecore/layout/Renderings/Project/. In the Content Editor, we navigated to the Project folder and used…

Read more

You have Sitecore 10.4 running in Docker containers with SXA. Everything looks fine. But when you try to add a rendering and look for JSON Rendering — it’s simply not there. The rendering type doesn’t exist in your Available Renderings. If this sounds familiar, here’s exactly what’s going on and how to fix it — step by step. What’s Going On? JSON Rendering is part of Sitecore Headless Services (formerly JSS Server Components). If your Docker setup was built with just SPE and SXA modules, Headless Services isn’t included. You need to add it. The good news: you don’t need a new container or a fresh setup. You layer the Headless Services module on top of your existing CM image using your Dockerfile. That’s it. Here’s what the layering looks like: Base CM Image → + SPE → + SXA → + Headless Services → Your Custom CM Important: Only…

Read more

This put a smile on my face today. It was a blog site that I was using before my old actual blog. But I was curious and found this old gem. https://mohammad-hoque.blogspot.com I promise if you are a longtime Microsoft.NET and C# enthusiast like I am , it will bring back some memories and a smile.

If you’ve set up Sitecore 10.4 in Docker containers using the docker-examples-jss repository and tried hitting the GraphQL endpoint at /sitecore/api/graph/edge, only to be greeted by a frustrating 404, you’re not alone. I spent days debugging this issue, and the root cause turned out to be a significant gap between what the Docker images ship with and what’s actually needed for headless development. Here’s the full story — and the step-by-step fix. The Setup My environment was straightforward: Sitecore XP 10.4 running in Docker containers via the docker-examples-jss repository, with a Next.js frontend intended to consume content through Sitecore’s GraphQL API. You can get this from Github here and nextJS here. The Docker stack was healthy — all containers (CM, Identity Server, MSSQL, Solr, xConnect, Traefik) were running and reporting as Healthy. I could log into Sitecore at https://cm.dockerexamples.localhost/sitecore/login without issue. But the moment I tried to reach the GraphQL…

Read more

Hi everyone. I revamping this blog all over again. I had the weekly series called BYTE Size, which is some simple gotcha or how to pointers for fellow developers. I will still keep that going. Why the new blog? Two reasons. First, my previous setup was my own server setup that I was running from home and with the recent move, some of those files got heavily corrupted. They are somehow not beyond recover, but will take significant amount of my daily time. I don’t have a whole lot of free time between doing multiple college visits and other activities with my twins. They are both going to college this year. Class of 2026!!! Yahooooo! I will eventually get those up sometime in the future, but at this point, I will focus on generating new content that will be more useful immediately. Secondly, with new AI tool, some of the…

Read more

5/5