Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module.

3
votes
1answer
37 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 ...
0
votes
0answers
20 views

Sitecore JSS deploy issue: Unexpected response from import status service

While trying to import a JSS app to my sitecore instance, I'm getting the below error: No errors getting logged in Sitecore log file. How to debug further?
0
votes
0answers
29 views

Angular SPA VS Sitecore [closed]

I will be starting a project where a related project team built an Angular SPA and retrieved content from Sitecore using the item web API. The project we will be developing will be much bigger and ...
-2
votes
1answer
56 views

Unable to fetch from Sitecore Layout Service

I am hitting my sitecore instance layout service. I am able to deploy my app to sitecore instance using "jss deploy app -c -d". I have installed JSS Server Components. URL: http://sitecore-instance/...
0
votes
1answer
32 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 ...
1
vote
1answer
42 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 ...
-2
votes
0answers
41 views

Sitecore Headless from QA Perspective

I am implementing Sitecore headless using JSS. However I come to know from some Sitecore CMS implementation experts that it would need API testing as well. Is this related to Sitecore API only ...
0
votes
2answers
139 views

Deploy JSS App on sitecore instance

While bulding JSS app i am getting an error. Command : JSS Build Error: ERROR in Error during template compile of 'StyleguideAngularLazyLoadingModule' Function calls are not ...
0
votes
1answer
61 views

Set the different Language from jss component

We are trying to implement the multilingual site in JSS. When user logged in we are showing a drop down to select the language and based on the selection we want to set the language. Question her is ...
1
vote
0answers
124 views

Memory leak in disconnected mode

I have a global footer referencing other items (yml files), which is referencing to the same footer, resulting in too big string to parse. This wasn't a problem in TP4, but I noticed that I get a ...
-1
votes
0answers
46 views

unable to verify the first certificate exception with GraphQL

I am having a different issue with GraphQL.. I created a component with connected GraphQL query.. I created a login component as well, Whenever i set the GraphQL component as my landing page after ...
0
votes
1answer
43 views

Replacement for Sitecore.Context.Database.Name in JSS?

is there any replacement for Sitecore.Context.Database.Name in JSS..? just trying to know the list of conteproperties are ac
3
votes
1answer
57 views

Sitecore, JSS and GraphQL: licensing question

The question is pretty simple: can I use the GraphQL from JSS package without JSS license?
0
votes
1answer
59 views

How to remove 'route' object in Sitecore jss layout service api response?

When I get the data from http://{domain.name}/sitecore/api/layout/render/jss?item=/&sc_apikey=[api-key] Then response is like {sitecore: {context:{something}, route:{something}} But I don't want ...
2
votes
0answers
51 views

