Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module.

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

Is there a way to deploy Sitecore JSS components from sitecore cms back to the jss app [duplicate]

"Jss deploy app" deploys the jss app to sitecore (including components, templates ..etc). Is there a way where I can deploy the components created in sitecore back to JSS app, that way I can view them ...
0
votes
1answer
274 views

Search query error “Cannot query field \”search\“ on type \”Query\"

I'm trying to get data using GraphQL query with using search and get it when testing at /sitecore/api/graph/items/master/ui window - search really work, but when I look at the React component data ...
0
votes
0answers
89 views

Fetching Placeholder data using GraphQL | Jss

I am able fetch datasource data and Context Item data using graphQL query. I want to fetch placeholder's data of that rendering. My query is like: query IntegratedDemoQuery($datasource: String!, $...
0
votes
0answers
246 views

Cannot read property 'value' of undefined at GraphQlElements

I am Using Connected GraphQL query to fetch the data of the item. It works fine in the GraphQL editor. But I created a component called GraphQLDemo and used the that query and fetched the data and ...
0
votes
0answers
151 views

Reading image in React app component

I have created one sample app in disconnected mode. Inside that, I have created 1 image component. It works fine in disconnected mode but when I deploy it, to my sitecore instance then it will give an ...
0
votes
0answers
50 views

How to add custom processor that always hit when the Page requests

I want to create a custom processor to be patched (intended for redirect the page based on some logic) for JSS pipeline. Any possibility?
0
votes
0answers
77 views

Sitecore JSS import error

While deploying to Sitecore, I'm getting the below error. Any clue as to what's causing this error. Definition looks as below. This template has no fields in it. /* eslint-disable import/no-...
0
votes
0answers
129 views

Getting error after deploy the new component

I have created a new component to show Title, Description and Image. After deploying the component I am getting the following error: Minified React error #62; visit https://reactjs.org/docs/error-...
0
votes
1answer
167 views

Unexpected response from import service: Error: getaddrinfo ENOTFOUND http http:80

I am getting following error Unexpected response from import service: Error: getaddrinfo ENOTFOUND http http:80 "while running this command " jss deploy app --includeContent --includeDictionary" ...
0
votes
0answers
68 views

How to create an “articles” section of my site?

I'm building out a site using JSS and Sitecore 9.0. I want a section of my site for articles -- such as /articles/article-slug and I'm not sure the right way to approach it. Articles are also ...
0
votes
0answers
182 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
168 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 ...
0
votes
1answer
107 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 ...
0
votes
1answer
439 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....
0
votes
1answer
147 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 ...
-1
votes
1answer
60 views

Performance Issue JSS+React

I'm having a performance issue, the loading speed is quite long. I also noticed that when I first load the page, there is some plain text showing while loading before the page completely loaded and ...
-1
votes
1answer
158 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
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 ...
-1
votes
1answer
90 views

JSS layout service not working with Sitecore Commerce 9.1

I have SXM 9.1 and Sitecore XC 9.1 installed. Our requirement is to create SXC website headless. So I installed Sitecore JSS (Sitecore JavaScript Services 11.1.0) but while installing it asked to ...
-1
votes
2answers
141 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 ...
-1
votes
1answer
73 views

Sitecore JSS how to get media library item directly

In Sitecore JSS, how can we refer a media item in the front end?(image ,pdf file etc) Can we use Layout Service? Any other way?