Skip to main content

Questions tagged [layout-service]

Any question related to Sitecore LayoutServices can make use of this tag

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
137 views

Sitecore Virtual login and accessing userProfile.context during layout service execution

we are working on custom personlization rules with user data available outside sitecore. App is developed in jss in ssr mode. With sitecore login setting up virtual user context when user logged in to ...
Akanksha's user avatar
2 votes
0 answers
484 views

How do I get my SSR proxy to site resolve the LayoutService for my JSS/SXA Site?

We're on Sitecore 9.2, SXA 1.9, JSS 12. previously On 9.1, we had the following setup: JSS App sitting in /sitecore/content/myapp A site definition that mapped a hostName to our /myapp A JSS ...
Mark Cassidy's user avatar
  • 25.3k
1 vote
0 answers
65 views

Sitecore DropTree field render in JSS layout service API

I am using DropTree field and I selected the listing page Item. so now I want to see the selected item full path in the layout service API. Actually Layout Data "componentName": "...
Saiprasad's user avatar
1 vote
1 answer
463 views

How to add additional input parameter in Layout Service?

We are trying to use Sitecore Layout service to get Sitecore content in JSON format. Is it possible to add additional parameter which we can read and use to customize the Layout service output? Thanks ...
Jitendra Ghanekar's user avatar
1 vote
0 answers
139 views

Sitecore SXA JSON Layout. Why some datasources are not serialized?

I have Sitecore SXA website 9.2 + 1.9. I have a page that is built from partial designs. Partial designs contain many components. I want to get JSON layout. I open some page http://somewebsite/...
Anton's user avatar
  • 3,831
1 vote
0 answers
133 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 ...
Arvind Gehlot's user avatar
1 vote
0 answers
60 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 ...
Arvind Gehlot's user avatar
1 vote
0 answers
312 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 ...
Arvind Gehlot's user avatar
0 votes
0 answers
45 views

Layout service response contains standard values instead of expected rendering data

I have an issue where my layout service will intermittently return standard values such as $name. There are a number of complicating factors such as load balancers, CDN, multiple content delivery ...
Marcel Gruber's user avatar
0 votes
2 answers
456 views

How to customize Sitecore's Layout service api url?

The out of the box Sitecore layout service api seems to follow the format /sitecore/api/layout/render/<app>. If I wanted to use a url of the like of /api/layout-service, is it possible to ...
Durga Bose's user avatar
0 votes
1 answer
132 views

Sitecore Embedded Form - Form Id is not specified in Sitecore JSS

I'm trying to build the Embedded form on the website. So I have created a form on the Sitecore website and Sitecore API Key based on here browse load the HTML website faced the below error My HTML ...
Rameshkumar's user avatar
0 votes
1 answer
360 views

SEO Friendly, Bucket-less Item Path Resolver in Layout Service

TL;DR Has anyone been able to use seo-friendly, bucketless urls with the GraphQL Layout Service? Environment Sitecore 10.2 XM Headless 20 NextJS Rendering Host SXA 10.2 SPE 6.3 Background In ...
Chet Cheeto's user avatar
0 votes
1 answer
239 views

How To Get Template Id In JSONResult

I'm using Sitecore 10 and SXA. And I'm trying to add template-id to be returned in JSON Result Layout. I tried creating a new JSON Field under the rendering variant with field name value ('template' ...
Fatema elsayed's user avatar
0 votes
0 answers
105 views

Visitor identification for native mobile apps and Sitecore LayoutServices?

Currently, I am using Sitecore Layout Services to expose Sitecore content to Mobile Native applications. Whenever I am making a request to the Layout Service using Postman, My analytics cookie is ...
Arvind Gehlot's user avatar