Posts

Showing posts from April, 2025

Setting Up Sitecore Headless with Next.js in connected Mode

Image
In Disconnected Mode, the Next.js app uses local content stored in static files meaning that the data flow is not dependent on the Sitecore CMS. In Connected Mode, the Next.js frontend communicates directly with a live Sitecore instance. This setup enables -           Real time content fetching from Sitecore CMS using the Layout Service and -           Support for using Experience Editor for visual page editing Steps to set Up Sitecore Headless with Next.js in Connected Mode 1.        Create an SSL Certificate First, generate a new SSL certificate to allow HTTPS connections locally, below PowerShell script helps to generates a new SSL certificate and it is added to trusted certificates. If the certificate doesn’t automatically move to Trusted Root Certification Authorities , manually move it via Manage User Certificates . New-SelfSignedCertificate -CertSt...