Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module and JSS CLI.

Filter by
Sorted by
Tagged with
5 votes
4 answers
2k views

Datasource Location not working as expected

I created a rendering for my form and linked the datasource location to sitecore/forms (which should be correct). The mysterious thing about this is that when I select my rendering in the experience ...
Robin Lundgren's user avatar
3 votes
2 answers
2k views

Unexpected response from import service: Status message: Found

Fresh new Sitecore XP 9.2 + JSS 12.0 and trying to deploy an OOTB react JSS app. The ApiKey is created (with two * for test only). The Layout Service is responding on /sitecore/api/layout/render/jss?...
Hugo Santos's user avatar
  • 2,311
11 votes
1 answer
6k views

Cannot query field "search" on type "Query"

I would like to display in a view a list of items provided by a search on GraphQL query. Context: Sitecore 9.1 Jss 11.0.0 Jss application template : Angular Componant file heroes-connected....
Arnaud BLAVOINE's user avatar
7 votes
2 answers
2k views

"Could not find JSS app configuration" error during JSS import

I'm attempting to import one of the JSS sample applications and I'm getting the following error after running the npm run package command: Fatal error occurred while running import process. Exception:...
nickwesselman's user avatar
7 votes
1 answer
429 views

Update YAML Route Files as same as Connected mode, while working in Disconnected Mode

How can I update my YAML files for local disconnected mode development from Sitecore, as same as Connected mode. As We have a team who is working on Sitecore and another team is working on front-end ...
user10086702's user avatar
3 votes
4 answers
2k views

NextJs JSS Setup Error generating manifest Error: Unable to load manifest require

Trying to setup NextJs JSS and ran only the below simple commands and it fails with below error for the 4th command but this folder/files doesn't exist. None of the below 4 commands creates those ...
SNew's user avatar
  • 151
3 votes
2 answers
1k views

Unexpected response from import service: Status message: Forbidden

I have a JSS Tenant and Site working and Running. I created another Jss Tenant and JSS Site in it using Sitecore 9.3. Created a JSS App as I did before. I created a new API Key for my second Site. ...
Kanchan's user avatar
  • 107
2 votes
2 answers
918 views

JSS vue - Error with server.bundle.js after jss deploy package

Good Morning, Yesterday I was working on a fresh install of Sitecore 9.1 and followed the documentation for JSS with vue. Everything was fine. I was able to connect my local app with my Sitecore. ...
tomagladiator's user avatar
1 vote
2 answers
291 views

JSS 16.0 in combination with Sitecore 9.3

Due compatibility table we can use JSS 16 only on Sitecore 10. I have no ability to upgrade Sitecore, so my question - Did someone tried to install JSS 16 on Sitecore 9.3, and is it possible or ...
Yevhen Semeniuk's user avatar
14 votes
1 answer
4k views

What is JSS and how do I get started with building a JSS app?

I'm not 100% sure what JSS is and I want to experiment with some sample JSS apps and build a JSS app of my own.
Adam Seabridge's user avatar
8 votes
3 answers
4k views

The term 'jss' is not recognized while installing JSS

I'm trying to install JSS on a VM. When I run the install code, I get the following warnings: PS C:\dev> npm install -g @sitecore-jss/sitecore-jss-cli C:\Users\sitecore\AppData\Roaming\npm\jss -&...
Andrew's user avatar
  • 85
7 votes
2 answers
3k views

Unexpected response from import service: Error: unable to get local issuer certificate

I have version 9.0 update 2 and am working with the sample JSS app. I used the this same app on an earlier environment which was setup as Standalone and had no issues. This is a remote deploy to a ...
Nathan S's user avatar
  • 137
7 votes
1 answer
564 views

Error in component using integrated GraphQL search query "Cannot read property search of undefined"

