Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module and JSS CLI.

Filter by
Sorted by
Tagged with
4 votes
1 answer
777 views

How to define JSS component in YAML without DataSource Template

I need to define a component in YAML manifest files in Sitecore JSS CodeFirst approach, where component doesn't have any "Data Source Template" field populated. In this case, NO template should be ...
scFootsteps's user avatar
  • 3,777
4 votes
1 answer
593 views

Not able to create API keys for JSS App in core database - Sitecore 9.1 and JSS

I am playing around with JSS App with Sitecore 9.1.0 (rev. 001564). I have followed the youtube video for Build Your First JSS App and I have been stuck at one point where I need to create the API ...
SumitK's user avatar
  • 741
4 votes
1 answer
579 views

Install jss package (layout service) on content delivery server

I'm developing a Sitecore ssr with jss on azure using two app instances. One for content management and one for content delivery. I installed all the jss packages on content management and it works. ...
alecasciaro's user avatar
4 votes
1 answer
2k 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
1 answer
2k views

Cannot query field \"search\" on type \"Query\"

My question is based on already asked question and can be found here Sitecore Filtering by Field Value on Query of GraphQL This question is marked as answered by @jan-bluemink but I am facing the ...
Arvind Gehlot's user avatar
4 votes
1 answer
1k views

500 Error Page for HTTPS connection in Sitecore JSS in Connected Mode

I'm trying to implement user authentication login and currently trying out to configure JSS connected mode to work with https (secure connection). Following https://jss.sitecore.com/docs/techniques/...
scFootsteps's user avatar
  • 3,777
4 votes
1 answer
566 views

In JSS Integrated Mode, how can I log errors / console output from Node to a custom logger instead of the Sitecore log?

By default, the JSS Node.js rendering engine captures console output / errors emitted by the Node instance(s) rendering your JSS app and logs the output / errors to the default Sitecore log. I would ...
Adam Weber's user avatar
  • 2,265
4 votes
1 answer
896 views

Getting the URL from items in a ContentList field

What is the best way to get the url for each item added to a ContentList field? Right now, I only get fields and id.
Jeppe Skovsen's user avatar
4 votes
1 answer
908 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
2 answers
541 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
2 answers
552 views

JSS layout service, how to restrict public access

I want to secure my Sitecore JSS LayoutService in such a way that only the client application (i.e. react app) can access my LayoutService API. Please note, I am not taking about the login/logout ...
Sachin Dabas's user avatar
4 votes
1 answer
751 views

How would you best configure JSS to work with multiple Sitecore <sites>?

One of the key benefits I can see from moving to JSS is the way developers can work with the different tools. In particular the lure of Hot Module Replacement (HMR) adds such a lot of positives for ...
boro2g's user avatar
  • 575
4 votes
1 answer
276 views

Sitecore, JSS and GraphQL: licensing question

The question is pretty simple: can I use the GraphQL from JSS package without JSS license?
Artem Prashkovich's user avatar
4 votes
1 answer
605 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,335
4 votes
1 answer
696 views

How do you access JSS Dictionary values programmatically in C#?

We have a jss application that makes use of the JSS Dictionary to display values in the application. At the same time, we would like to re-use the same content labels in an email that is being sent ...
TomT's user avatar
  • 1,079
4 votes
1 answer
299 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
4 votes
1 answer
623 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
241 views

Want to skip content during code-first deployment

I would like to avoid my content comrades from being unhappy and overwrite changes. Can I skip content from JSS package? Good day.
Kuzin's user avatar
  • 43
4 votes
1 answer
592 views

Is it possible to use Custom Form Elements in JSS? If yes, how?

We are trying to include Sitecore Forms in our React Application using JSS. We're able to include regular forms, but when trying to use custom form elements using the design of the customer, we get an ...
Immo's user avatar
  • 61
4 votes
1 answer
766 views

Nesting placeholders in Standard Values

I know (and I do it) that I can put a default value in a placeholder so that when I create a new item for my route type it populates my placeholder with a component that I will choose. I do it like ...
Christophe's user avatar
4 votes
1 answer
167 views

How to replace custom token that is in RichText field using Sitecore JSS?

