I found the issue with help of several AIs that provided several ideas.
You need to Insert a Table into your Word Document Insert>Table
Put a header and in the second row put the tag provided by Pega. That way Pega finds how to add several records from the PageList in the provided table inside the Word Template.
It was hard to find that kind of information, should be added in the Shape Documentation.
I have encountered a similar situation before. In Pega, the general list of results is displayed either in a table or in a repeating grid. This also applies to document generation.
To ensure it works correctly, keep the JSP tag confined to a single column, as shown in image 1 in the document.
To remove the table border, click on the Design tab and select a white pen color. A pencil icon will appear; use this to click on the border lines, changing their color to white. This way, the borders won’t be visible to end users, as shown in image 2 in the document.
@SalvadorC94Hello, I’ve tried what u did but still wasnt successful
My records are in the mentioned page list
if u have any insights on where i might’ve gone wrong, I’d really appreciate it
@HemanthLU17498894
I didn’t try with several columns, but you could try replicating the template format where you have a table, then the first row has the headers of your table, the second row has the Pega Tag for insertion and you remove the next rows so you’ll end up with only two rows the header and the Pega Tag, you need to let Pega do the Insert Row in its process.