Questions tagged [sxa-jss]

SXA lets us create JavaScript Services (JSS) tenants and sites that make it easier to work with JSS apps. Any question related to JSS with SXA can use this tag.

Filter by
Sorted by
Tagged with
1 vote
2 answers
52 views

Add/Read Custom fields for SXA site Settings

We are currently working on Sitecore 10.3 (SXA enabled) Headless + NextJS. According to the requirements, we need to add new fields in the Site Settings. To read these new fields, we have overridden ...
Hari Prasad Kotha's user avatar
2 votes
2 answers
54 views

One or more exceptions occurred while processing the subscribers to the 'publish:end:remote' event

I recently started seeing errors on my headless SXA CM instance every time a publish operation is performed: One or more exceptions occurred while processing the subscribers to the 'publish:end:remote'...
Marcel Gruber's user avatar
0 votes
1 answer
39 views

Sitemap.xml and Robots.txt giving 404 error in Headless mode of Sitecore

I'm utilizing Sitecore Headless mode with React in an SSR app, along with a Sitecore 10.3 JSS SXA setup that includes Sitemap.xml and robots.txt enabled and published. I'm encountering an issue where ...
Nikhil Bidhuri's user avatar
0 votes
1 answer
44 views

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

I have an XM Cloud site I'm building locally and the current sitemap XML in the Media Library (/sitecore/media library/Project/<project_name>/<project_name>/Sitemaps/<app_name>/...
Dan Sinclair's user avatar
  • 5,395
0 votes
1 answer
45 views

Steps to create a mono repo with sitecore jss starter template

I am using this template to create my sitecore solution. I am planning to convert the sxastarter folder into a monorepo. So the folder structure will be something similar to this. Obviously my ...
Lahiru Lanka Rathnayaka's user avatar
1 vote
1 answer
43 views

Module Tab is missing while creating Headless Site

I am creating a Headless site using below Sitecore version on my local machine. While creating the new headless site, I don't see Module tab in the popup. Sitecore 10.2.0 rev. 006766 (WDP XP0 ...
user14194's user avatar
0 votes
1 answer
116 views

Sitecore Graph QL Search getting unknown argument "FieldsEqual"

I am trying to execute search on Graph QL. When I try "FieldsEqual" query, I am getting unknown argument in "Query.Search". Any help to overcome this issue will be highly ...
Sylesh JL's user avatar
  • 179
1 vote
1 answer
73 views

Deploying a JSS App Next JS to Scaled Sitecore environment (Production)

Hello Everybody I am working on a Next Js App over Sitecore it is working fine locally the app is created and working on Localhost but now I need deploy the App to production I have a Sitecore 10.3 ...
Andrew Hany's user avatar
2 votes
1 answer
122 views

Issue with running deploy command on Sitecore 10.2 JSS NextJS SXA

When I am initiating Sitecore JSS app with Nextjs, npx create-sitecore-jss --templates nextjs,nextjs-sxa --appName sitecore-nextjs-app --hostName s102demo1cm.dev.local --fetchWith GraphQL ./Sitecore ...
Jagmeet Kaur's user avatar
1 vote
1 answer
115 views

Redirect middleware not working

I wanted to try out the redirects module from SXA though something is quite not right. I created the redirect maps on the Site and republished the Site item as I’ve read in an existing question here ...
Lala's user avatar
  • 397
1 vote
0 answers
45 views

Restrict Placeholder settings by Page Template

This is an XM Cloud with NextJS solution. I am trying to set restriction by page templates in SXA. All pages share the same placeholders. Creating the placeholder settings items under the tenant/...
Minyie Antonio Diaz's user avatar
1 vote
1 answer
224 views

How to Handle 500 error Page in Sitecore Headless

I have created a custom 500.tsx page under the pages folder. But still, I am unable to get my 500 page working, instead, it shows the default error message. I have tried deleting my custom 500 pages ...
Manoj's user avatar
  • 319
0 votes
1 answer
77 views

how to setup docker in local machine after setup sxa headless application

I have Sitecore SXA Headless with a Next.js application running on my local machine. Now, I want to set up Docker for this application. Could you please provide steps for this? Sitecore version: ...
PKH's user avatar
  • 475
0 votes
0 answers
73 views

Headless Site is not getting created properly

I am creating a Headless Site inside Headless Tenant and its creating. However, I cant see few thing related to Headless site. It neither shows Settings Section in Site Grouping nor Rendering Hosts ...
Rashmi Ranjan's user avatar
0 votes
3 answers
331 views

Unable to Fetch Dictionary Value in Sitecore NextJs App

I am creating a Sitecore Headless application using NextJs and trying to fetch the dictionary value but unable to do so. Below is the dictionary Item which I have created in Sitecore. And Below is ...
Vishal Khera's user avatar
0 votes
0 answers
24 views

Persistent handling of request.credentials across page loads

I am using Sitecore 10.3 with SXA and Headless packages installed. I also have GraphQL installed. I am trying mutation after enabling the /items/master endpoint. But every time I have to change the ...
Harsh Mithapara's user avatar
1 vote
2 answers
581 views

