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

SXA headless with (partial) design: placeholder not found

We literally had the same problem with SC10.3, SXA and JSS 21.0. The issue was due two things: In .\src\lib\layout-service-factory.ts change the configurationName property from default to sxa-jss. ...
VadimG's user avatar
  • 286
4 votes
Accepted

SXA Content Tokens in Layout Service

I'm working on a SXA/JSS solution in Sitecore 10.3 and I had the same issue. To fix this I created a custom field serializer and added it to the layout service. First, you should create a class that ...
André Andrade's user avatar
4 votes
Accepted

Sitecore Graph QL Search getting unknown argument "FieldsEqual"

After going through your screenshot it seems that you haven't added closing parentheses( ) ). Try out this query hope this helps { search( fieldsEqual:[{name:"title", value:"Si*&...
Manoj's user avatar
  • 331
3 votes
Accepted

Extend GraphQL schema for custom field

We had a similar challenge some time ago and we contacted Sitecore Support. Sitecore support summary: The Edge schema provider doesn't actually use the "fieldTypeMappings" configuration ...
Anton's user avatar
  • 3,821
3 votes
Accepted

Unable to Fetch Dictionary Value in Sitecore NextJs App

Make sure the 'Dictionary Domain' is added in the app settings tag of the specific site config. Refer: <app name="oneweb" layoutServiceConfiguration="sxa-jss" ...
Vishal Khera's user avatar
3 votes
Accepted

XM Cloud component with dynamic placeholder

This is a known bug in JSS 21 and has been fixed in JSS 21.0.5. The bug was that all dynamic placeholder keys must be called container-{*} - this was hard coded into the PlaceholderCommon.tsx file in ...
Richard Seal's user avatar
  • 20.5k
3 votes

SXA Content Tokens in Layout Service

I understand that you are talking about SXA/JSS sites, right? If yes, then I'm surprised that it works for the Rich Text fields. We've never migrated content tokens to SXA/JSS sites, you won't find ...
Dawid Rutkowski's user avatar
2 votes

Moving JSS App to JSS-SXA Site

On Settings item, you need to make sure that The field App Name has the proper application name which is your JSS App name. The field Filesystem path has the proper path to your JSS App. For example,...
Hishaam Namooya's user avatar
2 votes
Accepted

Placeholder within Component not showing in JSS

The name is jss-footer/jss-top-links which means you're using dynamic placeholders. This is what the docs say about them: https://doc.sitecore.com/xp/en/developers/hd/190/sitecore-headless-development/...
Jeroen Breuer's user avatar
2 votes

SXA headless with (partial) design: placeholder not found

Find the detailed answer on my blog here. https://daivagnananavati.blogspot.com/2023/06/sitecore-103-xm-headless-sxa.html As this is resolved, I am putting it here so if anyone from the community ...
Daivagna Nanavati's user avatar
2 votes
Accepted

Which JSS version for Sitecore 10.2?

Apparently the version what not the issue - but the parameters. Including nextjs-sxa appears to be only supported for XMCloud. Found that in some well hidden docs - although I must admit that if you ...
Gatogordo's user avatar
  • 20.1k
2 votes

Sitemap.XML for Sitecore JSS NextJS using SXA

If that works on local and not on Vercel, then I suspect its related to configuration (as you said). Here are details of how its implementation uses configuration and you can check those. With SXA ...
Vikrant Punwatkar's user avatar
2 votes

Unable to Fetch Dictionary Value in Sitecore NextJs App

Here is the link, that needs to be followed to get a dictionary using Sitecore Next.js. On the Next.js component, you need to import next-localization as below import { useI18n } from 'next-...
Praveen Soni's user avatar
2 votes

GraphQL.ExecutionError: Schema is not configured for mutations

The potential issue is with configuration and setup only. Few pointers that you can verify and try out to troubleshoot. Ensure layout service is working fine or not using this URL: https://your....
Sumit Helaiya's user avatar
2 votes
Accepted

Headless/SXA/NextJS - Add site module is not showing up my newly created headless module

This issue is happening because of your custom module site setup root is using a template from "Experience Accelerator", instead of "JSS Experience Accelerator". Follow the steps ...
Andi AR's user avatar
  • 743
2 votes
Accepted

Issue with running deploy command on Sitecore 10.2 JSS NextJS SXA

