Skip to content

Instantly share code, notes, and snippets.

Last active October 22, 2021 03:46
What would you like to do?
Patch layout service renderJsonRendering
<configuration xmlns:patch="">
<group groupName="layoutService">
<!-- NOTE: This patch will be have a slightly different signature in Headless Services for Sitecore 9.x vs 10. The below works for Headless Services in Sitecore 10 -->
<processor type="JSSDemo.Foundation.LayoutService.PipelineProcessors.CustomInitialize, JSSDemo.Foundation.LayoutService" resolve="true"
patch:instead="*[@type='Sitecore.LayoutService.Presentation.Pipelines.RenderJsonRendering.Initialize, Sitecore.LayoutService']"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment