The question may be very basic, but for better understanding about JSS i am asking this. The question is, can we use JSS for existing site created with traditional Sitecore MVC? Because I am not getting component's data source as JS object in Layout service API response.
0
-
Which version of Sitecore are you using? – Peter Procházka Sep 18 '18 at 12:10
-
Sitecore 9 update 2 – Prabhu Ranganathan Sep 18 '18 at 12:12
-
Do you have a licence that includes JSS? Also have you installed the JSS Server Package? this is required for JSS to work. dev.sitecore.net/Downloads/Sitecore_JavaScript_Services/… – Adam Seabridge Sep 18 '18 at 12:34
-
Yes I have developer license and it has included JSS and I have installed JSS server package. When querying Layout service API [mysite/sitecore/api/layout/render/jss?item=/&sc_apikey={276C5C1B-1D2E-4C2C-BA1E-A5C992D5225D}], i am not getting MVC rendering in response. – Prabhu Ranganathan Sep 18 '18 at 12:45
-1
I figured out what the issue was. In the end we had to include the rendering's placeholders in Layout Service placeholder list of my the Layout to get that in Layout service API response.
-
Update your question with these information. This is not answer – Peter Procházka Sep 18 '18 at 14:56
-
I believe this is the answer, it's just not phrased / presented clearly. – Adam Weber Sep 18 '18 at 15:56
-