You can generate a JSS app `manifest manually, by running the JSS CLI command jss manifest. The command jss manifest has options that enable modifying how the manifest generates, such as --...
Sumit Helaiya's user avatar
2 votes
Accepted

How do I regenerate the sitemap media item in a Headless SXA site without publishing?

The solution These are generated automatically when certain fields are saved on the site definition item (/sitecore/content/<tenant>/<site>/Settings/Site Grouping/<site_definition>). ...
Dan Sinclair's user avatar
  • 5,395
1 vote

Unable to Fetch Dictionary Value in Sitecore NextJs App

Go to lib/dictionary-service-factory. Make sure your DictionaryServiceFactory class looks like this: export class DictionaryServiceFactory { /** * @param {string} siteName site name * @...
Ashish Chinchkhede's user avatar
1 vote
Accepted

Headless/SXA/Next.JS : Server error : TypeError: Cannot read properties of undefined (reading 'CustomVariant')

This issue is happening when your NextJS doesn't contain a component code with the default variant. To fix this issue, create a NextJS component code with a default variant at least. Then you can see ...
Andi AR's user avatar
  • 743
1 vote
Accepted

GraphQL.ExecutionError: Schema is not configured for mutations

To solve this error, you should do the following. Check if you have enabled Sitecore.Services.GraphQL.Content.Master.config and deploy it to the Sitecore instance. Now access with https://<your-...
Sumit Bhatia's user avatar
  • 5,095
1 vote

Sitemap.XML for Sitecore JSS NextJS using SXA

Navigate to /sitecore/content/Tenat/Site/Settings --> In this set the sitemap mode field to store in the file, similarly, navigate to /sitecore/content/Tenat/Site/Settings/Sitemap and set the ...
Manoj's user avatar
  • 331
1 vote

Invalid graphql endpoint, Verify that 'layoutServiceHost' property in 'scjssconfig.json' file or appropriate environment variable is set

I also faced same issue during XM Cloud local setup In my case to resolve this issue added some configuration in .env file, So first check bellow configuration in .env file # To secure the Sitecore ...
Praveen Sharma's user avatar
1 vote
Accepted

Invalid graphql endpoint, Verify that 'layoutServiceHost' property in 'scjssconfig.json' file or appropriate environment variable is set

Guys, I got the solution!! I am writing it down below: After adding this GRAPH_QL_ENDPOINT=/sitecore/api/graph/edge to the .env file, the error occurred. Cause: I provided only path as the endpoint, ...
hrupapara's user avatar
1 vote
Accepted

Sitemap Graphql query returns blank data

If you are using Experience Edge, you will need to store Sitemap in Media Item (This is recommended for XM Cloud version). https://doc.sitecore.com/xmc/en/developers/xm-cloud/configure-a-sitemap.html ...
Vikrant Punwatkar's user avatar
1 vote

GraphQL Edge Endpoint is not rendering custom Error Pages

On a hunch I tried renaming the pages and discovered that if you remove all spaces from the page item name it works. There must be a bug in the page item resolving logic somewhere. I also noticed that ...
Mark Gibbons's user avatar
  • 5,602
1 vote

Which JSS version for Sitecore 10.2?

Yes for Sitecore 10.2 compatible version is version 20.0.2 which you are using. Check your frontend app if it has the same version. Try to uninstall the current version using the following command: ...
Biswajit Nayak's user avatar
1 vote
Accepted

XM Cloud SXA add SEO fields to page template best practices

Speaking from experience on non-headless SXA: never change the default (feature or foundation) templates from SXA. Create your own base template with your fields - add them to the same section if you ...
Gatogordo's user avatar
  • 20.1k
1 vote

SXA headless with (partial) design: placeholder not found

I was also facing the same error while using Sitecore 10.3 with SXA and JSS and was able to resolve that by one simple configuration change. What was the issue In my case I have created one partial ...
Gautam's user avatar
  • 496
1 vote

Sitecore JSS GraphQL CORS Error On Request

I was integrating 3rd party App with my Sitecore and I resolved the CORS by adding this in my webconfig <?xml version="1.0" encoding="utf-8"?> <configuration> ...
Abdullah Ayoub's user avatar
1 vote

Sitecore JSS GraphQL CORS Error On Request

Configuring CORS Sitecore provides CORS support for Web API services. It applies to all custom Web API services as well as the ones provided by Sitecore (for example the Item Service and the OData ...
Peter Procházka's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible