Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module.

Filter by
Sorted by
Tagged with
1
vote
0answers
19 views

Extend GraphQL schema for custom field

I'm working on a 10.2 solution with JSS & NextJS using the GraphQL (edge) endpoint. I already noticed this endpoint is sometimes quite different compared to others and now I would like to extend ...
1
vote
0answers
26 views

Debug Sitecore JSS React while SSR

How can I debug the JSS React application while using SSR, how to run the application with SSR in local machine with default npm commands?
0
votes
2answers
62 views

Extending LayoutService RenderingContentsResolver class to configure default LayoutService response

I want to have TemplateName & TemplateID of the datasource item for a JSON rendering in the response of the LayoutService which doesn't comes by default. So I have created a custom patch. ...
2
votes
1answer
49 views

10000ms elapsed without getting a service from the pool - JSS SSR default nodejs pool size - Integrated mode

Sitecore 9.3 + JSS. Under heavy load we see errors in log files: Exception Message Exception: System.TimeoutException Message: 10000ms elapsed without getting a service from the pool. Source: Sitecore....
0
votes
0answers
16 views

Skip or exclude standard fields from GraphQL query results

Is there a way to exclude or skip standard fields from GraphQL query results. I'm sure this has been asked before but I couldn't find any helpful information.
0
votes
0answers
17 views

"jss-main" was not found in the current rendering data while using node-headless-ssr-proxy with React

I am developing the JSS react template with node-headless-ssr-proxy for my company's solution, the react application have been migrated with Redux and dynamic routes, it can run and work normally in ...
1
vote
3answers
171 views

Error running `jss deploy app`: TypeError: logReplies.forEach is not a function

When running: jss deploy app --includeContent --includeDictionary --acceptCertificate XX:XX:XX:XX:XX:XX... I get the error: Sitecore has accepted import task JSSImport-myapp-2:59:34 PM Unexpected ...
0
votes
1answer
28 views

Handle CSS and JavaScript files in Sitecore Headless Implementation

I am looking for inputs to manage Static Resources (CSS and JS files) in headless implementation. Are you having single CSS and JS files for your Website and Components? Using one CSS and JS file ...
0
votes
1answer
273 views

Manage security access for items with GraphQL

We noticed that there is no limitation on what data can be queried, all the data in GraphQL can be retrieved within the Sitecore instance. Any GraphQL request with the correct API Key can retrieve ...
0
votes
1answer
364 views

403 Forbidden when trying to create a JSS app