Component definition export default function (manifest) { manifest.addComponent({ name: 'Navigation', graphQLQuery: ` query NavigationQuery { search( fieldsEqual: [ ...
Anastasiya's user avatar
7 votes
1 answer
602 views

'jss bootstrap' causes JavaScript heap out of memory error on graphql-let step

I have the Nextjs sample app running in connected mode to my existing Sitecore v10.2 implementation using JSS v19. It's all working correctly - I'm able to create new components and edit them in the ...
Jonathan Robbins's user avatar
7 votes
2 answers
691 views

How should security be handled for XM Cloud/Headless with Experience Edge?

In the Sitecore documentation for Experience Edge (used by XM Cloud), it states: Experience Edge for XM does not enforce security constraints on Sitecore content. You must apply publishing ...
Richard Seal's user avatar
  • 20.4k
5 votes
1 answer
1k views

Integrated GraphQL is not working correctly with JSS with SXA

I've been struggling for a few days to get JSS Integrated GraphQL running on an existing SXA project. To rule out any issues being introduced by this project, I decided to go right back to square one, ...
JKD's user avatar
  • 53
5 votes
2 answers
2k views

JSS Component is missing React implementation

Recently we moved from code-first to Sitecore-first approach. After deploying the react and sitecore in Sitecore-first mode, we can't see the renderings on the page. Getting below error "JSS ...
Rishi's user avatar
  • 51
4 votes
1 answer
720 views

What built-in/standard fields are available on the `search` GraphQL query?

I am trying to build a query that returns all items of a specific template, but can't seem to figure out if there's a "template" field available on the search query for GraphQL. Where can I ...
Dan Sinclair's user avatar
  • 5,395
4 votes
1 answer
644 views

Deploy Sitecore Jss React App to Azure Content Delivery

I tried to deploy my JSS React App to Azure scaled CD. I got my Jss App deployed to Azure CM successfully and it's working as expected. Steps to deploy to Azure CD The Azure scaled CD was setup by ...
chin liddy's user avatar
4 votes
1 answer
1k views

Creating multi site using Sitecore JSS

I am new to creating Multisite using Sitecore JSS. Little confused with what configuration should I go ahead with, Current configuration, We have currently 1 site added to the site node in Sitecore....
Rashmi936's user avatar
4 votes
1 answer
3k views

JSS + Sitecore Forms: "unable to verify the first certificate"

New to JSS. Trying to use Sitecore Forms + JSS for the first time, I followed JSS documentation, creating a form in Sitecore; when I run jss deploy component Form --allowedplaceholders jss-main, I get ...
T Lementz's user avatar
4 votes
2 answers
576 views

Integrated GraphQL is not executed in Experience Editor

We use Sitecore 9.2, SXA 1.9 + JSS 12.0. As for the JSS, we are using Sitecore First approach. Some JSON renderings have integrated GraphQL queries. The Jss site was created trough JSS Tenant/JSS ...
Vadzim Papko's user avatar
4 votes
1 answer
307 views

"Could not find JSS app configuration" when deploying JSS app into JSS-SXA Site

In a JSS with SXA instance... Create JSS Tenant Create JSS Site Attempt to import JSS app using jss deploy app -c Error Unexpected response from import service: Status message: Bad Request Body: ...
Anastasiya's user avatar
3 votes
1 answer
421 views

JSS Field naming convention

Will or should Sitecore automatically sanitize field names when serialising them as part of the layout service or do we need ensure we define fields in Sitecore using a consistent format? e.g. would "...
j_r's user avatar
  • 143
3 votes
1 answer
706 views

Profiling Sitecore 9.1 JSS Server-Side-rendering node server

JSS site is running in integrated mode on Sitecore 9.1 I have problem with the SSR node process, it's hanging around 18 min on load tests and results in error 500 for site. For blind solution I ...
Jerzy Pikutin's user avatar
3 votes
2 answers
1k views

New JSS app will not start: GraphQL requests to Dictionary and Layout services are not supported in disconnected mode

I'm following along with Discover Sitecore's "Build Your First JSS App" video (https://www.youtube.com/watch?v=XNQGsr9_34A) and was only 2:10 in when I ran into my first issue. All I've done ...
Michael's user avatar
  • 57
3 votes
4 answers
1k views

Unexpected error processing reply from import status service

I have Sitecore 9.3 version and followed the steps described here https://jss.sitecore.com/docs/getting-started/jss-server-install to setup JSS server. I am not able to deploy the app while running ...
Kanniyappan Krishnan's user avatar
3 votes
1 answer
264 views

Hitting the Layout Service Endpoint Is Not Recording Analytics

I want to use the layout service endpoint that is a part of jss. If I make a request to the layout service endpoint should any analytics events be triggered by default? Currently it seems that making ...
Teeknow's user avatar
  • 2,477
2 votes
2 answers
649 views

Angular Bundle size issue

To get a better understanding of the JSS library I ran the bundle analyzer on the Angular Sample project and I'm getting 169 modules on my main bundle. Does anybody knows where those 169 modules are ...
user1807334's user avatar
2 votes
2 answers
1k views

Edit frame with Sitecore JSS

I am using Sitecore 9.2 with JSS and code first approach. I have one component which has datasource, datasource is pointing to folder and folder has some child items. I am getting data using GraphQL, ...
Swati Gupta's user avatar
  • 3,057
2 votes
1 answer
818 views

Sitecore JSS placeholder issue on Route

I am trying to create a new route using Sitecore 9.2 JSS. Below steps I have followed: I have created a new Route i.e. Product. Then I have created two new placeholders jss-header and jss-footer. (...
Swati Gupta's user avatar
  • 3,057
2 votes
1 answer
530 views

Missing fonts when previewing Next.js app in Experience Editor

I've got a Next.js-based app that uses custom fonts. On the Rendering host the fonts are accessible via the following url: https://www.myapp.localhost/_next/static/media/lato-latin-400-normal.b7ffde23....
Serhii Shushliapin's user avatar
2 votes
1 answer
3k views

Sitecore Filtering by Field Value on Query of GraphQL

I am currently working on trying out the Sitecore GraphQL Query where I just get all the items of a specific location in the Sitecore Tree. However, I may need to filter the item results based on a ...
Jovit Mayo's user avatar
2 votes
1 answer
573 views

How could we apply Hybrid (SSG and SSR) rendering with Sitecore Nextjs

How could we apply Hybrid (SSG and SSR) rendering in a single Sitecore Nextjs application? We tried this article: https://github.com/Sitecore/jss/tree/release/18.0.0/samples/nextjs/src/pages https://...
Vision's user avatar
  • 21
2 votes
1 answer
1k views

JSS Containers setup, CM container does not start or attempt to start

I'm following the JSS walkthrough with container and I'm running into an issue running the up.ps1 script. Most of the script runs fine, but when it goes to start the containers the cm container doesn'...
NDaigle's user avatar
  • 21
2 votes
3 answers
483 views

Layout API returning strange code into placeholder

Here is my Sitecore tree Here is my data item in the experience editor (using the default Welcome component). I removed the Sitecore background image that was in the CSS. Here is what the layout API ...
JohnB's user avatar
  • 69
2 votes
1 answer
578 views

How to set layout service within same Next.Js application to access multiple site?

We are configuring multiple site within single Next.js application. In experience editor the multisite work perfectly because its passing sc_site parameter as a query string. But in normal mode only ...
ganesh's user avatar
  • 521
2 votes
2 answers
2k views

Share Sitecore content to Native Mobile Apps (IOS swift and Android java)

If we wanted to provide data (get/set operations on content tree, analytics, personalization, tracking data) from Sitecore 9 to native mobile apps (not based on Sitecore Mobile SDK and Xamarin but ...
Amit Kumar's user avatar
1 vote
1 answer
669 views

Allow CORS request from CM to Rendering host

Related to Missing fonts when previewing Next.js app in Experience Editor. I've got the Rendering container with SITECORE_API_HOST set to CD. In CM Experience Editor I see some CORS errors caused by ...
Serhii Shushliapin's user avatar
1 vote
3 answers
499 views

Error running `jss deploy app`: TypeError: logReplies.forEach is not a function

When running: jss deploy app --includeContent --includeDictionary --acceptCertificate XX:XX:XX:XX:XX:XX... I get the error: Sitecore has accepted import task JSSImport-myapp-2:59:34 PM Unexpected ...
Liam's user avatar
  • 51
1 vote
1 answer
2k views

Import process fails : "Unexpected response from import service: Status message: Found"

I have Sitecore 9.0 update -1 version and followed (https://jss.sitecore.com/docs/getting-started/jss-server-install) to setup JSS server. I cant able to deploy the app while running deploy command, ...
Andi AR's user avatar
  • 743
1 vote
3 answers
772 views

JSS Vue - getting error in server.bundle on deploy

This is a similar issue to this one: JSS vue - Error with server.bundle.js after jss deploy package But unfortunately I can't comment on that one because my rep is not high enough. I believe the ...
atflick's user avatar
  • 13
1 vote
1 answer
836 views

Performance Issue JSS+React

I'm having a performance issue, the loading speed is quite long. I also noticed that when I first load the page, there is some plain text showing while loading before the page completely loaded and ...
JSS Man's user avatar
  • 51
0 votes
1 answer
188 views

What is the best JSS template field naming convention

What is the best practice for naming the template fields in Sitecore JSS? Layout service is not making any changes to the filed names when returning JSON response so it seems quite natural to use ...
9_9's user avatar
  • 121
0 votes
1 answer
1k views

Set different Language from jss component

We are trying to implement multilingual site in JSS. When user logged in, we need to show a drop down to select language and based on the selection we want to set the language. Question is, how to set ...
Gobinath Saminathan's user avatar
0 votes
1 answer
147 views

Any way to remove disconnected manifest processing?

I'm working on migrating a legacy Sitecore site to JSS. In order to support the field types that they have in the existing site I have to support fields that do not conform to the predefined ...
Pixelmixer's user avatar
0 votes
1 answer
1k views

What version of sitecore jss is compatible with a given sitecore-jss npm package

I am trying to find some sort of compatibility matrix that will tell me what version of JSS https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services/ is compatible with the sitecore-jss npm ...
apoteet's user avatar
  • 205