Questions tagged [jss]
For questions about the Sitecore JavaScriptServices module.
0
votes
0answers
9 views
Unexpected response from import service: Error: getaddrinfo ENOTFOUND http http:80
I am getting following error
Unexpected response from import service: Error: getaddrinfo ENOTFOUND http http:80
"while running this command "
jss deploy app --includeContent --includeDictionary"
...
0
votes
1answer
8 views
Newly created JSS react app does not start and show blank page
The newly created JSS react app does not start. It shows completely blank page and shows error in the console while accessing the public URL i.e. http://jssreactweb/, Using fresh install of Sitecore 9....
0
votes
1answer
16 views
ModuleNotFound error throws when deploying files
ModuleNotFound exception throws when deploying css file.
I have started to explore Sitecore-Jss and deployed sample app in the sitecore and it works fine. I just added a new css file (test.css) under ...
0
votes
1answer
27 views
How to get app name for jss dictionary
How to get app name for jss dictionary, for request /sitecore/api/jss/dictionary///. Neither throws 404 error if not using sc_apikey or Unknown app name?
-1
votes
0answers
24 views
Instance to Tracker object doesn't exist
Tracker.Current.Contact.IsNew || Tracker.Current.Contact.Identifiers.Count == 0;
[NullReferenceException: Object reference not set to an instance of an object.]
Reply.Foundation.Accounts....
-1
votes
0answers
23 views
Personalization not working as expected [on hold]
Personalization works fine in Presentation tab/Preview option, but in Experience Editor or after publishing to web database in real site nothing happening. What could be the problem ?
0
votes
1answer
15 views
Error on typings using JSS Text with Typescript
I'm getting an error on the fields property when using Typescript from this tutorial
class Profile extends React.Component<Props, State> {
constructor(props: any){
super(props);
}
...
0
votes
1answer
28 views
Sitecore JSS Custom RenderingContentresolver help
We are using JSS for one of our clients. We have a requirement to fetch child items upto n level.So we built a custom rendering content resolver for it. It's working well in connected mode.
Now if we ...
0
votes
2answers
50 views
Why don't nested components show in the output of the JSS Layout Service?
Using the OTB sitecore installation, I wanted to JSS'ify the home node for testing purposes.
By default this is setup with the following presentation details:
The steps I followed were to:
Update ...
1
vote
1answer
80 views
0
votes
0answers
45 views
How to create an “articles” section of my site?
I'm building out a site using JSS and Sitecore 9.0. I want a section of my site for articles -- such as /articles/article-slug and I'm not sure the right way to approach it.
Articles are also ...
3
votes
1answer
74 views
What’s the best practice to Expose Sitecore 9 APIs for Mobile Apps Development? [closed]
Currently, I am looking Sitecore CMS solution for native mobile app development.
Mobile App Team is using Swift for IOS and Java for Android.
So we have a limitation to use JSS react native for ...
0
votes
1answer
52 views
Sitecore Filtering by Field Value on Query of GraphQL
I am currently working on trying out the Sitecore GraphQL Query where I just get all the items of a specific location in the Sitecore Tree. However, I may need to filter the item results based on a ...
0
votes
1answer
37 views
SXA datasource token is not working for Sitecore JSS rendering component
we are adding a JSS rendering component in SXA site. We have added the below query in JSS component data source location.
query:$site/*[@@name='Data']/*[@@templatename='Content Blocks Folder']
It ...
0
votes
1answer
54 views
Sitecore JSS CORS issue
In connected mode, when I try preview\browse a page in Sitecore, I'm getting the below CORS error. I've CORS setting as '*' in the API key.
Alternatively, I tried removing the CORS entry in API key ...
0
votes
1answer
47 views
Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Value cannot be null. Parameter name: address
I am using Sitecore 9.1. I can able to run my sample angular application in connected mode using the command ">jss start:connected".
But i cant able to open my site in local integrated mode , even in ...
-2
votes
0answers
18 views
Sitecore JSS federated authentication in CD
We need to implement Federated authentication ( Azure AD) in CD for Sitecore JSS application. The below reference pointer from JSS has all the steps to implement?
https://jss.sitecore.com/docs/...
0
votes
1answer
28 views
Sitecore JSS SSR issue : window not defined
We are using react as client framework for building a SPA. In disconnected mode it works well but then in integrated mode I see the below error when we browse the page or preview it.
Any clue as to ...
2
votes
3answers
89 views
Get Items from data source folder by JSS/React
I have this react component (rendering) which has a data source (a folder with items).
Is there any way to get those items and render their fields in react component?
In props was passed ...
1
vote
1answer
34 views
Unexpected response from import service: Error: unable to get local issuer certificate
I have version 9.0 update 2 and am working with the sample JSS app. I used the this same app on an earlier environment which was setup as Standalone and had no issues. This is a remote deploy to a ...
0
votes
2answers
45 views
Get items from rendering datasource in JSS
I have rendering that has been wrote in React and JSS. Sitecore displays rendering with static content. Is there any example how to get rendering datasource items and display Link fields from them ...
0
votes
1answer
36 views
Dictionary data structure issue
I would like to maintain my form labels in Dictionary and fetch through Dictionary Service in JSS. I would like to add the labels to a dictionary folder inside the Dictionary node in Sitecore.
When I ...
-1
votes
1answer
40 views
Sitecore cannot find placeholders for JSS
There is a problem. Sitecore site with JSS frontend. In experience editor everything is fine, but in normal mode pop up mistake: Placeholder 'header' was not found in the current rendering data, ...
1
vote
1answer
51 views
Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Failed to start Node process
getting the below error at Experience editor for Home item.
Error Rendering Sitecore.JavaScriptServices.ViewEngine.Presentation.JsLayoutRenderer: Failed to start Node process. To resolve this: [1] ...
0
votes
2answers
29 views
Why does 'jss build' with Vue and Typescript miss out our components in the compiled output?
We're setting up some Vue components so that they are defined to use Typescript via the lang attribute on the script tag: <script lang="ts">.
When running jss start:connected this all behaves ...
4
votes
1answer
86 views
How would you best configure JSS to work with multiple Sitecore <sites>?
One of the key benefits I can see from moving to JSS is the way developers can work with the different tools. In particular the lure of Hot Module Replacement (HMR) adds such a lot of positives for ...
0
votes
1answer
26 views
Sitecore jss angular sample application having empty body
I have Sitecore 9.0 update -1 version and followed (https://jss.sitecore.com/docs/getting-started/jss-server-install) to setup JSS server.
After deploying angular sample app, Site ui has empty body ...
0
votes
1answer
40 views
Resolving dependencies using Unity for deploying sitecore jss app
We are using Unity for the dependency injection overriding the default behavior for the sitecore project. While deploying the jss app, I am getting below error.
The current type, Sitecore....
2
votes
2answers
48 views
best practice for fetching authoring fields in sitecore jss
Ours is a SPA app being built using Sitecore JSS. One of the pages has the requirement to show client info. But the actual client data comes from an API. But the content labels (like Description ,...
2
votes
1answer
32 views
How to share templates and renderings between multiple JSS apps?
I am exploring Sitecore JSS, and able to create new renderings, templates for my app.
Since we've to create all templates and renderings for the given App, wondering how can we create templates, and ...
0
votes
1answer
47 views
Import process fails : “Unexpected response from import service: Status message: Found”
I have Sitecore 9.0 update -1 version and followed (https://jss.sitecore.com/docs/getting-started/jss-server-install) to setup JSS server.
I cant able to deploy the app while running deploy command, ...
1
vote
1answer
52 views
Profiling Sitecore 9.1 JSS Server-Side-rendering node server
JSS site is running in integrated mode on Sitecore 9.1
I have problem with the SSR node process, it's hanging around 18 min on load tests and results in error 500 for site.
For blind solution I ...
1
vote
1answer
54 views
Get the Property of an item from a ReferenceField type in Sitecore JSS (react)
I am currently working on a Sitecore JSS in which I am using GraphQL to retrieve data in Sitecore.
I have field named ArticleTag in my context item which is a (Droptree)
Sitecore GraphQL query:
...
7
votes
1answer
153 views
Experience Editor Support in JSS (headless)?
We're using Sitecore 9 for a greenfield project. One of the topics of discussion is whether or not we want to use EE vs. Headless. I'm not going to ask the pros vs cons of using one over the other, I ...
1
vote
1answer
36 views
Sitecore 9.0 Update-1 JSS create sample app throw error : Error: connect ECONNREFUSED 192.X.X.117:443
I have Sitecore 9.0 update -1 version and followed (https://jss.sitecore.com/docs/getting-started/jss-server-install) to setup JSS server.
Finally I can test my component like below and its working.
...
1
vote
1answer
47 views
JSS Question about itemlink field type
For a fresh installed Vue-JSS application, we have some examples in the /Styleguide route. One of them is SharedItemLink.
From /data/routes/styleguide, we can see that sharedItemlink is a field of ...
4
votes
1answer
82 views
Update YAML Route Files as same as Connected mode, while working in Disconnected Mode
How can I update my YAML files for local disconnected mode development from Sitecore, as same as Connected mode. As We have a team who is working on Sitecore and another team is working on front-end ...
0
votes
0answers
73 views
Sitecore JSS deploy issue: Unexpected response from import status service
While trying to import a JSS app to my sitecore instance, I'm getting the below error:
No errors getting logged in Sitecore log file. How to debug further?
0
votes
1answer
38 views
Add new version of an item when deploying the content from JSS
We are developing the JSS application in SSR headless mode. There will be more than 10 developers working at a time, when going through the options to deploy the content from JSS to Sitecore we ...
1
vote
1answer
60 views
How to verify if Sitecore JSS is installed correctly
How do I verify if the JSS server package is installed correctly in sitecore?
I have installed "JSS Server package -
Sitecore JavaScript Services Server for Sitecore 9.0 11.0.0 rev. 181031" by ...
0
votes
2answers
168 views
Deploy JSS App on sitecore instance
While bulding JSS app i am getting an error.
Command : JSS Build
Error:
ERROR in Error during template compile of
'StyleguideAngularLazyLoadingModule'
Function calls are not ...
0
votes
1answer
77 views
Set the different Language from jss component
We are trying to implement the multilingual site in JSS. When user logged in we are showing a drop down to select the language and based on the selection we want to set the language. Question her is ...
1
vote
0answers
133 views
Memory leak in disconnected mode
I have a global footer referencing other items (yml files), which is referencing to the same footer, resulting in too big string to parse.
This wasn't a problem in TP4, but I noticed that I get a ...
0
votes
1answer
48 views
Replacement for Sitecore.Context.Database.Name in JSS?
is there any replacement for Sitecore.Context.Database.Name in JSS..?
just trying to know the list of conteproperties are ac
4
votes
1answer
78 views
Sitecore, JSS and GraphQL: licensing question
The question is pretty simple: can I use the GraphQL from JSS package without JSS license?
0
votes
1answer
73 views
How to remove 'route' object in Sitecore jss layout service api response?
When I get the data from http://{domain.name}/sitecore/api/layout/render/jss?item=/&sc_apikey=[api-key]
Then response is like {sitecore: {context:{something}, route:{something}}
But I don't want ...
2
votes
0answers
65 views
Tracking Page Events and Goals Does`t Work Correctly
I am working on a mobile application (Sitecore 9.1, JSS React Native) with a couple of pages. A page event is assigned to each of the mobile application pages.
I have enabled indexing anonymous ...
0
votes
1answer
46 views
invalid json response body - Headless SSR mode
Followed the steps in the below link to setup the headless SSR mode https://jss.sitecore.com/docs/techniques/ssr/headless-mode-ssr
but it the app never comes up and always received an error saying
...
-1
votes
1answer
81 views
Virtual Login in Sitecore 9.1 using JSS
We are implementing the JSS in headless SSR mode, we would like to know a way to virtually login to Sitecore from our JSS components. I mean the user authentication will happen with an external system ...
1
vote
1answer
103 views
Error when trying to scaffold an Angular component
With a fresh install of the jss cli and creating an Angular application jss create test-app angular when I try to generate a component I get the following error:
Component testComponent is ...