Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module.

Filter by
Sorted by
Tagged with
0
votes
2answers
28 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
0answers
26 views

Create new content missing when adding a component in experience editor

I'm using Sitecore 9.3 with JSS 13. When I try to use the add here and select one of my components I get the Select the associated Content dialog box. This box is missing the create new content ...
1
vote
1answer
46 views

Duplicate data source items when selecting an existing content item

Sitecore version: 9.2 We see duplicates while editing the JSS page in the experience editor. Steps to replicate: Add Component -->Select Rendering-->Select an existing content item
1
vote
1answer
17 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 ...
3
votes
0answers
53 views

Sitecore JSS integrated mode performance tuning

I hope you all are doing well and safe. Today I am here to ask a question specific to Sitecore JSS performance. Category - Sitecore JSS integrated mode, performance issue Sitecore Version - 9.2, ...
0
votes
0answers
18 views

Page fluctuate twice after implementing Server Side Rendering | SSR

After implementing SSR in JSS sitecore, when we load any page it will fluctuate twice, I think first client side page get loaded with some distorted html content and after that server side html get ...
0
votes
0answers
28 views

Sitecore JSS - How to implement compatible renderings?

We have used sitecore jss with reactjs, angular and svelte. We have want to implement compatible renderings in one of our components like the CTA button that implements multiple styles. We've tried to ...
0
votes
0answers
13 views

Cookies in RenderView

We have the need to set contents of the cookie on the View of the page. How do we access the "Request/Response" object in the SSR method renderView?
2
votes
1answer
68 views

Error viewing JSS app: Item has already been added. Key in dictionary: 'PSMODULEPATH' Key being added: 'PSModulePath'

We are using Sitecore JSS running against Sitecore 9.2 in containers. The containers are built from https://github.com/Sitecore/docker-images with only minor changes (adding Unicorn, App Insights etc)....
1
vote
1answer
38 views

Datasource location overwritten at JSS deploy

The datasource location field of the renderings after deploying the items with JSS is by default : ./Page Components|/sitecore/content/tudorlocal/Components/ContentTest However, when adding a ...
0
votes
0answers
39 views

JSS Quick Start issue

When following the Quick Start tutorial with the commands below, I receive the attached error. Commands: npm install -g @sitecore-jss/sitecore-jss-cli jss create testtwo angular cd testtwo jss ...
0
votes
1answer
30 views

Are there any JSS deploy events to which I can tap my custom code?

Just looking if there are any events that are triggered while doing jss deploy?Similar to the other events item:copied packageinstall:ended ...etc
0
votes
1answer
43 views

SitecoreJSS deploy emptying field vales

Environment: Sitecore 9.0 update-1 SitecoreJSS 11.0.0 I created a sample SitecoreJSS app (using Angular), and created a new JSS component using jss scaffold <NewcomponentName>. I want to add ...
1
vote
0answers
21 views

Front end implementation if my resolver has nothing to display

Version and Environment: Sitecore 9.1 + JSS(React) What I am doing: I have the requirement to handle the un-authenticated users if they try to access a page which is for authenticated users only. ...
0
votes
1answer
60 views

Edit frame with Sitecore JSS

I am using Sitecore 9.2 with JSS and code first approach. I have one component which has datasource, datasource is pointing to folder and folder has some child items. I am getting data using GraphQL, ...
0
votes
1answer
39 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 ...
0
votes
0answers
37 views

JSS Page load issue

I have one website which is in Sitecore 9.2 and JSS. This website already deployed on the QA environment but the issue is that when I load the website the first time it displays some text after that ...
2
votes
1answer
76 views

Setting up a basic contact form with Sitecore JSS (not using Sitecore Forms)

I'm building a JSS App and need to set up a basic contact form (sends an email). Since I'm using Sitecore 9.1, Sitecore Forms is unavailable in JSS. How do I set up an endpoint in Sitecore to send ...
0
votes
1answer
42 views

