Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 views

Get all content items with presentation from GraphQL Content Search API

Is there a way to get all content items with configured layout using GraphQL Content Search API? I noticed, type children(requirePresentation: true) consists of an argument for requirePresentation to ...
0
votes
1answer
44 views

Visualization.GetRenderings returns empty string using local: data source

I am trying to index rendered content. I am using the following plugin. It works with a global data source, however, it does not index rendered content if the data source is local (local:/Data/Rich ...
0
votes
0answers
29 views

Experience Editor issue in JSS + SXA + .NET Core Rendering Host solution

I am running Sitecore Helix.Example for Sitecore.JSS + .Net Core Rendering Host. In addition it is wrapped with SXA to be able to use all SXA advantages like multisite management and so on. In normal ...
2
votes
1answer
149 views

Error running my first jss app - cannot start node

Following the instructions here: https://jss.sitecore.com/docs/getting-started/app-deployment I was deploying into a vanilla 9.2 site which was working fine. Step 4. Content shows up in the content ...
2
votes
2answers
91 views

Using Page designs or Partial Designs in SXA JSS Site

We have built out a JSS tenant and creating pages that are rendered with React with Sitecore 10.1.1 in integrated mode (Sitecore first). Basic layouts and placeholders are working as expected. We are ...
1
vote
1answer
294 views

GraphQL Search Query INVALID_OPERATION

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

How to add custom route in Angular JSS ? Domain/<Page>/<id>

We are working hybrid headless SSR approach. The pages have a header and footer from Sitecore with wrapper angular components as shown in the image. We should pass the id of the article from the ...
0
votes
1answer
36 views

Internal Link doesn't care for context language

I am new to Sitecore and working on a Sitecore 10.1 JSS project. For the Spanish(es) version of the page When I add an internal link in XM, it resolves the link as an English one and doesn't append es ...
1
vote
2answers
204 views

Experience Editor error: Unnamed Component JSS component missing React/Vue/Angular implementation

Error: "Unnamed Component JSS component missing React/Vue/Angular implementation. See the developer console for more information." This error is sometimes seen in Experience Editor after these ...
1
vote
0answers
239 views

Sitecore JSS component invoking a web api

I had a react js application (http://localhost:3000) that invoked a web API (http://xyz) POST method. The way I accomplished that is - through the "proxy": "http://xyz" setting in ...
1
vote
2answers
155 views

GraphQL query to search for pages based on template

The following GraphQL query returns items based on the Page template: search(keyword: "Dream", first: 10, language: "en", fieldsEqual: [{name:"_templatename&...
0
votes
2answers
50 views

JSS 16.0 in combination with Sitecore 9.3

Due compatibility table we can use JSS 16 only on Sitecore 10. I have no ability to upgrade Sitecore, so my question - Did someone tried to install JSS 16 on Sitecore 9.3, and is it possible or ...
0
votes
1answer
56 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 ...
1
vote
1answer
358 views

How to get child items from a DropTree (itemlink) path in JSS using React

Is there a way to get child items from a droptree (itemlink) path in JSS using React without using GraphQL? I see there are LayoutService but it only retrieves child from the contextItem or ...
1
vote
0answers
25 views

Delete Sitecore JSS Items after deploy

We created a banner component using "jss banner scaffold" and deployed in sitecore using "jss deploy app -c -d". Now we want to delete this component, is their any command for ...
1
vote
1answer
40 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 ...
-1
votes
1answer
38 views

Does installing JSS package on sitecore modify database schema

I am planning to install JSS package on my sitecore instance to use GraphQL APIs. I want to know wether installing JSS package change/alter my database schema or solr indexes. In case I want to ...
2
votes
1answer
280 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 ...
1
vote
1answer
177 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
92 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
433 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
20 views

Can a Sitecore Form be hardcoded in a JSS React component?

I have a React component that I want to embed a Sitecore form into: const ContactForm = ({ title, text, route, fields, history }) => { return ( <StyledContactForm id="contact-form&...
1
vote
1answer
42 views

How to add a new property in the route object of the JSS Layout Service?

By default, the Layout Service provides the layout information as layoutId in the route object. Although it is difficult to make a connection with this information in other applications since the id ...
1
vote
1answer
57 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?
0
votes
1answer
31 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 ...
2
votes
1answer
41 views

Sitecore 9.2 with JSS installation Error

I am new in Sitecore and I am working on a project it is in Sitecore 9.2 and JSS. For the installation I am referring to the below URL: https://github.com/Sitecore/Sitecore.HabitatHome.Utilities/tree/...
0
votes
1answer
43 views

XM 10.1.0 & 10.1.1 + JSS & SXA - Could not load file or assembly 'Sitecore.Analytics, Version=16.0.0.0'

Vanilla Sitecore 10.1+ install with JSS 16 and SXA 10.1 installed. After the initial install, I'm able to navigate to the Launchpad normally. After a period of time or unknown trigger, I'm unable to ...
0
votes
1answer
20 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/...
0
votes
2answers
128 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
48 views

Sitecore 10.1 jss 16 cannot correctly identify renderings in integrated mode

I have created jss project with react template, and I have added typescript support by installing some typescript libraries and adding to server.webpack.config.js next config: module: { rules: [ { ...
0
votes
1answer
22 views

Sitecore 10.1 JSS Vue App zzz/myvueapp.config database web vs master on CD vs CM server

In the zzz/myvueapp.config file should the database be set to master on CM and web on CD? <site patch:before="site[@name='website']" inherits="website" ...
0
votes
1answer
281 views

In JSS how do I support both secure and open GraphQL endpoints?

In my JSS application, how do I support both authenticated (logged in) GraphQL endpoints and in-secure (public/open) GraphQL endpoints? The example Angular application shows the usage of only one ...
1
vote
2answers
104 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 ...
1
vote
2answers
212 views

Unexpected response from import service: Status message: Forbidden

I have a JSS Tenant and Site working and Running. I created another Jss Tenant and JSS Site in it using Sitecore 9.3. Created a JSS App as I did before. I created a new API Key for my second Site. ...
0
votes
0answers
31 views

Sitecore JSS General link insert JavaScript option

We are using Sitecore JSS with react. We've a General Link field in our template. Wanted to know if we can use the insert javascript option of General Link in Sitecore JSS. How can we call react ...
0
votes
1answer
123 views

Deploy components into Common/ Shared folder

We are looking for some suggestions on the folder structure to make the components shared across multiple sites. At the moment if we deploy the components to Sitecore, it’s getting created under the ...
2
votes
4answers
351 views

Unexpected error processing reply from import status service

I have Sitecore 9.3 version and followed the steps described here https://jss.sitecore.com/docs/getting-started/jss-server-install to setup JSS server. I am not able to deploy the app while running ...
-1
votes
1answer
80 views

Node module not fully loading into browser

I am building a custom component library using Stenciljs and webcomponents. I have published to an npm repo and was able to create an example create-react-app app using all of the components without ...
1
vote
2answers
260 views

After installation JSS 11.0.0 onto Sitecore 9.1, URL is not giving right response

I've installed JSS 11.0.0 onto Sitecore 9.1. URL:https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services/110/Sitecore_JavaScript_Services_1100.aspx I have added API key as mentioned here: ...
1
vote
1answer
43 views

ProcessItem when extending JssGetLayoutServiceContextProcessor

When extending JssGetLayoutServiceContextProcessor, is there a way to call ProcessItem just like in Sitecore.LayoutService.ItemRendering.ContentsResolvers.RenderingContentsResolver? public class ...
1
vote
1answer
42 views

JSS Multisite not resolving based off hostname - One JSS Site/Tenant with multiple apps

I have a JSS multi-site setup under one tenant. I have Site A and Site B. I have modified the routeHandler.js to use a different layout based on the sitecore context Sitename value. // Render the ...
1
vote
1answer
258 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 ...
2
votes
1answer
86 views

Sitecore Forms CORS/Verification token error in Chrome, works in Firefox

I am trying to submit a form in Angular, through JSS. In chrome, I get a CORS error complaining the access-control-allow-origin header is missing. Just for fun, I added this to ...
0
votes
2answers
59 views

Nodejs not part of docker in Getting Started Template for JSS to work

Nodejs is a pre-requisite for Sitecore 10 JSS and after setting up the solution for JSS with Getting started template https://doc.sitecore.com/developers/100/developer-tools/en/walkthrough--using-the-...
0
votes
0answers
14 views

Sitecore A route named 'sitecore_graphql_/api/xx' is already in the route collection. Route names must be unique. Parameter name: name [duplicate]

I am new for Sitecore JSS. I am using Sitecore 9.3/SXA/JSS - I am not able to login into my Sitecore after deploying UI components. I am getting "Sitecore A route named 'sitecore_graphql_/api/xx' ...
0
votes
1answer
70 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
43 views

Node render engine project directory does not exist

Sitecore 10.0 I took a vanilla Sitecore install in docker containers and I added a JSS tenant / JSS site. I did docker-compose down. The next day when I do docker-compose up -d I get this error: ...
0
votes
0answers
40 views

Reusing JSS Components in SXA site

I have setup a sample Angular JSS app, created a few ng components and deployed it to Sitecore instance which has a SXA site already present I am now looking at how I can re-use or integrate my new ...
2
votes
1answer
185 views

Sitecore JSS Failed to compile

I am working on Sitecore 9.3 with JSS using a code-first approach. I have created the first component called "HeroBanner" after that I run the command "Jss Start" but it is giving ...
1
vote
0answers
27 views

JSS Limit depth of items retrieved in linked fields

I have an App Route A for a page and is loading all the fields including a multilist that links to Item App Route B that can have in the multilist a link to Item A, creating a infinite loop. Is there ...

1
2 3 4 5
9