As of May 31, 2023, we have updated our Code of Conduct.

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
62 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
43 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
  • 533
2 votes
1 answer
131 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
  • 533
1 vote
3 answers
134 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
  • 19.7k
0 votes
1 answer
87 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
56 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
93 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
  • 367
0 votes
0 answers
126 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
57 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
  • 33
1 vote
1 answer
61 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
  • 109
2 votes
1 answer
97 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,300
2 votes
1 answer
148 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
  • 109
0 votes
0 answers
25 views

Create Image XML sitemap in Sitecore JSS [duplicate]

I want to create a image xml sitemap, like sitemap.xml where I want to show the URL of all images. I was able to retrieve the URLs using content resolver in Layout service. What is the approach we can ...
Aditya Gautam's user avatar
5 votes
3 answers
526 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
  • 19.7k
1 vote
3 answers
402 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
92 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
364 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
116 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
0 votes
0 answers
105 views

Sitecore JSS deployment "VerifyAppConfiguration" Error

I am new to Sitecore JSS, we are using Sitecore 9.3, JSS 13.0.0 and React in the application. The npm build is successful but the deploy command returns VerifyAppConfiguration error. I checked the JSS ...
kk1076's user avatar
  • 111
1 vote
0 answers
64 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
570 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
403 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
276 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
5 votes
1 answer
364 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
  • 19.7k
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,300
1 vote
2 answers
211 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
402 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