Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

New answers tagged

0 votes

Using Next.js with the RestLayoutService

There are 4 diff chunks in the two outputs. The first diff is that the GraphQLLayoutService does not display the contents of the Priority field, whereas the RestLayoutService does: The cause of this ...
Marcel Gruber's user avatar
0 votes

Sitecore + next.js 301 redirects

I haven't really given this a try, but I found that Sitecore has an example of this implemented in the XM Cloud example repo as a middleware plugin. Please check if this could be useful. https://...
Vinay Jadav's user avatar
1 vote

Issue with XM Cloud Environment Variables in Next.js

You have a few errors in the setup here: For an environment variable to be used on your editing host, you must create it in the deploy app and set the Target to Rendering Host. That will make the ...
Richard Seal's user avatar
  • 20.5k
1 vote

Extend GraphQL schema for custom field

Problem During my upgrade from Sitecore 9.2 to 10.3, I faced an issue related to the edge endpoint being hardcoded in the Sitecore.LayoutService.GraphQL.LayoutService....
Vadim Birkos's user avatar
2 votes

Next.js - multisite + multilingual pages without locale within URL

You can use 'default' as the default language in the i18n section of the next-config.js. This will ensure you have a unique default language for each domain. So, for each site node in the Sitecore ...
Debtanu Biswas's user avatar

Top 50 recent answers are included