Hello Sitecorian Community,
This is the starter guide of a two-part series. It covers the fundamentals every team should understand before planning an XM Cloud migration. When you're ready for the deeper material (Content SDK 2.x, Pathway limitations, Experience Edge caching, webhook write-backs and deprecation deadlines), read the full post: XM Cloud Migration and API Patterns: Real Challenges We Faced and How We Fixed Them.
If you've worked on an XM Cloud migration, you've probably seen something like this:
"The architecture is signed off. The team starts building. Three weeks in, we discover most of the existing MVC components won't work. The estimate needs to change significantly."
It happens regularly, because most migration guides explain what to do at a high level, not the specific things that hurt mid-sprint.
The Big Idea: This Is Re-platforming, Not an Upgrade
Migrating from Sitecore 10 MVC to XM Cloud is not an upgrade. It is a full re-platforming to a headless, SaaS architecture.
| Traditional Sitecore MVC | XM Cloud (Headless) |
|---|---|
| Controller renderings + Razor views | Components in a JavaScript front end (Next.js / React) |
| Server-side rendering and logic | Frontend-driven rendering |
| CD server for content delivery | Experience Edge CDN, with no CD server |
| xDB-driven personalization | Rule-based, or Sitecore Personalize |
| Tight coupling with .NET | API-first, decoupled architecture |
Keep this table in mind. Almost every challenge below comes from one of these rows.
Challenge 1: Every MVC Rendering Must Be Rebuilt
This is consistently the largest effort in any migration. Controller renderings, Razor views, rendering parameters and server-side visibility logic all become front-end components. There is no conversion path.
You also rebuild the structure using the Headless SXA information architecture:
- Tenant → Site → Pages
- Page Designs and Partial Designs replace layouts
- Rendering logic moves to the front end
- Custom placeholder nesting needs redesigning, because older patterns don't map cleanly
⚠️ If your current solution is not SXA-based, adopting Headless SXA is extra work on top of the component rebuild. Budget for it separately, because it's the item most often missed in early estimates.
Challenge 2: Personalization Is Redesigned, Not Migrated
This one surprises most teams. XP personalization relied on xDB, and XM Cloud doesn't have it, so your existing rules and segments won't carry over. Don't try to port them.
What works instead:
- Audit every existing personalization rule.
- Identify the business intent behind each one.
- Use XM Cloud's built-in rules for simple cases (geo, authentication, device type).
- Use Sitecore Personalize for behavioral targeting or multi-source decisions.
Have this conversation in discovery, not in sprint three.
Challenge 3: Bad Content Migrates Perfectly
Migration tooling handles the mechanics well, but it can't fix content that was already messy. Common problems after migration:
- Items losing workflow state or associations
- Media references breaking because folder casing changed
- Personalize dependencies still embedded in content items
- Old placeholder configurations causing component mapping errors
- Inconsistent templates multiplying into template sprawl
✅ What helped us: Run a content audit before any migration script runs, and agree a content freeze with the client during the audit and first pass. It sounds disruptive, but it saves weeks of cleanup.
Challenge 4: Your C# Team Meets Next.js
Most established Sitecore teams are strong in C#, but the documentation, tooling and starter kits for XM Cloud assume a Next.js front end. Other routes exist, but you'll have fewer examples and less community support.
✅ What helped us: A short Next.js learning sprint before the project kicked off. Getting two or three developers comfortable with React and the Next.js App Router, and the Sitecore SDK, paid back immediately.
A Quick Look at Experience Edge
Experience Edge is Sitecore's globally distributed, CDN-backed GraphQL API. Your Next.js front end reads content from Edge, not directly from the CM. Two things follow from that:
- Custom Content Resolvers don't run at request time. They run when you publish. If your logic needs runtime context (session, query string, visitor data), redesign it.
- If content isn't appearing on the live site, check the publish-to-Edge pipeline first, before looking at your front-end code.
Check Sitecore Connect Before Writing Custom Code
Before building a custom integration, check whether Sitecore Connect already has a connector for it (Salesforce, OpenAI, Gemini and others). Connect integrations run inside SitecoreAI's governance and audit model, and a custom webhook pipeline doesn't. That matters for clients with compliance requirements.
Your Starter Checklist
- [ ] Run a full rendering inventory
- [ ] Decide whether Headless SXA adoption is in scope, and budget for it
- [ ] Audit personalization rules and map each to its business intent
- [ ] Run a content audit and agree a content freeze
- [ ] Plan front-end upskilling for your C# developers
- [ ] If the client is on Sitecore 360, include a Pathway assessment in discovery
Ready for the Deep Dive?
This post covers the "what" and "why." The full post covers the "how" and the "watch out":
👉 XM Cloud Migration and API Patterns: Real Challenges We Faced and How We Fixed Them
- Deprecation timeline you need to act on now
- JSS to Content SDK 2.x migration
- SitecoreAI Pathway: what it does and doesn't migrate
- Caching strategy by data source
- Webhook write-back silent failures
- Agent API v1 to v2 migration
Stay tuned for more Sitecore articles, tips and tricks.
Till then, happy Sitecoring! 😊
No comments:
Post a Comment