When designing your templates, you can think about the content in your document as being either static or dynamic. Dynamic Content is information that will be displayed in your document that will come directly from your data source and will change with the different data sources that the template is used with.
Repeating Tables are a great way to display repeating content in your data source in a structured table format. These are often used when needing to display multiple columns of information for a single occurrence of repeating data point. In this section you can find all information related to working with repeating tables.
Currently there are 4 ways in which dynamic repeating rows can be created:
I. Create using Drag & Drop
A. Show all elements of the iterated node (future columns)
- Open your Data Source Pane
- Drag and drop an element from your Data Source to the work area.
2. Select Dynamic Table from the options that will appear when you release the element.
3. A table with two rows will appear on the screen, the first line will contain the column names.
The second row has in each column a field that represents the values from the data source.
B. Show some of the elements of the iterated node
A dynamic table can be created through drag and drop by selecting only the columns you wish to display. To do so, please follow these steps:
- Open the Data Source Pane
- Use the Control (Ctrl) key and left-click to select multiple items
- Drag them to the work area
- Select "Dynamic Table".
II. By using the Ribbon
A. From the "Insert Dynamic Table..." button
From the Insert tab, expand the Table drop-down list and select Insert Dynamic Table.
You will now be presented with the Insert Repeating Row Dialog. To begin, select the element in your data source that you wish for your table row to repeat for, and select Insert; In our case, we selected "cd"
Next, in the Insert Dynamic Table Dialog, choose the table formatting option you wish to apply when inserting the table. You should also notice, that the Columns Group will display available choices for including columns in your table. These choices are taken directly from the information present in each "cd" element.
III. Create by Conversion
Note: This method should be used on tables that contain no dynamic data, because otherwise you need to go through each dynamic field and adjust the path to make sure the content is relative to the repeated element that is currently being evaluated. More details on this in the documentation ("A Common Error").
- From the Insert tab, expand the Table drop-down list and select Insert table.
- After choosing the table style and structure, click Insert.
- After creating the table, type the name of the columns in the first row.
- Right click on the second row and from Convert to select Repeating row
- Choose the data you wish to repeat from the data source.
- The table should look like this
4. Drag and drop from the Data Source Schema the values you wish to display for each repeated node.
EDS Publisher also offers the ability to dynamically repeat a column:
1. After creating a table select the column you wish to repeat and select Repeating Column, select the data you wish to repeat.
2. Drag and drop the field you wish to have repeated.
1.In order to create a repeating row you will need to have included a Data Source.
2. You can also create a repeating rows and columns by clicking on the row/table and navigating to the Layout tab and from the Convert to dropdown selecting Repeating Row/Repeating Column.