Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module.

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

After installation Sitecore 9.2 with SXA not able to create JSS Tenant and site

I have installed Sitecore 9.2 with supported SXA on my local environment, but not able to create JSS Tenant as describe in Sitecore help document. When we logged-in sitecore I can see the only Tenant ...
0
votes
1answer
188 views

Code structure in Multisites Scenario

We want to use Sitecore JSS (ReactBased) Framework with Sitecore 9.2 (Integrated mode. We have multisite environment where each site is subset of Global Site. It means templates/rendering created in ...
0
votes
1answer
101 views

JSS connected mode enters experience editor mode

When I'm working with the local web server (jss start:connected) and at the same time I log into the actual instance of sitecore (dev.test.com) and go to the experience editor. The local version get's ...
0
votes
1answer
50 views

JSS Importer doesn't import Param Checkbox field with true correctly into Sitecore Content Editor Properties Popup Window

I have defined a Param fields for JSS component as below and set its value to "true" on the route file. But when imported into Sitecore, in the presentation details of the component doesn't show this ...
0
votes
1answer
196 views

Publishing/Deploying React JS Sitecore JSS app

We are working on application using React JS for UI using Sitecore JSS. We are able to import the app into sitecore, could see content items created, published the website. We can run the app (hosted ...
0
votes
1answer
54 views

Why do I not see Create / Copy To links in the Experience Editor?

I want to be able to add a JSS component to a placeholder in the Experience Editor by creating a new content item, but after I select the rendering I do not see the Create or Copy To links. I am only ...
0
votes
1answer
470 views

Sitecore GraphQL Search query not working - Error trying to resolve search [duplicate]

I have the checked my instance and search query is enabled. I am getting the below error when i testing my search query in xGraph Browser Query query{ search(keyword:"smart"){ results{ ...
0
votes
1answer
249 views

Define Multiple Layouts in JSS - Code First

We are implementing a website using JSS in Code First approach. There is a requirement to have two different layouts in the site, Layout1 - for all the pre-login pages Layout2 - for all post login ...
0
votes
1answer
158 views

CORS and Media Library Resources

I have a Lottie animation JSON object that I want to use in all my various JSS Angular apps hosted from different domains. Ideally, I'd have that animation file in the Media Library so it can be ...
0
votes
1answer
229 views

Getting a blank page after deploying JSS-React application on server (Tech preview 4)

I am Getting a blank page after deploying JSS-React application on server (Tech preview 4) with two console warning 1) Cross-Origin Read Blocking (CORB) blocked cross-origin response https://www....
0
votes
2answers
250 views

Maintain sitecore items in repository in jss sitecore first approach like Unicorn, Jss-cli OR TDS

Hi I am using Sitecore jss with sitecore first approach. My sample solution is under here sitecore.first-jss-helix.git. Currently i am maintaining in repository all my sitecore related content items ...
0
votes
1answer
31 views

ModuleNotFound error throws when deploying files

ModuleNotFound exception throws when deploying css file. I have started to explore Sitecore-Jss and deployed sample app in the sitecore and it works fine. I just added a new css file (test.css) under ...
0
votes
1answer
212 views

SXA datasource token is not working for Sitecore JSS rendering component

we are adding a JSS rendering component in SXA site. We have added the below query in JSS component data source location. query:$site/*[@@name='Data']/*[@@templatename='Content Blocks Folder'] It ...
0
votes
2answers
108 views

Why does 'jss build' with Vue and Typescript miss out our components in the compiled output?

We're setting up some Vue components so that they are defined to use Typescript via the lang attribute on the script tag: <script lang="ts">. When running jss start:connected this all behaves ...
0
votes
1answer
146 views

Resolving dependencies using Unity for deploying sitecore jss app

We are using Unity for the dependency injection overriding the default behavior for the sitecore project. While deploying the jss app, I am getting below error: The current type, Sitecore....
0
votes
1answer
68 views

Add new version of an item when deploying the content from JSS

We are developing the JSS application in SSR headless mode. There will be more than 10 developers working at a time, when going through the options to deploy the content from JSS to Sitecore we ...
0
votes
1answer
212 views

How to mock Sitecore Context Data in LayoutService for JSS disconnected mode?

Where can I usually mock (for JSS disconnected mode) additional layout service data that I put into the layoutservice response by a "JssGetLayoutServiceContextProcessor". So if I add additional ...
0
votes
1answer
108 views

Does anyone know, if Sitecore-JSS-React application supported in Service Fabric cluster

I am trying to deploy JSS-React app in Service Fabric cluster, does anyone know if - Sitecore-JSS application supported in Service Fabric? - Can I create .net Core application for this?
0
votes
1answer
98 views

Inline style React components not working

Is there any way to use inline style for the JSS React components? I have tried: const inlineStyle = { width: '100%' } const Example = () => <Image style={ inlineStyle } /> But the ...
0
votes
2answers
464 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 ...
0
votes
1answer
1k views

JSS start connected mode issue

JSS start connected mode issue, using JSS Tech Preview 4, React, Sitecore 9 Update2. Here is the complete log. jss.sc/sitecore/api/jss/dictionary/my-first-jss-app/en?sc_apikey={078944F4-4AAB-4086-...
0
votes
1answer
80 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 ...
0
votes
2answers
3k views

How to add a favicon in the root of the app

JSS VueJs sample Tech preview 3 I tried to add favicons in /assets/favicon-16x16.png Then, in /src/app/ServerHtml.js, I added: <link rel="icon" type="image/png" sizes="16x16" href="/favicon-...
0
votes
1answer
385 views

Placeholders in my component doesn't show in Sitecore connected mode after a deploy - JSS - vueJs [closed]

As a developer, I want my placeholder to be rendered in sitecore, so that I can add more components inside First of all, in disconnected mode, everything is fine: 1 - I have a placeholder named : ...
0
votes
1answer
284 views

Latest Angular basic sample Error

I'm trying to go through all the Angular tutorial from the JSS.Sitecore side but I came across multiple issue. The examples don't match the code that is getting generated Getting missing modules ...
0
votes
0answers
18 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 ...
0
votes
0answers
21 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
0answers
21 views

Sitecore JSS, can we do server side rendering only for meta tags [closed]

I created Sitecore JSS project and use client side rendering by default. Now the problem come that I need meta tags rendering on server side as crawler can retrive data for SEO. E.g. og tag. I'm ...
0
votes
0answers
19 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
56 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 ...
0
votes
0answers
9 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
0answers
33 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
0answers
11 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
0answers
12 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
27 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 ...
0
votes
0answers
25 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
21 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
27 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
51 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
0answers
37 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
45 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 ...
0
votes
1answer
161 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 ...
0
votes
1answer
81 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 ...
0
votes
0answers
43 views

How to set a Datasource explicitly in yml file and change it when I go for personalization?

I'm using Jss react. I want to pass a datasource to a component which is coming from a different location (not from component itself or sitecore context). I want to use personalization so the ...
0
votes
0answers
35 views

Can I create a native android app by retrieving data from Sitecore?

Current situation I have Sitecore 9.3. My Sitecore runs locally inside a vm. I've created a jss website and deployed it to sitecore following the official guide. What i want I want to create an ...
0
votes
1answer
24 views

Angular JSS - References to Window Break In Experience Editor

I have a couple references to the window object in my Angular JSS component: @HostListener('window:resize', ['$event']) onResize(event) { if (window && typeof window !== 'undefined') {...
0
votes
0answers
26 views

Consume sitecore jss data from a separate sitecore instance

I have a Sitecore 9.1 MVC implementation where I want to consume the layout service response from a different Sitecore endpoint as an rendering. I have gone through the ways mentioned in Sitecore ...
0
votes
1answer
39 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 "...

1
4 5
6
7 8