Posts

Showing posts from 2019
Image
How to Implement Custom Rendering Resolver for extending the Layout service in Sitecore  JSS Although Sitecore JSS allows you to configure a Rendering Contents Resolver on each rendering, which determines how a rendering and its associated data are serialized. Rendering Contents Resolvers are configured in /sitecore/system/Modules/Layout Service/Rendering Contents Resolvers ,  we might sometimes need some custom data in Layout service which is more relevant to the need of product. so in that case we have to write our custom Rendering Resolver in Sitecore , here we will discuss about that.   By default, Sitecore JSS provides below listed resolver : Datasource Resolver - The default behavior, serializes the rendering's datasource item Datasource Item Children Resolver - Serializes the children of the datasource item Context Item Resolver - Serializes the context item instead of the datasource item Context Item Children Resolver - Serializes the children of the con