Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module.

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

Connection to your rendering host failed with a Not Found error. Ensure the POST endpoint has been enabled

I am working with Sitecore 10.1 and sitecore-jss 18.0. I am getting the error - Connection to your rendering host failed with a Not Found error. Ensure the POST endpoint at URL http://localhost:3000/...
1
vote
1answer
23 views

JSS 16/18 for Sitecore 10

According to Sitecore JSS documentation, JSS 16 and 18 are only supported by Sitecore 10.1+. As Next.JS is only supported by JSS 16+, is there any way to make JSS 16 work on Sitecore 10.0 or only Next....
1
vote
1answer
27 views

What built-in/standard fields are available on the `search` GraphQL query?

I am trying to build a query that returns all items of a specific template, but can't seem to figure out if there's a "template" field available on the search query for GraphQL. Where can I ...
0
votes
0answers
12 views

Moving JSS App to JSS-SXA Site

I have implemented Jss App in sitecore 10 instance, and now I need to move the the jss app to jss-sxa site to have the sxa structure, so what I do I have moved my items to the jss-sxa site as below ...
0
votes
1answer
54 views

Build error - TypeError: Only absolute URLs are supported

When not using graphql feature npm run build fails with following error: > Build error occurred TypeError: Only absolute URLs are supported at getNodeRequestOptions (C:\Projects\TEMP\test-jss-...
0
votes
0answers
22 views

10000ms elapsed without getting a service from the pool

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
12 views

Sitecore-JSS-form-React -- Required Validation triggers on form submission, though field has value

We are experiencing an issue with Sitecore JSS forms with react, when the form submission happens, required validation triggers for a millisecond. Scenario 1:- If we intentionally put a integer in an ...
0
votes
1answer
40 views

JSS returns 404 for media items in Richtext

I have a Legacy hybrid solution on SC 9.2 where only some page types are migrated to JSS. The issue is that if I insert an Internal Sitecore Link to a media item, it returns 404. Internal link works ...
2
votes
1answer
43 views

Jss not recognized as internal or external command while running in C#

I am calling a batch file via c# using powershell library, I see the below error 'jss' is not recognized as an internal or external command, Whereas manually executing the batch file runs with no ...
0
votes
1answer
48 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 ...
0
votes
0answers
28 views

Embed JSS App under an authenticated page

We are using the client side embed option to embed a JSS app under a page in our portal. This portal is built on Sitecore and uses the standard username/password Forms Authentication setup. I am using ...
0
votes
1answer
59 views

How to customize sitecore layout service json response

How to customize Sitecore layout service json response completely by removing even Sitecore, context and route level and only return the custom data in the response? For one of my POCs, I have the ...
0
votes
1answer
57 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 ...
1
vote
1answer
63 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 ...
1
vote
1answer
74 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
37 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 ...
0
votes
2answers
61 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 ...
1
vote
1answer
42 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 ...
0
votes
1answer
71 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
2answers
84 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 ...
1
vote
1answer
55 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
0answers
21 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&...
2
votes
2answers
132 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
52 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 ...
2
votes
1answer
45 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
67 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
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
0answers
39 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 ...
2
votes
0answers
49 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
32 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 ...
1
vote
1answer
74 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
56 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 ...
3
votes
1answer
101 views

What is equivalent to IsExperienceEditor in the ASP.NET Core SDK?

In ASP.NET Core Rendering Host, I would like to hide something if the page is not in Experience Editor mode, with something like Sitecore.Context.PageMode.IsExperienceEditor in ASP.NET. Is it possible?...
0
votes
1answer
25 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
vote
1answer
68 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 ...
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
0answers
67 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
45 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 ...
1
vote
1answer
39 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 ...
0
votes
0answers
29 views

Headless JSS with Sitecore Image URLs

So just need clarification on this image issue I am running into, so my site is www.site.com and some of my images that are located in my media library are coming to my site is showing up as www....
0
votes
0answers
32 views

Abandon session in JSS Integrated mode

Sitecore : 9.1 Initial release + JSS 11.0 integrated mode We tried to abandon the session using the URL snippet /sitecore/api/jss/track/flush mentioned at https://jss.sitecore.com/docs/fundamentals/...
2
votes
1answer
44 views

When JSS component is hidden via personalization Experience Editor show warning about missing "Hidden Rendering" implementation

After applying personalization rule to JSS component and using option to hide, Experience Editor shows warning that "Hidden Rendering" is not implemented in React, which is not too friendly ...
0
votes
0answers
96 views

Using Horizon with Sitecore JSS site

I have a website developed in Blazor server app based on Sitecore JSS layout ... the json of each page is pulled using /sitecore/api/layout/render/jss?item=/&sc_apikey=xxx and Sitecore really does ...
2
votes
1answer
223 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 ...
0
votes
0answers
35 views

Connected GraphQL in JSS Angular App and SSR

We are trying to implement a module that utilizes the Connected GraphQL service (JssGraphQLService) in a JSS Angular Application. As our JSS App will be run in Integrated mode with SSR, is there any ...
0
votes
0answers
21 views

Graphql Search API returns facets tokenized

I'm using Sitecore 10 and develop my site using JSS in connected mode, I'm using graphql search API for fetching data, I have a field called area its value is name of street, I use it for faceting, ...
2
votes
1answer
66 views

Why JSS Layout Service default resolver differently resolves reference fields of the same item, leaving some with the reference item context or ID?

JSS Layout Service default resolver resolves reference fields with full referenced item context, but other reference fields leaves with the ID of the referenced item. For example there is an item, ...
1
vote
0answers
59 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 ...
0
votes
1answer
14 views

Submit data from contact-us form and saving it to Sitecore using sitecore JSS - Angular App

I am using Sitecore 10 with JSS - Angular App, I have a contact-us form in page and I need to submit the data of form and save it to Sitecore tree. What is the best solution to do this?
2
votes
1answer
39 views

JSS Workflow - How to default newly create items to Content Mode?

Sitecore 10.1, JSS 16 I am using a user with the sitecore/Author role that I have added access to "write" when items are in the "Content Mode" state. However when I create a new ...

1
2 3 4 5
9