Questions tagged [jss]

For questions about the Sitecore JavaScriptServices module.

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

Sitecore form with Sitecore JSS Angular

I'm trying to implement sitecore forms in Sitecore JSS Angular app but I'm only able to view it's stringify version using "SitecoreForm" not the actual form since no package is available to install ...
0
votes
0answers
13 views

Angular JSS - References to Window Break In Experience Editor

I have a couple references to the window object in my Angular JSS component: @HostListener('window:resize', ['$event']) onResize(event) { if (window && typeof window !== 'undefined') {...
2
votes
1answer
21 views

Why is JSS rendering items of template Sample Item but not of any other template?

I installed Sitecore JavaScript Services Server for Sitecore 9.3 XP 13.0.0 rev. 190924 in a 9.3 instance. I then created an item under the Home item using the /sitecore/templates/Sample/Sample Item ...
0
votes
0answers
13 views

How to properly implement OpenGraph image (og:image) in JSS [closed]

I'm trying to ensure that my JSS site properly implements best practices for OpenGraph images while also taking into account the technicalities of JSS as well as Sitecore configurations in general. ...
0
votes
0answers
16 views

Consume sitecore jss data from a separate sitecore instance

I have a Sitecore 9.1 MVC implementation where I want to consume the layout service response from a different Sitecore endpoint as an rendering. I have gone through the ways mentioned in Sitecore ...
1
vote
1answer
61 views

Value cannot be null. Parameter name: element

After I input the command with the certificate jss deploy app --includeContent --includeDictionary --acceptCertificate ww:ww:11:.... Following error shows up.I'm using Sitecore 9.0.2 and doing the ...
0
votes
1answer
18 views

JSS Field naming convention

Will or should Sitecore automatically sanitize field names when serialising them as part of the layout service or do we need ensure we define fields in Sitecore using a consistent format? e.g. would "...
0
votes
1answer
37 views

Does front-end JSS trial includes Sitecore Experience platform?

It seems 60 day developer trial license is no longer available, and the only trial available is the front-end JSS trial. Does the front-end JSS trial includes Sitecore Experience platform? Can I run ...
0
votes
1answer
47 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. ...
1
vote
1answer
30 views

SitecoreJSS DateField is not able to format date coming from GraphQl query

I'm getting a Date from GraphQl query. When I get the result, it is coming as 20200415T123050Z. If I try to format using <DateField field={item.publishDate} render={(date) => date....
0
votes
0answers
28 views

JSS Import media file returns error that Media does not exist [SC JSS+Angular]

I created a custom template to be used in my content items and one of it's field is an Image field. Also, created a content item under "data/content" using that template and supplying the correct ...
0
votes
0answers
25 views

Get current system Date and Time using GraphQL (SitecoreJSS)

Is there way to get the current system date and time using GraphQL (on GraphQL UI)? Working on a requirement that I need to compare the Sitecore item expiration date(custom field) with the current ...
0
votes
1answer
31 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", value:"Page" }] ) { ...
0
votes
0answers
11 views

Can't call login-page from JSS app

I tried to follow this guide to login from the JSS-app, but I get an error when posting: Access to XMLHttpRequest at 'https://myApp/sitecore/api/ssc/auth/login?sc_apikey={APIKey}' from origin 'http://...
0
votes
0answers
21 views

Not able to edit text inline in button tags

I am using Sitecore 9.3 with JSS. I have created few components that have buttons. The button labels are editable in sitecore. The issue is when I edit those button labels inline, e.g, I need to add ...
0
votes
1answer
31 views

Do not create rendering for a template during jss deploy

I am using Sitecore 9.3 Instance with JSS. I need to create a component that consists of 2 templates - say - Template1.sitecore.js and Template2.sitecore.js and 1 rendering - RenderingName/index.js. ...
0
votes
0answers
32 views

Preferred method of populating rendering data with route / context item instead of datasource item

I have component that has no explicit datasource because I want it to get its field values from the route item (which also happens to be the Sitecore context item). What would be the preferred method ...
2
votes
1answer
92 views

How do you access JSS Dictionary values programmatically in C#?

We have a jss application that makes use of the JSS Dictionary to display values in the application. At the same time, we would like to re-use the same content labels in an email that is being sent ...
0
votes
1answer
45 views

Wildcards in Integrated Mode

I have a Sitecore site running: https://mysite.dev.local. The pages on this site have a JSS layout and JSON renderings on them. Navigation to a page (e.g. https://mysite.dev.local/foo/bar) would ...
0
votes
0answers
17 views

React owl.carousel $ not defined in preview but working in edit mode

I'm having an error right now with owl-carousel. I have it imported in some of my components in react jss and it is throwing error when I'm on Preview in Experience Editor but working perfectly when ...
0
votes
1answer
46 views

Error deploying my first jss app

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 ...
0
votes
0answers
29 views

Enforce 443 port added in the generated media url

In my local environment, I have 2 sitecore JSS sites running and I need to make both available over http. one with port 80 and one with port 443. Example: http://abc.com http://abc.com:443 I ...
0
votes
1answer
20 views

Unable to run jss build command on build server: 'jss' is not recognized as an internal or external command operable program or batch file

On my TeamCity build server I am attempting to run the jss build command in one of the build steps, but it fails with the error: 'jss' is not recognized as an internal or external command operable ...
0
votes
1answer
15 views

jss build command does nothing

I'm currently setting up the JSS CLI on my build server so that I can run continuous integration builds. I installed the CLI with the command: npm install -g @sitecore-jss/sitecore-jss-cli And it ...
0
votes
1answer
35 views

Set datasource to another item with sitecore jss

I am using JSS code first and want to create a component that has its datasource set to another item from which it pulls its data. Lets say i have a 'BlogPromotionSpot' component that does not have ...
0
votes
1answer
46 views

Message: Failed to start Node process. To resolve this:

We have Sitecore 9.1.1 - JSS instance at my local machine. While opening page in the experience editor we are getting below error message: Exception: System.InvalidOperationException Message: Failed ...
1
vote
2answers
126 views

Read values from a drop down list

New to SitecoreJSS and Angular. Using Sitecore 9.0.1 and SitecoreJSS 11.0 (Angular) Created field - "HeadingBackgroundColor" type Droplist with data source pointing to different folder (I can ...
0
votes
2answers
44 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
34 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
68 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
46 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 ...
4
votes
0answers
96 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
29 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
35 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
16 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
142 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
46 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 ...
1
vote
0answers
47 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
35 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
2answers
57 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
25 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
100 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
40 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
47 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
125 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
73 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
1answer
49 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
51 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
75 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
117 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 ...

1
2 3 4 5
7