Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module.

Filter by
Sorted by
Tagged with
0
votes
1answer
32 views

JSS Layout Service fails an item resolving by path with virtual directory

I am using Sitecore 9.3 JSS with a Create React App front-end with a virtual folder setup. When I create a link pointing to the site root item, it works fine when directly browsing to it e.g. opening ...
1
vote
0answers
14 views

Rendering not getting picked from cache

Sitecore 9.3 - JSS I was working on the performance aspects of my application. And I checked the details on Stats.aspx The different JsonDatRenderer are for different Websites hosted on the instance. ...
0
votes
1answer
34 views

When you use a sitecore <Image> tag with classes, why are the classes removed when you add an image in the experience editor

When I add an image through experience editor this is the image tag I get when I inspect the source. <img src="/sitecore/shell/-/media/image.jpg?h=2796&amp;iar=0&amp;w=4554&amp;la=...
0
votes
0answers
23 views

Is there a change in contract between JSS version 11 and 14?

I am currently using sitecore 9.0.2 and have installed JSS to query the data using graphQL queries. I use below features of JSS: Querying data using http://sitecore.local/sitecore/api/graph/items/...
1
vote
0answers
25 views

Null refrence exception for RenderingExtensions.IsSerializable

Sitecore 9.3 JSS What is happening: Many a time, we are getting 500 from the layout service. In the log we have the following entry: ERROR Exception during Layout Service RenderItem (configuration: ...
0
votes
0answers
55 views

How to host a JSS app on localhost at a specific port?

How can I configure Sitecore to host my JSS app at a specific port on localhost? e.g. if I navigate to localhost:44011, my site renders instead of the default Sitecore home page. Our React single-...
0
votes
1answer
26 views

Does installing JSS package on sitecore modify database schema

I am planning to install JSS package on my sitecore instance to use GraphQL APIs. I want to know wether installing JSS package change/alter my database schema or solr indexes. In case I want to ...
0
votes
0answers
15 views

Error while deploying items with more than one component

When I create 2 components in the YML files I get the following error: ManagedPoolThread #11 09:09:12 INFO [JSS] - Creating route-level datasource folder (RouteLevelDatasourceStrategy) ...
0
votes
0answers
49 views

Guidance on storing data in Sitecore Context or Local/Session Storage

We are building a React app using Sitecore JSS and we want to store some data about the user. The data is either info we want to store while the user is logged in (e.g. cache the user profile ...
1
vote
0answers
24 views

What are the steps I could follow to debug non-functioning JSS app integrated mode?

My JSS app does not render in integrated mode: http://my-first-jss-app.dev.local/en-US/. The header renders (with logo, documentation styleguide links) but the content does not. What are the steps I ...
0
votes
0answers
25 views

Jss deployment Error to remote instance

Trust you all are keeping well and safe. When I'm trying to deploy my application to a remote CM server. I am getting the below error. Sending package sitecore\package\sample-jss-app.1601553768244....
0
votes
0answers
16 views

JSS sitecore API verification throwing exception 403.0 - Sitecore.LayoutService module requires subscription license

I am trying to integrate my JSS app into Sitecore. I am following official JSS documentation but it throwing error on API verification HTTP Error 403.0 - Sitecore.LayoutService module requires ...
0
votes
1answer
41 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 ...
2
votes
1answer
31 views

Using the Layoutservice with a virtualFolder setup

I am using Sitecore 9.3 JSS with a virtualFolder site setup. My JSS site is located at /jss while there is another (MVC) site running at /. When running jss start:connected I get "Placeholder not ...
0
votes
0answers
28 views

Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Failed to start Node process

We are trying to get Sitecore Experience Editor working in Integrated mode but facing below error.Have ensured node is installed and is in the PATH environment variable. Additionally, was trying to ...
1
vote
1answer
29 views

Can we use SXA Search Functionality with JSS pages

With Sitecore 9.2 and JSS, can we use the SXA search functionality and configuration (scopes and boosting etc.) with JSS ? Has anyone done this or did you encounter any specific issues?
0
votes
0answers
27 views

Embedded Sitecore JSS Application IE11 Issue

Our organization is using the base code as given in the below mentioned Github repository for client side embedding of the JSS react application in Sitecore 9:- https://github.com/Sitecore/jss/tree/...
0
votes
1answer
54 views

Image not working when fetching it with GraphQL in connected mode

This is on sitecore 10 / jss 14.0.1 I'm using JSS in connected mode (jss start:connected) since I will be fetching data with GraphQL. In my graphQL I fetch an image using this code: item(path: $item)...
1
vote
0answers
35 views

Personalization on Layout Service not working when calling from JSS App

My Sitecore CD website in IIS is http://cd.my-website.com with a role as ContentDelivery. This site contains Sitecore and custom API code in Headless mode. The React code for the JSS app is on a ...
0
votes
0answers
43 views

Failed prop type: Invalid prop `errorComponent` supplied to `PlaceholderComponent`

I'm trying to improve error handling for my app, so I've create a very simple component ErrorComponet.jsx: import React from "react"; const ErrorComponent = (props) => { return (<...
0
votes
0answers
62 views

Sitecore JSS Personalization simple display rule not working

We are using Sitecore 9.1 with JSS and have a fully functional site running using Angular -- all working great. Now, we would like to add personalization to our site. To do so as a simple starting ...
1
vote
1answer
62 views

JSS Deployed to Docker Container: Links to media files missing port number

When I deploy a JSS app to a Sitecore instance running in a Docker Container and run our applications in Integrated Mode, our application is accessible with a hostname and port number (e.g. http://jss....
0
votes
0answers
10 views

Get First and Last Published dates on JSS app(Angular) [duplicate]

Recently started working on SitecoreJSS. Is it possible to save the first and last published dates of a page on JSS app(using Angular)?. Like this http://sitecoreskills.blogspot.com/2014/04/first-and-...
0
votes
1answer
60 views

Sitemap in SXA JSS Site

We are using REACT App in the front end and using capabilities of Sitecore JSS(12.0) for headless view and SXA(1.9). I have configured settings to get sitemap settings (by inheriting sitemap template ...
0
votes
1answer
24 views

Node render engine project directory path '{website-path}\app' does not exist

We reently moved Sitecore First from CodeFirst. Which means we have deployed jss app to the Sitecore. But when we try to open Exprience Editor, we face below issue: Error Rendering Sitecore....
1
vote
1answer
27 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 @...
0
votes
1answer
82 views

How to handle item not found in jss headless

Our requirement is to show site specific error page if the requested page is not found. We have handled item not found using HttpRequestBegin pipeline Item resolver. If the context item is null we are ...
1
vote
1answer
33 views

Unexpected response from import service: Invalid Authentication

I'm trying to perform the command to deploy my application to a remote CM server jss deploy app --includeContent --includeDictionary but I receive the following error Sending package sitecore\package\...
0
votes
0answers
39 views

JQuery error after deploying the JSS build of a React app that uses Bootstrap

We created a new website that uses JSS with a React application. This application uses Bootstrap CSS files but not necessarily Bootstrap JS. When we deploy the JSS Build to the CM server and ...
0
votes
0answers
42 views

How to resolve Custom Item Url - Buckets in jss headless mode

We have used Item resolver on httpRequestBegin to resolve the custom urls(bucket items) and its working fine in integrated mode. Now we are moving our site from integrated mode to headless mode and ...
1
vote
0answers
43 views

A rendering error occurred: Cannot read property 'fields' of undefined

Trying to add RouteType item (as provided in samples on creating a new JSS app). Once I add in experience editor, it appears fine like below But as soon as I click save, I got below error message. ...
0
votes
3answers
80 views

How to run multi language JSS frontend websites on same azure app service?

One of my project is using Sitecore 9.1.1 & JSS, also Server Side Rendering (SSR) Mode is running successfully on Azure App Service. Ex. www.example.com - which is English language website is ...
0
votes
0answers
33 views

How to customize Sitecore JSS Layout API response before returning the response?

Is there any way to access "route" object "placeholder" data and add new properties inside "route" object before sending the final response? Or Is there any way to access ...
0
votes
0answers
33 views

Page not loading in experience editor after implementing in Sitecore JSS App (React)

I have implementation this OIDC Client in Sitecore JSS App(React). Looks like working fine in disconnected and disconnected mode. But when we load the in page in Sitecore experience editor it is ...
0
votes
1answer
103 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 ...
0
votes
1answer
48 views

How to use Sitecore forms with Sitecore jss(Angular app)

Can anybody please help with any reference of how to use sitecore forms with sitecore jss angular app. For react application library is available "npm i @sitecore-jss/sitecore-jss-react-forms&...
0
votes
1answer
62 views

Node version issue in Multisite Sitecore jss application in Azure

I have 2 jss apps deployed to azure. Both are built on node 12.15.0 and I have WEBSITE_NODE_DEFAULT_VERSION as 12.15.0 in azure app settings but Only one of the apps is getting loaded at a time. For ...
0
votes
1answer
63 views

Sitecore jss headless mode with multiple sites

I have downloaded jss proxy and configured my site to run in headless mode. How to configure multiple sites with different domains
1
vote
0answers
35 views

Sitecore Analytics not working in Sitecore 9.2 JSS Application

I have enabled the following settings <setting name="Sitecore.JSS.TrackerServiceEnabled" value="true" /> <setting name="Xdb.Enabled" value="true" /> ...
0
votes
0answers
46 views

Sitecore First Approach Can't see the component added to child placeholder

We are working on POC to test new page addition through SitecoreFirst workflow. Have added a sample template and Json rendering to my Sitecore app from content editor and created a route to host a ...
0
votes
0answers
17 views

Creating Layout service url for Sitecore Jss multisite application in azure [duplicate]

I am completely new to Sitecore Jss. i am trying to implement a multisite sitecore application using jss. I already have a jss site hosted in azure with layout service "https://abc.org/sitecore/...
0
votes
1answer
62 views

Unable to get local issuer certificate with Sitecore JSS Create

I am trying to create JSS app locally however getting below error while running the Sitecore JSS creates command. Error:Unable to get local issuer certificate Command: jss create appname react I am ...
0
votes
0answers
14 views

Unable to import JSS app to Sitecore [duplicate]

I’m trying to deploy JSS App on Sitecore, all seems to be in order but when I run this command jss deploy app -c -d I am getting the following error Unexpected response from import service: Status ...
1
vote
1answer
108 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....
2
votes
1answer
53 views

How do I query GraphQL using SPE?

How do I leverage SPE to query Solr via GraphQL?
1
vote
1answer
310 views

Running JSS-CLI to create app I'm getting “JSS CLI is running in global mode because it was not installed in the local node_modules folder” messaging

I'm running Windows 10, node v14.5.0 and JSS v13.2.0 which is the latest at this time (I've literally just installed it). I'm trying to create an angular app with the JSS-CLI with the following: jss ...
1
vote
1answer
62 views

Create Validation Rules via JSS

I'm working on a Sitecore 9.2 JSS project that needs a required field that results to FatalError. The default required field in Sitecore is using CriticalError. I can create it manually in Sitecore ...
0
votes
1answer
73 views

How to pass a variable to search context?

I have created a SearchContext, defined query, provider etc. I have a variable to pass so can get result depending on what is being passed. Now, how do I pass this $query variable (which will be a ...
1
vote
1answer
73 views

How to get “jssmedia” word in Sitecore JSS app image URL?

My JSS app is not showing images though they exist. When I open the same link in my browser, then the browser is showing those images. I am getting the URL of my JSS image as http://first-jss-app.dev....
0
votes
1answer
83 views

Editing JSS SXA route fields in Experience Editor

Using a JSS site deployed on SXA 9.3, is it possible to edit route fields in Experience Editor ? I have assigned simple fields to the route template and in Experience Editor I have tried using the ...

1
2 3 4 5
8