I have a custom token %tokenname% in single line text and richtext fields. I would like to replace the token with some custom value in the Sitecore JSON rendering. Please see some example data below: {...
Ray Zhang's user avatar
4 votes
1 answer
631 views

GraphQL Search facetOn Parameter

I'm trying to use the Sitecore GraphQL search function that takes in the "facetOn" parameter. Unfortunately I'm not having much luck with the results, and I suspect it's because I'm doing something ...
UpcomingSitecoreExpert's user avatar
4 votes
0 answers
131 views

Sitecore 10.1 jss 16 cannot correctly identify renderings in integrated mode

I have created jss project with react template, and I have added typescript support by installing some typescript libraries and adding to server.webpack.config.js next config: module: { rules: [ { ...
Антон Достоевский's user avatar
3 votes
4 answers
999 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
1k views

What’s the best practice to Expose Sitecore 9 APIs for Mobile Apps Development? [closed]

Currently, I am looking Sitecore CMS solution for native mobile app development. Mobile App Team is using Swift for IOS and Java for Android. So we have a limitation to use JSS react native for ...
Ashish Bansal's user avatar
3 votes
1 answer
14k views

SSR issue: window not defined

We are using react as client framework for building a SPA. In disconnected mode it works well but then in integrated mode I see the below error when we browse the page or preview it. Any clue as to ...
voodem's user avatar
  • 31
3 votes
2 answers
697 views

Using Page designs or Partial Designs in SXA JSS Site

We have built out a JSS tenant and creating pages that are rendered with React with Sitecore 10.1.1 in integrated mode (Sitecore first). Basic layouts and placeholders are working as expected. We are ...
Bala's user avatar
  • 308
3 votes
2 answers
2k views

GraphQL error: Query is too complex to execute

I am using JSS with Sitecore 10, and using the GraphQL search query, but I got this error after deploying to Sitecore: ERROR Error: GraphQL error: Query is too complex to execute. The field with the ...
shimaa elsayed's user avatar
3 votes
1 answer
697 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
4 answers
955 views

How to solve JSS application error "Error: Valid value for rootItemId not provided and failed to auto-resolve app root item."

When I deploy a JSS Next.js application to Sitecore (XM Cloud on local container, Sitecore demo portal) I get the following error when I run my Next.js application on http://localhost:3000: In text: ...
Serge van den Oever's user avatar
3 votes
2 answers
355 views

Fields not editable in Sitecore Experience Editor when using GraphQL

I'm using Sitecore 10.2 in my local as headless and nextjs for FrontEnd. I'm able to open the home page on the experience editor and edit fields as well when I use Layout service to fetch data on ...
Erwin Paul's user avatar
3 votes
1 answer
260 views

Error viewing JSS app: Item has already been added. Key in dictionary: 'PSMODULEPATH' Key being added: 'PSModulePath'

We are using Sitecore JSS running against Sitecore 9.2 in containers. The containers are built from https://github.com/Sitecore/docker-images with only minor changes (adding Unicorn, App Insights etc)....
sussexrick's user avatar
3 votes
1 answer
367 views

JSS Layout Service and Personalization

When using the JSS Layout Service with my Angular application, I notice that if I add personalized content to my component, the response (and display) I get back from the Layout service depends on a ...
Toby Nunn's user avatar
3 votes
1 answer
528 views

How JSS Rendering components bind to physical file

Once code-first JSS solution is deployed to a running sitecore instance, we can see rendering items created under Rendering folder in Sitecore content tree. But, Only Component Name field is ...
scFootsteps's user avatar
  • 3,777
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
1 answer
330 views

How to create a new JSS angular app with older versions of angular/typescript

I want to create a new JSS app but with older versions of angular and typescript. I have version 11.0.2 for JSS and when I run ng --version this is what I get @angular-devkit/build-angular 0.12.4 @...
Juan Pablo's user avatar
3 votes
1 answer
393 views

Is graphQL data editable through Experience Editor

We are working in JSS integrated mode, in one of the page we need to retrieve the child items from a folder and render them. As we are implementing the site in integrated mode, we expect the features ...
Raghu's user avatar
  • 55
3 votes
2 answers
303 views

Multi Language not working in Sitecore headless

We are using Sitecore 10.2 as headless (JSS) and nextjs for the front end. When we try to call JSS API it is working with multiple languages. https://{Sitecore}/sitecore/api/layout/render/jss/?item={...
Mahesh Patil's user avatar
3 votes
1 answer
454 views

Is there any way to debug Sitecore JSS connected mode?

We have developed Json rendering using existing Sitecore templates and also created JSS components from the JSS application. Somehow in between development facing some issue in code. As a developer, ...
Pradeep Gupta's user avatar
3 votes
1 answer
144 views

How do I query GraphQL using SPE?

How do I leverage SPE to query Solr via GraphQL?
Bic's user avatar
  • 530
3 votes
1 answer
637 views

Wildcards in Integrated Mode

I have a Sitecore site running: https://mysite.dev.local. The pages on this site have a JSS layout and JSON renderings on them. Navigation to a page (e.g. https://mysite.dev.local/foo/bar) would ...
Bic's user avatar
  • 530
3 votes
2 answers
1k views

Issue with child placeholder in Sitecore-first approach

I am following sitecore-first approach and I have created two simple renderings. Scaffold rendering import React from 'react'; import { Placeholder } from '@sitecore-jss/sitecore-jss-react'; const ...
arjunan's user avatar
  • 33
3 votes
2 answers
339 views

Is Universal Tracker replacement for Sitecore.Analytics.Tracker or should they be used together?

I am trying to implement simle react app (non JSS) that uses Sitecore headless services. I want to have online personalization, let's say when goal is triggered during current interaction to show the ...
Alex Klunniy's user avatar
3 votes
1 answer
2k views

How to verify if Sitecore JSS is installed correctly

How do I verify if the JSS server package is installed correctly in sitecore? I have installed "JSS Server package - Sitecore JavaScript Services Server for Sitecore 9.0 11.0.0 rev. 181031" by ...
Hashmat Ali's user avatar
3 votes
2 answers
665 views

Need Rest API in Sitecore which can create, get, update , delete and publish items in sitecore without writing any code

Is there any Rest API in Sitecore which can create, get, update , delete and publish items in web instance and Solr without writing any code
Rohit Thakur's user avatar
3 votes
4 answers
1k 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
247 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
392 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
66 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
1 answer
656 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,383

1
2
3 4 5
14