New answers tagged

0

There are a few things I found to fix the self signed certificate in certificate chain error. set NODE_TLS_REJECT_UNAUTHORIZED=0 npm config set strict-ssl false Also if you are behind a web proxy you can use the --proxy attribute so the jss cli can download the template from the sitecore git repo. jss create my-first-jss-app angular --proxy <proxy url ...


0

I assume that you are using the Code First Approach. In OOTB JSS, there are no attributes that allows you to specify the validation to use the Fatal Error. However, you can override the import process to have the field to use the fatal error. Extend your manifest data First, on the manifest definition, you need to add a new attribute. In my case, I named ...


1

Assuming you are using ReactJs, you can from your component implementation pass a value to the query. Please see below code snippet where part of it is taken from the ReactJs sample provided by JSS. import { loader as gqlLoader } from 'graphql.macro'; import GraphQLData from '../../lib/GraphQLData'; import { withSitecoreContext } from "@sitecore-jss/...


1

Looks like you have missed to follow the post-installation instructions of JSS. Make sure you add the following to your web.config (system.webServer/handlers section): <add verb="*" path="sitecorejss_media.ashx" type="Sitecore.JavaScriptServices.Media.MediaRequestHandler, Sitecore.JavaScriptServices.Media" name="Sitecore....


0

You should be able to do it. As far as I can see, it is working fine on the latest code. Two custom fields in on the route template: And they are visible in Experience Editor: UPDATE: It is also working fine with fields inherited from a base template. Take a look here:


Top 50 recent answers are included