Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module.

Filter by
Sorted by
Tagged with
-1
votes
1answer
155 views

Sitecore cannot find placeholders for JSS

There is a problem. Sitecore site with JSS frontend. In experience editor everything is fine, but in normal mode pop up mistake: Placeholder 'header' was not found in the current rendering data, ...
1
vote
1answer
316 views

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

getting the below error at Experience editor for Home item. Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Failed to start Node process. To resolve this: [1] ...
0
votes
2answers
82 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 ...
4
votes
1answer
284 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 ...
0
votes
1answer
208 views

Sitecore jss angular sample application having empty body

I have Sitecore 9.0 update -1 version and followed (https://jss.sitecore.com/docs/getting-started/jss-server-install) to setup JSS server. After deploying angular sample app, Site ui has empty body ...
0
votes
1answer
86 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....
2
votes
2answers
136 views

best practice for fetching authoring fields in sitecore jss

Ours is a SPA app being built using Sitecore JSS. One of the pages has the requirement to show client info. But the actual client data comes from an API. But the content labels (like Description ,...
2
votes
1answer
73 views

How to share templates and renderings between multiple JSS apps?

I am exploring Sitecore JSS, and able to create new renderings, templates for my app. Since we've to create all templates and renderings for the given App, wondering how can we create templates, and ...
0
votes
1answer
364 views

Import process fails : “Unexpected response from import service: Status message: Found”

I have Sitecore 9.0 update -1 version and followed (https://jss.sitecore.com/docs/getting-started/jss-server-install) to setup JSS server. I cant able to deploy the app while running deploy command, ...
3
votes
1answer
239 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 ...
1
vote
1answer
301 views

Get the Property of an item from a ReferenceField type in Sitecore JSS (react)

I am currently working on a Sitecore JSS in which I am using GraphQL to retrieve data in Sitecore. I have field named ArticleTag in my context item which is a (Droptree) Sitecore GraphQL query: ...
8
votes
1answer
637 views

Experience Editor Support in JSS (headless)?

We're using Sitecore 9 for a greenfield project. One of the topics of discussion is whether or not we want to use EE vs. Headless. I'm not going to ask the pros vs cons of using one over the other, I ...
1
vote
1answer
75 views

Sitecore 9.0 Update-1 JSS create sample app throw error : Error: connect ECONNREFUSED 192.X.X.117:443

I have Sitecore 9.0 update -1 version and followed (https://jss.sitecore.com/docs/getting-started/jss-server-install) to setup JSS server. Finally I can test my component like below and its working. ...
1
vote
1answer
167 views

JSS Question about itemlink field type

For a fresh installed Vue-JSS application, we have some examples in the /Styleguide route. One of them is SharedItemLink. From /data/routes/styleguide, we can see that sharedItemlink is a field of ...
6
votes
1answer
180 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
177 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
1answer
51 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 ...
2
votes
1answer
292 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 ...
0
votes
1answer
287 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
242 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 ...
0
votes
0answers
158 views

Cannot read property 'datasource' of undefined at GraphQLIntegratedDemo

I create Sample Sitecore JSS React application and all pages are working fine except GraphQL. When I run GraphQL link, I am getting below error On Reload the page I am getting error I run below ...
1
vote
0answers
164 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 ...
0
votes
1answer
86 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
4
votes
1answer
143 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
255 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
179 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
106 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
vote
1answer
250 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
228 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
145 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
186 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
75 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
479 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
202 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
287 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
248 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
113 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. ...
1
vote
2answers
170 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
221 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
129 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
235 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
61 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
354 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
241 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
288 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
238 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
vote
1answer
244 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 ...
1
vote
2answers
152 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
82 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
304 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 ...