Best Manufacturer Awards

Streamline your document creation process with Carbone

Download Template

Download data sample

  • Template type document docx simple
  • Carbone min. v4.0.0+
  • Features loop nested array
  • Target award management result custom

Objectives

Generate an award with the following features:

  • display a table,
  • display a nested table

Solution

Here’s how to construct a template to achieve this with Carbone:

  1. Layout

    Create a main table to structure the elements in your template.

    Notes: In the Table properties> Table tab, set the Text wrapping to None. In the Row tab, uncheck Allow row to break across pages to ensure consistency

  2. Data

    Insert the appropriate Carbone tag to read data from your array (e.g.,{d.manufacturers[i].name}).

    Define the iteration [i+1] in row below to generate a row for each key (e.g., {d.manufacturers[i+1]})

    Note: Highlight the first row of your main table, right click, go to Table properties > Row, and select the option Repeat as header row at the top of each page to ensure it appears as a header on every page.

  3. Nested array

    Insert a Table within a cell to display a nested array.

    Insert the appropriate Carbone tag to read data from your nested array (e.g.,{d.manufacturers[i].models[i].name}).

    Define the iteration [i+1] in row below to generate a row for each key (e.g., {d.manufacturers[i].models[i+1]})

    Note: Remove all borders from the nested table in Table Design to ensure better integration

And there you go!

You might also like

Trusted by 600+ paid customers in 40+ countries

Finance
Healthcare
Public
Retail
Industries
Energy
Software
Telecom
1dior.png
22thales.png
23younited.png
2danfoss.png
3cma-cgm.png
3illumina.svg
4KparK.png
6scalingo.png
7defense.png
8bmw.png
8telus.png
bestseller.png
flagship_bioscience.png
insly.png
ninox.png
sodexo.png