Skip to content

Instantly share code, notes, and snippets.

@parrya
Created October 22, 2021 03:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parrya/e1a5f146e55dd75446018e478178b351 to your computer and use it in GitHub Desktop.
Save parrya/e1a5f146e55dd75446018e478178b351 to your computer and use it in GitHub Desktop.
Patch layout service to extend Item Context
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<pipelines>
<group groupName="layoutService">
<pipelines>
<getLayoutServiceContext>
<processor type="JSSDemo.Feature.Metadata.PipelineProcessors.ItemContext, JSSDemo.Feature.Metadata" />
</getLayoutServiceContext>
</pipelines>
</group>
</pipelines>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment