Questions tagged [jss-rendering-sdk]

It is a complete SDK for JavaScript developers that enables building full-fledged solutions using Sitecore and modern JavaScript UI libraries and frameworks. Any question around this can make use of this tag.

Filter by
Sorted by
Tagged with
1 vote
1 answer
42 views

"Writing generate-component-builder plugins" fails on JSS app build

There is a NextJS + React + JSS app. After upgrading to the latest JSS version (21.4.0 ATM) and installing Multisite plugin, the following error appeared on build: Writing generate-component-builder ...
Serhii Shushliapin's user avatar
0 votes
0 answers
35 views

Dynamic Screens in mobile APP using Sitecore CMS

Is it possible to control mobile screens/layout using Sitecore CMS? I have a requirement to modify the mobile screen based on data from Sitecore JSS. Using a configuration is also acceptable. Is it ...
Harikrishnan N's user avatar
0 votes
1 answer
37 views

JSS Placeholder Children

I'm developing a carousel using JSS. The items that would go into the carousel are well known (through the Placeholder Settings), but I am using a Placeholder to hold those items. I need to get the ...
Gary Williams's user avatar
1 vote
0 answers
111 views

Error occurred during POST to remote rendering host: `http://localhost:5000

I am facing an issue on CD server on production, the website is working fine, but there are a lot of errors in the logs that says: "[JSS] Error occurred during POST to remote rendering host: ...
Jose's user avatar
  • 31
1 vote
1 answer
240 views

Sitecore JSS deploy throws unexpected response from import status service

I am running into an error while I deploy the JSS application using the command jss deploy app -c -d Fresh vanilla Sitecore 10.2 XM Sitecore Headless Rendering 20.0.2 on top of it Node v18.16.0 npm ...
Jey's user avatar
  • 323
1 vote
2 answers
267 views

Sitecore JSS update content item

I have created a hello world JSS application with Angular + Rest application. I have deployed the application to my local sitecore 10.3. Later, i have created a new component and i am able to add the ...
Jey's user avatar
  • 323
0 votes
2 answers
142 views

Access layout service response sitecore.context object in Layout.JS file

In JSS react how to access the layout service response object sitecore.context in src/Layout.js. If you look at src/Layout.js file, In default we can access only sitecore.route fields but not sitecore....
Andi AR's user avatar
  • 723
1 vote
0 answers
23 views

Sitecore jss with ionic app [closed]

Has anyone tried sitecore jss app with ionic angular app or any other hybrid app which allows mobile and web deploys from same code.
Vrunda Shah's user avatar
2 votes
1 answer
642 views

A rendering error occurred: Cannot read properties of undefined (reading 'attributes')

I have Setup the JSS application with Sitecore 10.3. When I am adding the components on page level its working fine but when I added them on partial design they are appearing fine there in experience ...
Vishal Khera's user avatar
1 vote
1 answer
2k views

Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions' while installing Sitecore Headless Rendering [closed]

I have a Sitecore 10.2 local instance. When I tried to install Sitecore Headless Rendering 20.0.2 from Sitecore Headless Rendering, it gave an exception. Could not load file or assembly 'Microsoft....
Abhishek Malaviya's user avatar
1 vote
2 answers
247 views

Sitecore forms - Conditional logic not working with JSS app

Sitecore Forms field conditions are not working with JSS form package in Sitecore Version 10.2. Does it require custom implementation? My Code: import { Form } from '@sitecore-jss/sitecore-jss-react-...
Krithvik TRS's user avatar
0 votes
1 answer
511 views

ERROR [JSS] Error occurred during POST to remote rendering host: `http://localhost:3000/api/editing/render`

We are running Next.js JSS app using XM Cloud docker setup, our localhost:3000 site is loading, but when we are trying to run Experience Editor it is giving 2 erros. On First Try we are getting below ...
Mahesh Kumar's user avatar
0 votes
0 answers
168 views

JSS Nextjs Generate Static Pages for Multiple Languages

We have Sitecore 10.2 + JSS (NextJs) and we have 12 languages for every page. I know internationalization is implicitly marked as a "not supported" feature for next export command but is it ...
Alexander Kay's user avatar
0 votes
0 answers
62 views

ASP.NET Rendering SDK with CM on the IIS site is throwing 500 error

ASP.NET Rendering SDK with CM on the IIS site is throwing 500 error and no custom code, it is plain vanilla empty site with style guide comes with SDK install. We are NOT using docker. Sitecore 10.3 ...
SNew's user avatar
  • 151
1 vote
1 answer
311 views

Sitecore JavaScript Rendering SDK (JSS) for Next.js. TypeError: Cannot destructure property 'datasource' of 'props.fields.data' as it is undefined

Issue: TypeError: Cannot destructure property 'datasource' of 'props.fields.data' as it is undefined. Sitecore Experience Platform 10.2 (Sitecore Installation Framework (SIF) PowerShell module) ...
Steve's user avatar
  • 11
0 votes
2 answers
144 views

Can props.fields ever be null in a Rendering Component?

I'm creating custom types for components in TypeScript (with strict null checks enabled) and I want to confirm if it makes sense to be doing null checks on props.fields, eg.: if (!props.fields) { ...
Marcel Gruber's user avatar
1 vote
1 answer
529 views

Allow CORS request from CM to Rendering host

Related to Missing fonts when previewing Next.js app in Experience Editor. I've got the Rendering container with SITECORE_API_HOST set to CD. In CM Experience Editor I see some CORS errors caused by ...
Serhii Shushliapin's user avatar
2 votes
1 answer
447 views

How could we apply Hybrid (SSG and SSR) rendering with Sitecore Nextjs

How could we apply Hybrid (SSG and SSR) rendering in a single Sitecore Nextjs application? We tried this article: https://github.com/Sitecore/jss/tree/release/18.0.0/samples/nextjs/src/pages https://...
Vision's user avatar
  • 21
0 votes
1 answer
74 views

Alternative way of calling Layout API from .Net core App

In Sitecore 10.2 (Using .Net Core rendering SDK), is there any altervative way to call Layout API apart from below example. public class DefaultController : Controller { [...
Sushil Pal's user avatar
0 votes
1 answer
94 views

Sitecore JSS is logging complete Layout data on node Proxy

Our log data on proxy server is increasing because Sitecore JSS is logging complete layout service data in logs, we want to know if there is a way to stop logging.
Mohd Kashif's user avatar
0 votes
3 answers
699 views

Sitecore jss 20.0.3 install error: Unexpected token '.'

I am on the latest version of node (18.7.0), all I am doing is trying to install a test Sitecore jss app. But the first step itself is giving me this error. Is there any version compatibility I should ...
Durga Bose's user avatar
0 votes
1 answer
147 views

Visual Studio Project purpose & templates for ASP.NET Rendering SDK application

This is how the Helix example is structured and I'm trying to understand it. The *.rendering in the Project layer looks like an ASP.NET Core template but the *.rendering projects in the Feature layer ...
sukesh's user avatar
  • 3,053
1 vote
1 answer
260 views

Aspcore Rendering SDK - Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Unexpected character encountered while parsing value:

We have created a solution based on template sitecore.aspnet.gettingstarted for Sitecore ASP Net Core Rendering SDK headless. Pushed all the Sitecore items available in this solution successfully and ...
Jitendra's user avatar
  • 1,028
6 votes
1 answer
491 views

Current project does not support file deployment into Sitecore instance

I've created a sample nextjs app using jss cli, but when I try to deploy it using: jss deploy app it deploys items successfully, but not files and throws the message below: The current project does ...
Alexander's user avatar
  • 1,273