Skip to main content

Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module and JSS CLI.

Filter by
Sorted by
Tagged with
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
288 views

10000ms elapsed without getting a service from the pool - JSS SSR default nodejs pool size - Integrated mode

Sitecore 9.3 + JSS. Under heavy load we see errors in log files: Exception Message Exception: System.TimeoutException Message: 10000ms elapsed without getting a service from the pool. Source: Sitecore....
Daniil's user avatar
  • 878
3 votes
1 answer
425 views

Why JSS Layout Service default resolver differently resolves reference fields of the same item, leaving some with the reference item context or ID?

JSS Layout Service default resolver resolves reference fields with full referenced item context, but other reference fields leaves with the ID of the referenced item. For example there is an item, ...
int.sli's user avatar
  • 33
3 votes
1 answer
1k views

Sitecore Forms CORS/Verification token error in Chrome, works in Firefox

I am trying to submit a form in Angular, through JSS. In chrome, I get a CORS error complaining the access-control-allow-origin header is missing. Just for fun, I added this to ...
apoteet's user avatar
  • 205
3 votes
1 answer
67 views

How to get ContentBlockModel/Component Model from PageModel directly using asp.net core rendering sdk

I am following the document https://doc.sitecore.com/developers/100/developer-tools/en/walkthrough--using-the-getting-started-template.html to create a test sample project for Sitecore Headless ...
Arvind Gehlot's user avatar
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
3 votes
1 answer
791 views

Error running my first jss app - cannot start node

Following the instructions here: https://jss.sitecore.com/docs/getting-started/app-deployment I was deploying into a vanilla 9.2 site which was working fine. Step 4. Content shows up in the content ...
Jen's user avatar
  • 1,393
3 votes
2 answers
858 views

Embed a Sitecore JSS app/component within an existing non-Sitecore website

Could you let me know please if there is a possibility to embed a Sitecore JSS app/component in an existing non-Sitecore website? To be more explicit our client has multiple external non-Sitecore ...
damary's user avatar
  • 63
3 votes
1 answer
333 views

Remove and/or rename fields in Sitecore JSS via template definitions

Is there is way to remove or rename a field in Sitecore JSS via template definitions? Even with an ID on the field, it won't rename. Deleting the field object will not delete the field in Sitecore. ...
Jeppe Skovsen's user avatar
3 votes
1 answer
2k views

JSS Layout Service not returning items from datasource with query

I am trying to use the JSS service Layout API to get the items from a datasource specified in a control. When I set a specific item as a datasource, I do get the item fields. But when I use a query ...
François Hébert's user avatar
3 votes
1 answer
269 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
3 votes
2 answers
1k views

Import template from Sitecore to JSS React application

I understand the mecanism when you create component code-first and then you import it into Sitecore. I try to understand one point, how can I import new component from Sitecore (Sitecore-first ?) to ...
JohnB's user avatar
  • 69
3 votes
1 answer
664 views

How to get 404 status code on Rendering host