Sitecore JSS placeholder issue on Route

I am trying to create a new route using Sitecore 9.2 JSS. Below steps I have followed: I have created a new Route i.e. Product. Then I have created two new placeholders jss-header and jss-footer. (...
0
votes
0answers
37 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 ...
0
votes
0answers
42 views

Multilingual implementation Angular JSS in disconnected mode

As per documentation in https://jss.sitecore.com/docs/techniques/content-translation it seems there is a possibility to run multiple languages in disconnected mode. But currently, when we do JSS start ...
1
vote
0answers
57 views

Sitecore Paas installation failure - AppGallery Deploy Failed: The declared parameter 'Application Path' is not recognized

We are trying to create Sitecore 9.2 instance in azure PaaS using ARM templates. The ARM templates worked fine. Now we have modified the ARM templates to install the JSS module with Sitecore while ...
1
vote
0answers
86 views

Experience Editor - An error occurred. [Log message: Value cannot be null. Parameter name: source]

I have a new Sitecore 9 vanilla install. I created a JSS site and entered the connected mode. Immediately I'm getting an error in the Experience Editor. On-screen I see: An error occurred. [Log ...
3
votes
1answer
134 views

Cannot query field \“search\” on type \“Query\”

My question is based on already asked question and can be found here Sitecore Filtering by Field Value on Query of GraphQL This question is marked as answered by @jan-bluemink but I am facing the ...
0
votes
0answers
19 views

How to make Material UI components editable in Sitecore JSS React App?

Since I am using Material UI in my Sitecore JSS app, I wanted to know how can I make Material UI components to make it editable for experience editor? For example: How to make the below Material UI ...
0
votes
0answers
30 views

Rendering Null Datasource In JSS Site

Some of my JSS components are throwing errors when trying to insert and edit them in the experience editor. Most of the errors come from the fact that the datasource hasn't been set yet. In MVC, I ...
0
votes
1answer
60 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 ...
0
votes
0answers
47 views

SItecore JSS + ReactJS + Material UI

I have a Sitecore JSS React app setup and using Material UI as the UI framework for styling and React components. I want to know how to get the Sitecore field value in a material-ui component OR if ...
0
votes
0answers
64 views

XP sample react app create failed using npm “jss create react-app react”

i am new to npm environments and sorry for english. When i try to setup a JSS server like mentioned here https://jss.sitecore.com/docs/getting-started/quick-start. Details: Sitecore version : 9.3, ...
0
votes
1answer
51 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
1answer
165 views

Integrated GraphQL is not working correctly with JSS with SXA

I've been struggling for a few days to get JSS Integrated GraphQL running on an existing SXA project. To rule out any issues being introduced by this project, I decided to go right back to square one, ...
3
votes
2answers
129 views

Integrated GraphQL is not executed in Experience Editor

We use Sitecore 9.2, SXA 1.9 + JSS 12.0. As for the JSS, we are using Sitecore First approach. Some JSON renderings have integrated GraphQL queries. The Jss site was created trough JSS Tenant/JSS ...
0
votes
2answers
58 views

Get items from specific template from sitecore content tree in JSS

I am creating a left navigation component in sitecoreJSS (using Angular), for this I need to retrieve complete tree under specific node, and I created a left navigation template and inherited this ...
0
votes
1answer
68 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
90 views

Unable to use Sitecore Forms with JSS

I have followed the Sitecore Forms + JSS integration official documentation here: https://jss.sitecore.com/docs/techniques/forms#sitecore-forms--jss . But I am unable to find the Sitecore Forms ...
2
votes
0answers
66 views

Images are broken on Safari Browser [closed]

I'm using Sitecore 9.1, JSS and ReactJS. Some of the images are not showing on Safari but working fine on Chrome. Here's a sample url: /-/media/Intelligence-Bank/Folder/Folder/Logo/Logo.png?h=422&...
1
vote
0answers
39 views

No application configuration file found

We have deployed our Sitecore JSS Application to the CM and CD Server (Azure VM). The site is up and running but some js and css files in root/dist/$name folder are throwing 500 Internal Server Error. ...
4
votes
2answers
92 views

JSS layout service, how to restrict public access

I want to secure my Sitecore JSS LayoutService in such a way that only the client application (i.e. react app) can access my LayoutService API. Please note, I am not taking about the login/logout ...
2
votes
0answers
127 views

jss build does not change hash on files when outputHashing is set to all

We are now going to production and are noticing the jss build and jss deploy files are not updating the hash on the file names when the content changes. This is causing cache busting to not work and ...
2
votes
0answers
44 views

Method not found: 'Sitecore.JavaScriptServices.ViewEngine.Pipelines.GetRenderEngineFactory.GetRenderEngineFactoryArgs.get_RenderEngineType()

I am working on Sitecore JSS and created a sample application. When I am trying access with the new hostname, configured in the app patch file, I got below error. 35472 12:00:27 ERROR Failed to ...
1
vote
1answer
97 views

Could not load file or assembly 'System.Web.Helpers…` when loading JavaScript files [closed]

We have deployed Sitecore 9.2 with JSS on a production environment and when accessing page, page gets loaded but in the network tab, we see none of the js file gets loaded. it throws 500 error. When ...
1
vote
0answers
41 views

Analytics ID has been flagged as robot traffic even when AutoDetectBots is set to false for Layout Service call?

I am using Layout Services API call to get data from Sitecore. Layout Service API is working fine and I am getting a response back in json format. My xDB is enabled and working fine for other ...
0
votes
1answer
161 views

Performance Issue JSS+React

I'm having a performance issue, the loading speed is quite long. I also noticed that when I first load the page, there is some plain text showing while loading before the page completely loaded and ...
1
vote
0answers
54 views

Accessing an Image SRC from code

I'm working on a Sitecore JSS site, Angular framework, disconnected mode. I'm trying to access the SRC attribute of an image field in my components ngOnInit method. Stepping through the code, it ...
1
vote
0answers
26 views

Getting 404 not found error with Sitecore.HabitatHome.Omni on http://habitatfitness.dev.local/sitecore/api/habitatfitness/sports/facet?sc_apikey={key}

I was doing some research on Sitecore.HabitatHome.Omni. It is working fine at my local instance but getting an error while setting up personalization. I got a 404 status code while submitting the form ...
1
vote
0answers
72 views

Personalization is not working in Layout Service call?

I only installed Sitecore JavaScript Services Server for Sitecore 9.1.1 XP 11.1.0 rev. 190508.zip to check Layout Services and nothing else. My jss layout service is absolutely working fine with url ...
2
votes
1answer
92 views

While opening the jss app item in experience editor getting Error: EPERM: operation not permitted, lstat

Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: EPERM: operation not permitted, lstat 'D:\sitecore' Error: EPERM: operation not permitted, lstat 'D:\...
0
votes
0answers
76 views

Push notifications in Sitecore 9.2 and JSS

I'm using sitecore 9.2 with JSS and Azure search. I am searching for an out of the box way to push notifications to sitecore users. I found this link talking about notification center but I think it'...
0
votes
0answers
28 views

HTTP Error 500.0 - Could not find type 'GeoIP.GeoIPInformation.ExampleContextExtension,GeoIP'

I'm getting HTTP Error 500.0 - Could not find type 'GeoIP.GeoIPInformation.ExampleContextExtension,GeoIP' for below piece of code and patch file. can anyone help on this please. Code: namespace ...
0
votes
2answers
108 views

How tracking works for Layout service used for Mobile apps (API-Only Mode)?

I'm new to JSS, I need to use JSS Layout service to send personalized content to a Mobile App(API-Only Mode). From Jss Documentation Via Layout Service Layout Service requests are tracked on ...

1
2 3 4 5 6