< Back
Print

Merge Array Format Plugin

Intorduction

With the help of this format, any number of arrays can be merged. Please use the formatting to ensure that each line returns an array as a value. If a line returns a different value, it will be ignored / skipped.
The format also offers you the option of choosing between replace and merge. 

 

Configuration

You can add multiple rows, each row needs to return an array. The array can be build by a loop, set in an attribute in contentserv or be created manually with array operations. Each row can also be configured to overwrite a previouse row with the same key or if the value should be added.

Screenshot of the configuration of the Merge Array Format Plugin

 

Example

For this example images and files are exported in the same row, but we export a different image preset which is configured in the loop head. We can use the format to merge the two array results together.

Screenshot of the configuration for the Array Merge Format

Both loop head have a different export preset for the DAM-Files selected in the configured loop context, the PDF should get exported as the original file and the Images should get exported as PNGs (Preset ID 15)

Export:

Screenshot of the export with the merge array format plugin
Was this article helpful?
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Tags:
Table of Contents