New answers tagged layout-service
0
votes
How can I access the route node and iterate through placeholders from Layout service
To access the route node and iterate through placeholders from the Layout Service response in Sitecore 10.3 with SXA, you can patch a custom processor into the mvc.getXmlBasedLayoutDefinition or ...
2
votes
How can I access the route node and iterate through placeholders from Layout service
You can use the GetLayoutServiceContextArgs to get the the renderings related data from the context items. The code can be like below:
using System;
using Newtonsoft.Json;
using System.Collections....
0
votes
How can I access the route node and iterate through placeholders from Layout service
You can extend the Sitecore.LayoutService.ItemRendering.ContentsResolvers.RenderingContentsResolver class and use the ProcessItem method from the class to enable rendering item fields for advanced ...
1
vote
How can I access the route node and iterate through placeholders from Layout service
You can achieve it with the help of Custom Resolver. So you need to create custom resolver in your Sitcore instance and you need to assign it to your rendering.
Patch Configuration
<configuration ...
0
votes
How can I access the route node and iterate through placeholders from Layout service
You can read the layout json service json output and modify its output inside the ILayoutServiceResultFactory class, that returns the json from layout service.
Create the custom implementation for ...
Top 50 recent answers are included
Related Tags
layout-service × 51jss × 41
nextjs × 7
graphql × 6
sxa × 4
personalization × 3
xm-cloud × 3
sitecore-api × 2
rendering-host × 2
sitecore-client × 1
experience-editor × 1
sitecore-forms × 1
security × 1
pipelines × 1
login × 1
user-management × 1
tracking × 1
buckets × 1
user-profile × 1
sxa-search × 1
nuget × 1
seo × 1
cookies × 1
renderfield × 1
json × 1