Skip to main content

New answers tagged

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 ...
NIKITA VASHISHT's user avatar
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....
Debtanu Biswas's user avatar
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 ...
Sumit Bhatia's user avatar
  • 5,566
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 ...
Praveen Sharma's user avatar
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 ...
ckhanna's user avatar
  • 2,631

Top 50 recent answers are included