Previewing dynamic content templates
The content of dynamic content varies for each customer. To check for any customer or a product, follow the procedure.
- Go to
Communication > Dynamic Content >
Templates
- Select the folder which contains the template you want to see the preview of.
- Select the template.
- To check the preview of the dynamic content for a particular customer or a product, on the upper left corner, click the Preview button.
- Enter the ID of a customer or a product.
- Click Apply.
Exception
If you want to check the preview of an aggregate used in the dynamic content, follow the instruction in the Example section below.
EXAMPLE
The system generates the following aggregate jinjava code:
{% aggregate b9f04937-0778-35c7-bdb9-70398e199f6b %} {% endaggregate %}
To generate a preview the final version of the jinjava code is as follows:
{% aggregate b9f04937-0778-35c7-bdb9-70398e199f6b %} {{ aggregate_result[0] }} {% endaggregate %}