I'm facing this issue when trying to create my first JSS react app. That's weird because I have other members on my team who are able to make it work even if we have pretty much the same setup (or at ...
1
vote
2answers
691 views

Read values from a drop down list

New to SitecoreJSS and Angular. Using Sitecore 9.0.1 and SitecoreJSS 11.0 (Angular) Created field - "HeadingBackgroundColor" type Droplist with data source pointing to different folder (I can ...
1
vote
3answers
276 views

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

One of my projects 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 an English language website is ...
0
votes
0answers
15 views

Do Pattern Cards work fine when my Sitecore page is being consumed as a HTML output

I have a headless implementation and my Site pages are loaded via a GET request to my Sitecore site which provides output as HTML to my client code. Is it possible for pattern cards and profile cards ...
0
votes
1answer
267 views

Error: spawn 'Files\Git\dist\' ENOENT - The system cannot find the path specified

I have installed a fresh Sitecore 9.2 install and I'm trying to deploy an existing react solution to my local. When I run the npm build task I get the following error. > my-sitecore-site@1.2.0 ...
1
vote
2answers
138 views

Making Sitecorepath dynamic in Sitecore JSS

In Sitecore JSS, we are defining the app name, Sitecore path etc in the below section: <app name="GCP" sitecorePath="/sitecore/content/Home/JSS" appDatasourcesPath="/...
0
votes
1answer
38 views

What version of sitecore jss is compatible with a given sitecore-jss npm package

I am trying to find some sort of compatibility matrix that will tell me what version of JSS https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services/ is compatible with the sitecore-jss npm ...
0
votes
0answers
266 views

error Cannot read properties of undefined (reading 'isServer')

I am setting up JSS (NextJS) application following https://miguelminoldo.fr/2021/10/18/deploying-sitecore-jss-next-vercel/ but when I run jss create sitecoreverceldemo nextjs I am getting the ...
6
votes
1answer
7k views

pywintypes.error: (2, 'CreateFile', 'The system cannot find the file specified while installing Sitecore Docker images

I am following the document https://doc.sitecore.com/developers/100/developer-tools/en/walkthrough--using-the-getting-started-template.html to create a test sample project for Sitecore Headless ...
0
votes
1answer
32 views

Getting Dianoga to work with the jssmedia urls

I've been at it a couple of days now and gotten Dianoga working, converting all of our "old media" images to shiny new webp format images. It works great for the standard ~/media url ...
0
votes
0answers
7 views

JSS import security is not stopping content from being overwritten

I am trying to stop the JSS deploy to my local sitecore environment from overwriting some personalisation rules on a route that I have applied on a route. I have tried following the steps outlined in ...
2
votes
2answers
698 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
3answers
177 views

Using Layout Service with master db

We have a requirement to fetch the item fro the master db. JSS is always pointing to the web db. We tried to add the query parameter as sc_content=master in the Layout Service, but still the Layout ...
2
votes
0answers
24 views

How can I change the layoutServiceHost to be read from an environment variable?

Currently the layoutServiceHost is read from a parameter in scjssconfig.json. This means that it needs to be changed and then a rebuild needs to occur for the change to take effect. Is it possible to ...
2
votes
1answer
153 views

Redirect map strategy when using Headless

What is a good strategy for handling 301 / 302 redirect maps when using Sitecore headless with SSR and the headless proxy? My current thoughts are: Need to handle SSR requests - either IIS redirect ...
0
votes
1answer
93 views

Sitecore 9.2 Cache Issue

I am facing issue with caching, whenever I changed the content and hitting first time, the URL Reflected the changes while hitting the URL the second time The updated changes not reflected. e.g. I ...
2
votes
3answers
39 views

Related articles in Sitecore JSS: custom rendering contents resolver or api call?

We have a requirement to show on the article page a list of articles which have the same topic and author as the current article i.e. "Related articles". I have two ideas about how that can ...
2
votes
1answer
117 views

How to set up a placeholder inside of a component in JSS?

I have a React component that can be placed inside of the default jss-main placeholder. I would like this component to have a placeholder contained within it, but the placeholder does not appear in ...
0
votes
1answer
102 views

Sitecore JSS rendering host failed

I am getting below error after creating the JSS App in connected mode. Connection to your rendering host failed with a Not Found error. Ensure the POST endpoint at URL http://localhost:3000/api/...
2
votes
1answer
79 views

How to set layout service within same Next.Js application to access multiple site?

We are configuring multiple site within single Next.js application. In experience editor the multisite work perfectly because its passing sc_site parameter as a query string. But in normal mode only ...
0
votes
1answer
43 views

JSS Containers setup, CM container does not start or attempt to start

I'm following the JSS walkthrough with container and I'm running into an issue running the up.ps1 script. Most of the script runs fine, but when it goes to start the containers the cm container doesn'...
0
votes
0answers
33 views

Progressing Sitecore Helix .Net Core example to Production Build

So I am using the .Net Core Helix example from Nick Wesselman (https://github.com/Sitecore/Helix.Examples/tree/master/examples/helix-basic-aspnetcore/). I have managed to get it all up and running and ...
0
votes
1answer
42 views

Getting Started Template - File in use by another process [duplicate]

So I am doing the walkthrough: https://doc.sitecore.com/en/developers/101/developer-tools/walkthrough--using-the-getting-started-template.html Everything seems to work just fine (the occasional ...
1
vote
1answer
131 views

Error when trying to configure JSS connected Demo

I am trying to configure https://jss.sitecore.com/connected-demo/ in my system. I ran two commands npm install -g @sitecore-jss/sitecore-jss-cli and npm install After this I ran jss start:connected ...
1
vote
0answers
141 views

Sitecore forms with Sitecore jss(Angular app)

I am trying to use sitecore forms with Jss angular app, I find this on github and trying to use it in my app https://github.com/bic742/sitecore-jss-angular-forms the form is rendered successfull. but ...
1
vote
1answer
30 views

GraphQL include multiple templates

How to include multiple templates in GraphQL? When I give something like below doesn't work. children(includeTemplateIDs: "{614C6C64-AD35-440E-9668-DF39D8A18CCG},{B094FD0E-D349-46C0-B829-...
1
vote
1answer
344 views

GraphQL Search Query INVALID_OPERATION

The Query: { search(fieldsEqual:[ {name:"_fullpath", value:"/sitecore/content/*" } ]) { results { totalCount } } } The Result: "data": { "search": null }, "...
6
votes
1answer
191 views

How to configure multisite in Sitecore Next.js application?

How do you implement a multisite setup with Sitecore and Next.js, with a Sitecore First Approach? Do we need to create separate Next.js apps for each site or we can we configure it in the same default ...
0
votes
0answers
47 views

JSS General Link With Search Field

I am trying to use Sitecore Field General Link With Search in Sitecore JSS NextJS. Although when I am trying to search & select the Sitecore Item in the General Link Field, I am getting the ...
1
vote
1answer
41 views

Is it possible to pass an array data type to a react component with JSS Sitecore?

I am wanting to pass an array of string's into a react component with JSS Sitecore. At the moment, I am having to use CommonFieldTypes.SingleLineText in the sitecore component definition and splitting ...
0
votes
2answers
85 views

Content Search API issue with Droplist and Treelist fields

I am facing a weird(might not be weird for experienced people) issue where ContentSearch API is returning null value for few fields while I can see the correct values in Solr. The fields whose values ...
1
vote
3answers
606 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
0answers
29 views

Including width/height in JSS JSON response for Image field

Hopefully a simple question to answer. I am looking in to adding the Width and Height values of a image to the JSS JSON response for an Image field. Is there an out-of-the-box way using some config ...
2
votes
0answers
28 views

How to make a component support a datasource item as well as being on a partial design [VueJS]

I'd like to make a component reusable whether it is a standard component with a datasource item specified, or on a partial design with no datasource and so it should fall back to using the routeData ...
2
votes
1answer
297 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
112 views

What are naming considerations should follow for placeholder in any JSS app?

I am going to develop one JSS app in Sitecore. Before starting, what are best practices must follow? What are naming considerations should follow for placeholder in any JSS app?
0
votes
1answer
508 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" ...
1
vote
1answer
132 views

Generate XML sitemap in Sitecore JSS

I am using Sitecore 10 and Angular JSS without SXA, I did not install it, so my question is how I can generate an XML sitemap to our site?
1
vote
1answer
51 views

Sitecore JSS Tracker service is not working - Goals are not triggered

I have configured the Sitecore 9.3 instance with Sitecore JSS. Deployed the default JSS App in react successfully. All JSS related pages, services are working. I have enabled the "JSS Tracker ...
0
votes
0answers
27 views

JSS CLI commands with --config switch

I'm trying to use the JSS CLI to deploy content and components to my local CM instance running in Docker, but with a different config file. Normally I run jss deploy files or jss deploy app and it ...
0
votes
1answer
43 views

Using vhost for JSS Multi-site setup on Azure App Service

I have a headless proxy multisite setup locally using JSS. I have two sites, SiteA and SiteB. I'm using vhost in node to serve as a middleware to resolve the hostname. http://expressjs.com/en/...

1
2 3 4 5
10