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
1 answer
59 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
  • 91
0 votes
1 answer
57 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
  • 455
0 votes
0 answers
39 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
1 vote
3 answers
123 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 ...
Rohan G's user avatar
  • 33
0 votes
0 answers
23 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
275 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
57 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
201 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,389
0 votes
1 answer
184 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
102 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
133 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
51 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,432
0 votes
0 answers
81 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
177 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
  • 440
1 vote
0 answers
52 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
212 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
140 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
  • 723
2 votes
1 answer
907 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
  • 723
1 vote
3 answers
321 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
  • 20k
1 vote
1 answer
183 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
0 votes
0 answers
69 views

JSS: Accessing the current SXA tenant and site name from a React API

I'm on Sitecore 10.2 so I don't have access to the new 10.3/XM Cloud functionality which accomplishes this out of the box. I've implemented a robots.txt handler for Headless SXA as per this article: ...
bowser724's user avatar
0 votes
1 answer
390 views

GraphQL - 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
  • 377
0 votes
0 answers
226 views

Sitecore Next.js - Connection to your rendering host failed

I'm trying to connect Sitecore CM (XM, local VM) with Next.js app (on Azure static web app). On sitecore side, i'm using SXA with this setting configuration: Browsing my web app static with simple ...
Roberto Spaziani's user avatar
2 votes
1 answer
111 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
182 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
135 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,432
3 votes
1 answer
392 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
963 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
  • 20k
1 vote
3 answers
689 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
  • 121
1 vote
1 answer
114 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
564 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
178 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
77 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
765 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
527 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
318 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
544 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
  • 20k
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,432
1 vote
2 answers
269 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
0 votes
1 answer
472 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