People who code: we want your input. Take the Survey

Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 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
34 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
25 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
32 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
32 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 ...
0
votes
1answer
17 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
27 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
24 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
29 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
0answers
25 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
23 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
32 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
59 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 ...
1
vote
1answer
78 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
29 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
18 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
60 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
32 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
13 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
31 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 ...
0
votes
1answer
79 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
76 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
1answer
64 views

GraphQL error: Query is too complex to execute

I am using JSS with Sitecore 10, and using the GraphQL search query, but I got this error after deploying to Sitecore: ERROR Error: GraphQL error: Query is too complex to execute. The field with the ...
2
votes
2answers
60 views

How to use rendering parameters in shared component using Sitecore JSS

I am using Sitecore 10 with Angular app JSS, I created shared component "Header" like that: I have a rendering parameters background field, I need to add it in yml files of pages to be ...
0
votes
1answer
62 views

Sitecore headless with React frontend - JSS or SC 10? [closed]

We would like to gradually migrate our current Sitecore 9.2 MVC site to a headless architecture. For the frontend we would like to use React. Considering that Sitecore 10.1 just released with ...
1
vote
1answer
81 views

Raw HTML in a Multiline text field in Sitecore 9.3

I created a new field in a template, it is a Multi-Line Text(name html field). I created a component and added on the page. I go to experience editor. click on the component to edit it. The html ...
0
votes
2answers
50 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-...
2
votes
1answer
65 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 ...
2
votes
4answers
241 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 ...
0
votes
1answer
80 views

A potentially dangerous Request.Path value was detected from the client (:) [closed]

I followed the steps on https://jss.sitecore.com/docs/client-frameworks/getting-started/app-deployment to get my local starter app connected to my local sitecore install. In the nextjs app it works ...
1
vote
0answers
72 views

JSS app deployment issue - imports are disabled on the SXA JSS sites

On JSS deploy getting error:TypeError: Cannot read property 'forEach' of undefined In the Sitecore log, the error mentioned is: "Import requested wipe import on 'jsssitename' but wipe imports ...
2
votes
1answer
35 views

The arabic version not deployed to Sitecore from JSS App

I am using Sitecore 10 with JSS and my app is built in Angular. After deploying the app to Sitecore I found that the Arabic version of the pages is not deployed to Sitecore, while the English version ...
1
vote
0answers
18 views

Asp.Net Model binding is not working for any node that is under “placeholders” using Sitecore ASP.NET Rendering SDK

I am following this https://doc.sitecore.com/developers/100/developer-tools/en/model-binding.html to bind my custom model for complex json response from my LayoutService API. The properties and fields ...
3
votes
1answer
32 views

Adding a list of objects to Context Data returned by Layout Service

I was working on a project that needed some data passed on through the context. Logic was implemented based on https://jss.sitecore.com/docs/techniques/extending-layout-service/layoutservice-extending-...
0
votes
0answers
27 views

Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: document is not defined

I am using sitcore 10 with JSS and after deploying my angular app to sitecore, i got this error when trying to open the home page in experience editor. Error Rendering Sitecore.JavaScriptServices....
3
votes
1answer
50 views

How to get ContentBlockModel/Component Model from PageModel directly using asp.net core rendering sdk

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 ...
1
vote
1answer
51 views

Relative item path in layout service call is not working

I am trying to access Sitecore 10.1 item via layout services and it is working fine with GUID and full path. But when I am trying to access it via a relative path from the current app, it is not ...
1
vote
0answers
55 views

Error deserializing import data when run “jss deploy app --includeContent”

I am using Sitecore 10 with JSS. When I tried to deploy my app to Sitecore I got the below error Sitecore has accepted import task JSSImport-atlp-informational-web-1:17:10 PM Job started: JSSImport-...
0
votes
1answer
58 views

How to identify contacts using Reactjs

I have LoginComponent in ReactJs with username and password. How can I store the logged in user details in xDB through ReactJs ? In case if I am creating an webapi to store the details using Sitecore....
1
vote
0answers
37 views

Sitecore Virtual login and accessing userProfile.context during layout service execution

we are working on custom personlization rules with user data available outside sitecore. App is developed in jss in ssr mode. With sitecore login setting up virtual user context when user logged in to ...
1
vote
0answers
50 views

JSS disconnected mode. Not able to add my first component into the “jss-main” place holder

Node JS version: v14.15.3, JSS Version: 15.0.1, Mode: Disconnected, Issue: Not able to add my first component into the “jss-main” place holder Following are the steps:- I have created a JSS ...
0
votes
1answer
115 views

JSS + Sitecore Forms: “unable to verify the first certificate”

New to JSS. Trying to use Sitecore Forms + JSS for the first time, I followed JSS documentation, creating a form in Sitecore; when I run jss deploy component Form --allowedplaceholders jss-main, I get ...
0
votes
0answers
21 views

How to preload Vue async component with Sitecore JSS?

We are using Vue with Sitecore JSS and trying to do code splitting following the example for React (https://kamsar.net/index.php/2018/08/Code-splitting-with-Sitecore-JSS-React/) to improve our initial ...
0
votes
0answers
42 views

Error Rendering: Empty strings are not allowed. Parameter name: id

Running our Sitecore JSS site regularly produces following (cryptic) error: Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Empty strings are not allowed. ...
2
votes
2answers
101 views

JSS: Azure deployment

In our case, both test and prod environments are Azure app services. So currently when we deploy to test: I replace the layoutServiceHost and deployUrl in scjssconfig.json to be the address of QA ...
0
votes
0answers
46 views

Removing width and height attributes using JSS <Image/>

I was wondering whether there is a way to suppress rendering the width and height attributes when using the Image component from @sitecore-jss/sitecore-jss-react? Or under the hood, it basically uses ...
0
votes
0answers
22 views

How to reset a sitecore-jss form after the thank you message screen appears

Am using sitecore jss forms for creating a form and with the use of sitecore forms extensions package i was able to redirect the user to thank you page after the save data. The problem in here is ...
2
votes
1answer
48 views

How to POST data to JSS Route

I am using Sitecore JSS in integrated mode. I have below scenario and need help to achieve it. When user will login to the web site, he can be part of one or more groups. After login user will see the ...
3
votes
2answers
89 views

Sitecore form save data action only creates one form entry for multiple submissions

We have a form on our JSS site's home page. When submitted, it uses sitecore's built in "Save data" action. However, it looks like when you submit the form multiple times, all rows in the ...

1
2 3 4 5
9