Pipelines
#
Get personalized renderingsThis pipeline is used to determine the personalized renderings associated with a Sitecore item.
#
Pipeline- Name:
getPersonalizedRenderings
- Base type for custom processors:
Uniform.Pipelines.GetPersonalizedRenderings.GetPersonalizedRenderingsProcessor, Uniform.Content.Sitecore
#
Pipeline args- Type:
Uniform.Pipelines.GetPersonalizedRenderings.GetPersonalizedRenderingsPipelineArgs, Uniform.Content.Sitecore
This type has the following properties:
Item
- Sitecore item whose personalized renderings are resolved.Renderings
- Collection of renderings with at least one personalization rule assigned.
#
Configurable processors#
GetRenderingsFromItemThis processor supports a property that determines how the processor resolves personalizaed renderings for the specified Sitecore item.
The default configuration is to use the presentation details assigned to the Sitecore item:
<getPersonalizedRenderings> <processor type="Uniform.Pipelines.GetPersonalizedRenderings.GetRenderingsFromItem, Uniform.Content.Sitecore"> <usePageDefinition>false</usePageDefinition> </processor></getPersonalizedRenderings>
The following configuration is to use the renderings from the
page definition (which is resolved by the pipeline mvc.buildPageDefinition
):
<getPersonalizedRenderings> <processor type="Uniform.Pipelines.GetPersonalizedRenderings.GetRenderingsFromItem, Uniform.Content.Sitecore"> <usePageDefinition>true</usePageDefinition> </processor></getPersonalizedRenderings>