Tracking Page Events and Goals Does`t Work Correctly

I am working on a mobile application (Sitecore 9.1, JSS React Native) with a couple of pages. A page event is assigned to each of the mobile application pages. I have enabled indexing anonymous ...
0
votes
1answer
38 views

invalid json response body - Headless SSR mode

Followed the steps in the below link to setup the headless SSR mode https://jss.sitecore.com/docs/techniques/ssr/headless-mode-ssr but it the app never comes up and always received an error saying ...
-1
votes
1answer
57 views

Virtual Login in Sitecore 9.1 using JSS

We are implementing the JSS in headless SSR mode, we would like to know a way to virtually login to Sitecore from our JSS components. I mean the user authentication will happen with an external system ...
1
vote
1answer
86 views

Error when trying to scaffold an Angular component

With a fresh install of the jss cli and creating an Angular application jss create test-app angular when I try to generate a component I get the following error: Component testComponent is ...
0
votes
1answer
51 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 ...
2
votes
1answer
33 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 ...
-1
votes
1answer
41 views

How to extend Manifest file

I have created a solution for package importing POC in my local. So, I was following the steps at Import Pipeline Extension I have projects structure like in screenshot: But, I am not sure about ...
2
votes
2answers
47 views

JSS Default Angular App Build Error: Cannot find name 'Exclude'

Install JSS: npm install -g @sitecore-jss/sitecore-jss-cli create default react app - runs in Chrome: jss create jss-react-app react cd jss-react-app jss start create default ...
8
votes
2answers
120 views

What is alternative of “.PageMode.IsExperienceEditor” property in JSS-react?

What is alternative of .PageMode.IsExperienceEditor property of Sitecore.Context in JSS-react to verify the ExperienceEditor context ?
5
votes
1answer
55 views

Sitecore Experience Accelerator (SXA) site won't render as a sub route where JSS app is the root app

We have a JSS app as our site root (e.g., mydomain.com/ renders my JSS app) and want a Sitecore Experience Accelerator (SXA) website as a sub-route of the same domain (e.g., mydomain.com/sxa-site). ...
2
votes
2answers
96 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 ...
3
votes
1answer
59 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. ...
0
votes
2answers
54 views

Error loading site in connected mode: Unknown type GraphQLConnectedDemo

Following the tutorial everything is looking good. The app deploys with no errors using jss deploy app --includeContent --includeDictionary. I can see the content in Sitecore so thats all good. ...
1
vote
1answer
65 views

JSS LayoutService decoupled from Routing in Angular

Is it possible to decouple the use of the LayoutService from all of the Routing code and use it independently? We are upgrading an AngularJS application to Angular and have incorporated JSS but are ...
5
votes
1answer
71 views

JSS, is there a way to create custom types?

I am totally new to Sitecore, and a front-end developer, so please bear with me. I'm on a project that is prototyped using JSS and for some of our components we'd like to define custom types like: "...
1
vote
1answer
77 views

API mode can be implemented with the Plain react application

Can we implement the API only mode in JSS with a plain react application.? or do we need to have react app created through the JSS. Also trying to see a sample app or steps to do the API only mode ...
1
vote
1answer
38 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 ...
2
votes
1answer
106 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.
2
votes
2answers
78 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 ...
5
votes
1answer
116 views

Code first Rendering Parameter templates

What is the best way (if any) to add a rendering parameter template to a rendering using JSS? I have looked at some of the import processors, but can’t find a simple way of doing this from javascript.
3
votes
1answer
93 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 ...
-1
votes
1answer
72 views

JSS SSR headless mode vs api only for personalization

Are there in any difference in personalization usage when using JSS SSR headless mode vs jss api only mode (with layout services where can use personalization). We are in process of getting jss ...
0
votes
2answers
77 views

Sitecore JSS with headless mode can be hosted in AWS

If using sitecore JSS App with Headless SSR via sitecore-jss-proxy, can the Node.js app be hosted on AWS server? Note did mention below, but not clear about AWS. I understand Sitecore install have ...
0
votes
1answer
54 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
89 views

Sitecore JSS error when creating quick start app with Vue template

I'm trying to create a disconnected JSS vue app using the quick start guide, by running the following commands: npm install -g @sitecore-jss/sitecore-jss-cli jss create jss-app-vue vue cd jss-app-vue ...
2
votes
1answer
38 views

Changing The Layout Service Response Outside The Json Of A Rendering

For an application I want to remove some levels of data from what jss's layout service returns. My end goal is to have an api endpoint that returns fields on the content items and fields on ...
0
votes
1answer
46 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
69 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
66 views

JSS Vue page transitions not fully working in example project

It seems like the router setup for the JSS Vue example may be preventing the transitions that are built into Vue Router from properly running. Specifically I am having issues with the leave animation....
2
votes
1answer
75 views

The current user does not have write access to this item. User: sitecore\JssImport,

I am trying to setup the Sitecore JSS,getting error when executing the command. jss deploy app --includeContent --includeDictionary Skipping data update of /sitecore/content because item already ...
0
votes
1answer
88 views

Sitecore JSS for existing Sitecore site

The question may be very basic, but for better understanding about JSS i am asking this. The question is, can we use JSS for existing site created with traditional Sitecore MVC? Because I am not ...
0
votes
1answer
68 views

Nested Components Scaffolding

I'm currently setting up a new JSS project using the JSS React boilerplate and I ran into an issue regarding the scaffolding of components. When using the scaffolding script I can use jss scaffold Foo ...
1
vote
1answer
114 views

Sitecore JSS installation error

I am getting the below error once I installed the Sitecore JSS server packages Preview 4. I have follwed the same steps mentioned in https://jss.sitecore.net/docs/getting-started/jss-server-install ...
3
votes
2answers
260 views

Headless CMS : Sitecore vs Contentful

We are currently using Sitecore for one project but did not use JSS anywhere. Other project team plans to use headless CMS and considering "Contentful" CMS for this. Could you please anyone can ...
2
votes
1answer
46 views

Cannot get FullWipe to work with Sitecore JSS Tech Preview 4

I've setup a Sitecore 9.0.2 solution, and i'm testing out JSS. I'm using code-first, and I'm trying to get FullWipe to work on jss deploys. According the documentation, i'm supposed to set ...
2
votes
1answer
72 views

React vendor chunk size quite large

I recently started working on a JSS React template. Today I ran jss build and found that the vendor chunk size is 436KB non-gzipped. Being that JSS is built on top of CRA whose vendor files total ...