There is a Sitecore Headless setup with SSG enabled. NextJS allows to show own 404 page but the requirement is to managed the page in CMS. Quick solution was to extend the getStaticProps method in [[.....
Serhii Shushliapin's user avatar
3 votes
1 answer
760 views

SSR Component Level Data fetching in JSS?

In a Headless Sitecore site I'm doing the front-end on, I'm trying to implement search. It's a JSS/Next.js based front end on top of the Sitecore back end. We've got: JSS 20, Next 12.2, Sitecore 10....
Michael Bester's user avatar
3 votes
1 answer
224 views

Fields "children" conflict because they have different arguments

When trying to access the children of the different templates at the same level. We will be getting this error Fields "children" conflict because they have different arguments. Use different ...
Gayathri Sriram's user avatar
3 votes
1 answer
238 views

Why is JSS rendering items of template Sample Item but not of any other template?

I installed Sitecore JavaScript Services Server for Sitecore 9.3 XP 13.0.0 rev. 190924 in a 9.3 instance. I then created an item under the Home item using the /sitecore/templates/Sample/Sample Item ...
DougCouto's user avatar
  • 409
3 votes
1 answer
844 views

JSS deployment issue with react, using JSS Tech Preview 4

JSS deployment issue with react, using Tech Preview 4. Here is the complete log: PS F:\Drive\my-first-jss-app> jss deploy app -c -d JSS is creating a manifest for my-first-jss-app to ./sitecore/...
Sitecore Sam's user avatar
  • 1,163
3 votes
3 answers
147 views

Getting error in layout.tsx file while setting up sitecore headless - TypeError: Cannot read properties of undefined (reading 'value')

Getting Error TypeError: Cannot read properties of undefined (reading 'value') while Setting Up Sitecore Headless in Sitecore 10.3 Please find the attached screenshot for reference I have diligently ...
NIKITA VASHISHT's user avatar
3 votes
2 answers
126 views

deploying next.js JSS app to sitecore

I have installed sitecore 10.0.3 on premise on dev server (remote desktop) and created next.js Jss app and connected the app with sitecore, now i have the app running and i can access the site from ...
shimaa elsayed's user avatar
3 votes
2 answers
204 views

RSS Feeds in NextJS Application

We've got a Sitecore headless project using NextJS. I've setup an rss feed using the OOTB Sitecore RSS functionality and it seems to be generating the correct xml when I view it through EE or preview. ...
Paul Schofield's user avatar
3 votes
3 answers
648 views

Sitecore XM Cloud Redirect is not working on SXA sites with XM Cloud

We are trying to configure URL redirect rules using redirect map, but it is not working on edge. when we are trying to fetch rendering data from edge it is always giving us 200 Response code with ...
Mahesh Kumar's user avatar
3 votes
1 answer
195 views

Adding a list of objects to Context Data returned by Layout Service

I was working on a project that needed some data passed on through the context. Logic was implemented based on https://jss.sitecore.com/docs/techniques/extending-layout-service/layoutservice-extending-...
coolzoa's user avatar
  • 119
3 votes
2 answers
644 views

Sitecore form save data action only creates one form entry for multiple submissions

We have a form on our JSS site's home page. When submitted, it uses sitecore's built in "Save data" action. However, it looks like when you submit the form multiple times, all rows in the ...
apoteet's user avatar
  • 205
3 votes
1 answer
366 views

Layout Service Sending Sitecore Item Name instead of Component Name

I have a brand new Sitecore 10 site, with SXA and JSS installed. I have migrated an accelerator site we built for Sitecore 9.3, so it is possible that this behaviour was introduced, however it does ...
Jeeby's user avatar
  • 251
3 votes
1 answer
427 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
224 views

Duplicate data source items when selecting an existing content item

Sitecore version: 9.2 We see duplicates while editing the JSS page in the experience editor. Steps to replicate: Add Component -->Select Rendering-->Select an existing content item
sns's user avatar
  • 431
3 votes
1 answer
516 views

While opening the jss app item in experience editor getting Error: EPERM: operation not permitted, lstat

Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: EPERM: operation not permitted, lstat 'D:\sitecore' Error: EPERM: operation not permitted, lstat 'D:\...
sns's user avatar
  • 431
3 votes
2 answers
1k views

Access Referenced Items using Integrated GraphQL

I am having following content tree: In GraphQL (GQL), if I am rendering Product-1 (current context item) and wanted to access all the categories where Product-1 referenced in the multi-list field of ...
Amit Kumar's user avatar
3 votes
0 answers
74 views

Monorepo(turborepo) template with sitecore-jss

Since Sitecore and Vercel announced partnership, I'm curious is there any plans for the official template for sitecore-jss SDK with Vercel's turborepo support? Or at least some guidance how to do it ...
ogojack's user avatar
  • 31
3 votes
0 answers
322 views

How to render link / text field as seamless button in Experience Editor

Imagine we have a link field ctaLink and a text field ctaText which are rendered as follows: <div className={styles['cta']}> <Link field={fields?.ctaLink as LinkField} className={styles['...
Marcel Gruber'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,255
2 votes
1 answer
462 views

Service based architecture in sitecore

I am analysing on the possibility of creating a web application using Sitecore where the web application is pure thin client using js based framework (knockout or angular) which can consume the ...
rdhaundiyal's user avatar
2 votes
1 answer
960 views

Can we use helix principle into JSS application?

We can apply Helix principles for back-end(C# MVC) application for modular architecture. Can we use Helix principles for JSS application? Is it recommended to use Helix for front-end application(JSS)...
Abhishek Malaviya's user avatar
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
2 votes
2 answers
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
3 answers
493 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
113 views

How to authenticate users with on JSS application?

I am developing a JSS application (NextJS), and this app is only accessible to the internal staffs. And everyone must authenticate via Azure AD authentication to access the content. Typically for ...
Faizal Sidek's user avatar
2 votes
1 answer
837 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,255
2 votes
1 answer
2k views

404/500 error page implementation - ReactJS client

We are working on Sitecore JSS with react js client side. We need to implement 404 and 500 error pages in Sitecore JSS application. There may be chances of adding multiple Sitecore JSS sites. How ...
Hussain's user avatar
  • 492
2 votes
2 answers
902 views

XM 10.1.0 & 10.1.1 + JSS & SXA - Could not load file or assembly 'Sitecore.Analytics, Version=16.0.0.0'

Vanilla Sitecore 10.1+ install with JSS 16 and SXA 10.1 installed. After the initial install, I'm able to navigate to the Launchpad normally. After a period of time or unknown trigger, I'm unable to ...
Chet Cheeto's user avatar
2 votes
2 answers
4k views

Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Value cannot be null. Parameter name: address

I am using Sitecore 9.1. I can able to run my sample angular application in connected mode using the command ">jss start:connected". But i cant able to open my site in local integrated mode , even in ...
Andi AR's user avatar
  • 763
2 votes
1 answer
282 views

Experience Editor / preview mode throws error when viewing branch template items

I'm working on a SC 10.2 JSS site. On previous MVC projects I was always able to enter Experience Editor / Preview mode while building branch templates for pages. That is, the items such as /sitecore/...
Marcel Gruber's user avatar
2 votes
1 answer
745 views

jss create is not supported from JSS CLI version 20.0.0

I am trying to create an application for sitecore 10 JSS with react. But I am getting the error jss create is not supported from JSS CLI version 20.0.0 can you please suggest.
Sunil Rana's user avatar
2 votes
2 answers
404 views

JSS: Azure deployment

In our case, both test and prod environments are Azure app services. So currently when we deploy to test: I replace the layoutServiceHost and deployUrl in scjssconfig.json to be the address of QA ...
Elena P's user avatar
  • 631
2 votes
1 answer
199 views

How to handle custom http response codes in JSS?

The OOTB JSS starter projects provide a route handler implementation that is configured to handle 404 responses by rendering the NotFound component. How can I customize what the end-user sees for ...
Anastasiya's user avatar
2 votes
1 answer
1k views

What are differences between server side rendering and client side rendering in JSS?

Please illuminate main differences between server side rendering and client side rendering for JSS app? Is server side rendering only required for things which are tightly couple with Sitecore like ...
Abhishek Malaviya's user avatar
2 votes
1 answer
1k views

Sitecore JSS Custom RenderingContentresolver help

We are using JSS for one of our clients. We have a requirement to fetch child items upto n level.So we built a custom rendering content resolver for it. It's working well in connected mode. Now if we ...
voodem's user avatar
  • 31
2 votes
3 answers
2k views

Get Items from data source folder by JSS/React

I have this react component (rendering) which has a data source (a folder with items). Is there any way to get those items and render their fields in react component? In props was passed ...
Антон Достоевский's user avatar
2 votes
1 answer
146 views

Write acces blocked by Sitecore JSS workflow

I have an issue that I cannot fix atm. We created a new Security role and assigned rights to it. However Content Editors that have this role cannot edit any items as the JSS Workflow currently ...
Jan-Pieter's user avatar
2 votes
2 answers
421 views

How to include editable component data into static non-Sitecore component?

I have a footer that I want to include by default into the layout rather than be injected as a Sitecore component by a content editor. The footer data, however, should be editable and translatable. Is ...
Razvan Negrea's user avatar

1 2
3
4 5
15