GraphQL.ExecutionError: Schema is not configured for mutations

I am using Sitecore 10.3 SXA Headless and using NextJS Page Router for my Front-end. Basically, I want to create an item by using graphQL mutation method. I have followed this stackexchange issue and ...
hrupapara's user avatar
1 vote
0 answers
83 views

Circular Inheritance after upgrade from Sitecore 9.3 to Sitecore 10.3

We have upgraded Sitecore 9.3 to Sitecore 10.3 version. But after upgrade we are getting the Circular templates error for multiple templates. We have verified each and every templates's fields, ...
Gulam Ali's user avatar
0 votes
2 answers
342 views

Sitemap.XML for Sitecore JSS NextJS using SXA

We are working on 10.2 Sitecore JSS (NextJS) using SXA. We have enabled Sitemap.xml in Sitecore using OOTB SXA settings. We can see sitemap item at this path /sitecore/content/TenantName/Home/Settings/...
Raman Gupta's user avatar
  • 2,509
0 votes
1 answer
448 views

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

I am a newbie here. I was editing the .env file for adding the graphQLEndpoints. But in between something broke and I got this error. This is the scjssconfig.json file { "sitecore": { ...
hrupapara's user avatar
1 vote
1 answer
171 views

Sitemap Graphql query returns blank data

I am trying to fetch Sitemap in my NextJs app using GraphQLSitemapXmlService plugin. This is XM Cloud and I am using Preview API locally. During investigation, I realized that it is fetching response ...
Vikrant Punwatkar's user avatar
1 vote
0 answers
171 views

Dynamic placeholder for Left and Right column in Sitecore JSS NextJs Rendering Component

I have SXA-JSS Next.JS based component for Sitecore 10.3.0, I want to have 2 placeholders with the different key, but with a dynamic suffix. e.g. I need 2 equal columns. In CMS, I Created two ...
Praveen Soni's user avatar
0 votes
1 answer
112 views

GraphQL Edge Endpoint is not rendering custom Error Pages

On JSS 21.1 with SXA, the Next.js custom error pages functionality isn't working. I've configured it per the documentation. I've tracked it down to the GraphQL query. Request: query ErrorPagesQuery($...
Mark Gibbons's user avatar
  • 5,582
0 votes
0 answers
112 views

Detail about SXA Dynamic Placeholders Rendering and it's datasource not in Layout Service API Json Result

Sitecore Version- 10.3.0 (rev. 008463) Sitecore SXA and Headless using with nextjs We are using Sitecore 10.3.0 SXA headless with nextjs. and Configured a partial design for articlepage. We setup a &...
Praveen Soni's user avatar
0 votes
1 answer
265 views

Setting up 500 error page in XM Cloud Sitecore instance with static html pages

I am trying to have setup 500 error page in XM Cloud Sitecore instance. I have configured "Server error page link" in setting item but do not see "Error Handling" tab to generate ...
Akash S's user avatar
  • 450
1 vote
0 answers
68 views

Headless SXA - Ensuring links are localized

We're developing a Language Switcher for our SXA NextJS app, I followed the documentation from NextJS on how to perform the switch and it works (switching from language A to language B) but what I ...
chrono.lala's user avatar
1 vote
2 answers
323 views

JSS component is missing React implementation. See the developer console for more information. In XM Cloud portal (SXA-JSS)

I am trying to render a custom Next.js component for XM Cloud. In the Experience Editor that component shows the following error: JSS component is missing React implementation. See the developer ...
Prem Murmu's user avatar
1 vote
1 answer
212 views

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

We are using Sitecore-10.3/Headless/SXA/NextJS. Trying to add a new custom SXA headless module to my headless-SXA website but the newly created module is not showing up. Steps to reproduce Create a ...
Andi AR's user avatar
  • 743
2 votes
1 answer
1k views

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

We are using Sitecore-10.3/Headless/SXA/NextJS. When we build a custom new component with few custom variants, we receive errors. We will not receive this when we use the "Default variant". ...
Andi AR's user avatar
  • 743
1 vote
3 answers
440 views

Which JSS version for Sitecore 10.2?

I am trying to setup a JSS app on Sitecore 10.2 (with SXA) but that is not going as expected. I checked the downloads page for Headless Rendering and that mentions version 20.0.2 as latest now ...
Gatogordo's user avatar
  • 20.1k
1 vote
1 answer
269 views

Deploy NextJS Headless SXA app into XM1 Container Instance

I am trying to deploy the NextJS Headless SXA app into the Sitecore XM1+ Headless SXA Docker container. For this, i have setup the instance for Sitecore XM1 with following details: SITECORE_VERSION=...
Amit Kumar's user avatar
1 vote
2 answers
747 views

Get item under settings

I have a headless SXA site and I was wondering if it’s possible to query an item under Settings via GraphQL. I think I should start with the query example here for getting the root item of a site but ...
Lala's user avatar
  • 397
2 votes
1 answer
167 views

Extending or customizing XM Cloud - Sitecore Pages to support droplink editing

Is there a way to extend or customize Sitecore Pages to allow editing droplink or droptree in the side panel for XM cloud, similar to how we can edit the currently supported fields here https://doc....
sq___'s user avatar
  • 43
1 vote
1 answer
269 views

XM Cloud SXA add SEO fields to page template best practices

Based on a new requirements, we want to add a way for Content Editors to be able to specify the metadata SEO fields. I wanted to know if the following is a recommended way or if there is a better ...
coolzoa's user avatar
  • 119
2 votes
1 answer
152 views

Is there a way to set fields on the Sitecore Headless / JSS Settings for the site via environment variables?

Prior to SXA-JSS you could define the JSS Site settings in the config and therefore be able to use environment variables for things like the serverSideRenderingEngineEndpointUrl. Is there a mechanism ...
Mark Gibbons's user avatar
  • 5,582
3 votes
1 answer
599 views

XM Cloud component with dynamic placeholder

I wanted to try and create a custom container component such that it can be placed many times on the page and I can add components to it. I was having a problem at the time of seeing it in Experience ...
coolzoa's user avatar
  • 119
6 votes
4 answers
1k views

SXA headless with (partial) design: placeholder not found

I am using Sitecore 10.3 with SXA and JSS. For the head setup I used a post from Dan Cruickshank and that worked fine. I did get a nice blank homepage and no errors. I created 3 partial designs and ...
Gatogordo's user avatar
  • 20.1k
2 votes
3 answers
911 views

Sitecore JSS GraphQL CORS Error On Request

While running my react based JSS app, I am getting an exception related to CORS. Below is the request. I am passing the sc_apikey and in the API key item cors, origin and Allowed Controllers fields ...
Deb's user avatar
  • 131
1 vote
1 answer
134 views

JSS app not finding the layout after Headless Tenant creation when I deserialize items first

I'm using JSS Next with XM running into Docker and I'm getting a layout not found error, but I don't know where I can validate this. My scenario is the following, I've some serialized items and I know ...
Régner Aguiar's user avatar
2 votes
2 answers
694 views

GraphQL Component Query does not effect Layout Service response

Environment: Sitecore 10.2 XM Headless 20 SXA 10.2 SPE 6.3 Problem When I fill in the Component GraphQL Query field for a Json Rendering with something simple like this: query IntegrationQuery($...
Chet Cheeto's user avatar
0 votes
1 answer
205 views

Modifying site url to show country code instead of language code for a single country for one particular language alone in multilingual multisitesetup

We have a requirement where the default language code in the url has to be replaced with custom language code. For example www.abcd.com/de should be changed as www.abcd.com/deu. Our sitecore instance ...
Christopher Raja's user avatar
1 vote
0 answers
84 views

Integrate external live chat to Sitecore JSS

I am trying to integrate live chat in Sitecore JSS App. I am using Vue for coding. I need add some external Javascript for webchat to work and I want to configure the url's in Sitecore. My question is ...
Arun Kumar's user avatar
0 votes
1 answer
902 views

Placeholder within Component not showing in JSS

I am new to Sitecore JSS development. I am really struggling with how placeholders are working in JSS. I am using VUE.JS for my development. I have three root level placeholders in the layout.vue. I ...
Arun Kumar's user avatar
1 vote
2 answers
579 views

JSS deploy items ERROR: TypeError: Cannot read property 'forEach' of undefined

When trying to deploy a newly generated JSS App to the new Sitecore server, I'm receiving the following error: Unexpected error processing reply from import status service: TypeError: Cannot read ...
Dan_K22's user avatar
  • 11
2 votes
0 answers
347 views

Sitecore 10 JSS docker setup

I am new to Sitecore JSS but have been doing development using Sitecore for 5 years. I am trying to set up JSS on my docker image. I have been successfully able to update the docker file for CM & ...
Arun Kumar's user avatar
6 votes
1 answer
731 views

Extend GraphQL schema for custom field

I'm working on a 10.2 solution with JSS & NextJS using the GraphQL (edge) endpoint. I already noticed this endpoint is sometimes quite different compared to others and now I would like to extend ...
Gatogordo's user avatar
  • 20.1k
2 votes
0 answers
30 views

How to make a component support a datasource item as well as being on a partial design [VueJS]

I'd like to make a component reusable whether it is a standard component with a datasource item specified, or on a partial design with no datasource and so it should fall back to using the routeData ...
Mark Gibbons's user avatar
  • 5,582
1 vote
2 answers
296 views

SXA Content Tokens in Layout Service

I'm attempting to use a Content Token named BrandName in a Page Title field in a multi-site headless solution (Sitecore 10.1.1 Headless 18). The hope was that I could setup the Standard Values for ...
Chet Cheeto's user avatar
1 vote
1 answer
511 views

Moving JSS App to JSS-SXA Site

I have implemented Jss App in sitecore 10 instance, and now I need to move the the jss app to jss-sxa site to have the sxa structure, so what I do I have moved my items to the jss-sxa site as below ...
shimaa elsayed's user avatar