Widget Accessors

Introduction

If your Narrative needs to use more than one widget (the main widget of the Narrative), it is required to define which widget is needed in the Layout Block parameter “accessor”. This definition is always done with a Widget Variable.

You can find a concrete example with Widget Accessors here: Narrative Variables - A Concrete Example

Widget

Widget Accessors consists always of selecting a widget to define what is the source of the dynamic data you want to integrate.

Then the following parameters can be defined (optional):

Parameters

(optional) you can add parameters to the widget you want to access as data source for this layout block.

The parameters can themselves be defined as Narrative Templates. In the example, to define the products next to the banner to match the target of the banner, a Narrative Variable of the type Mapping Variable has been defined (as in the filters parameter of the screen-shot below)

hitCount

Type the number of hits you want this widget to return

filters

Type the filter to apply on the widget (e.g.: ‘products_color=red|products_active=true’) You can also use a Dynamic Variable here.