MVP 2025
Technology

Timeline
2025
31/Jan
Technology 2025
The architecture of $(contentReplacementTokens) in Headless SXA
Looking at the feature parity between SXA and Headless SXA you'll quickly find no native support for custom content replacement tokens in Headless SXA. This talk is interesting for people looking to migrate towards XMC, but wanting to keep the ability to use $(contentReplacementTokens) in a Next.js frontend and understand the architecture behind it.
Sitecore XM CloudVirtual Sitecore Headless Development User Group #4
In this virtual Sitecore Headless usergroup I talked about my initial solution to getting content replacement tokens to work in Headless SXA with Next.js
Meetup details: https://www.meetup.com/sitecore-headless-development-usergroup/events/299041244/
Recording: https://youtu.be/ik8KzhCjw_4?si=gDpVH5aSasoP2znr&t=48
Sitecore XM Cloudmanipulating generation of componentbuilder
When trying to control how components are registered to the componentBuilder file in a Next.js application you'll run into the problem that this is no longer possible because the logic behind it has been moved to the @sitecore-jss/sitecore-jss-dev-tools package. If you want to overcome the challenge of modifying which files get registered to the componentBuilder try the approach outlined in this blogpost
Sitecore XM Cloud