To Generate Dynamic Sections in Word
Hi All,
I have a requirement where I have to export the request to PDF.
So to achieve this I am using "DOCX from dynamic template" smart service.
Here I am facing 1 challenge, I have a Database table where I have data in below format(like grid),
|
Section Name |
Clause Text |
Amendment Number |
date |
|
Sec1 |
Text1 |
1 |
18-01-2023 |
|
Sec2 |
Text2 |
2 |
18-01-2023 |
But in word, I want the above data as separate sections, like below format
|
Sec1 |
|
|
Clause Text |
Text1 |
|
Amendment Number |
1 |
|
Date |
18-01-2023 |
|
Sec2 |
|
|
Clause Text |
Text2 |
|
Amendment Number |
2 |
|
Date |
18-01-2023 |
So please help me how to create dynamic sections based on the number of rows of data in word, I tried below one, but it is not working, throwing the error
