14 posts on Sitecore and Next.js.
Send click events from CMS banners and carousels to Sitecore Search using PageController, so clicks outside its widgets still get tracked.
Learn how slots and boost, bury and blacklist rules shape Sitecore Search widget results, and what happens when you combine them.
Create a Sitecore Search recommendation widget in the CEC portal, pick a recipe and rules, then render it in Next.js with useRecommendation.
Configure a histogram range facet in Sitecore Search and render it as a price slider in Next.js, with custom labels and URL sync.
Tracking Custom Click Events in Sitecore Search Using PageController
Client-Side API Caching with IndexedDB in Sitecore XM Cloud
Build a small IndexedDB cache with a TTL to stop repeat API calls in a Sitecore XM Cloud Next.js app, and see why it beats localStorage.
Sitecore Search: Widget Rules
Handling Server Error (500) in a Sitecore JSS + Next.js Multisite Setup
Set up a Sitecore-managed 500 page that resolves per site by hostname in a Sitecore JSS Next.js multisite app, with a static fallback.
Part 2: Optimizing Sitecore Context Injection with Caching
Add an in-memory cache keyed by site and language to your Sitecore JSS page-props-factory plugin so global data is not refetched on every request.
Part 1: Enhancing Sitecore JSS with Global Context Data Injection
Inject global configuration data into the Sitecore JSS context with a page-props-factory plugin and read it anywhere with useSitecoreContext.
Sitecore Setup
Install Sitecore 10.3 XP on a Windows machine, from enabling IIS and installing SQL Server Express to setting up Solr and running the installer.
Sitecore Search Recommendations: A Step-by-Step Guide