Microsoft Word Template - Repeating rows - Forum - Rollbase - Progress Community

Microsoft Word Template - Repeating rows

 Forum

Microsoft Word Template - Repeating rows

This question is answered

I have a word template having a table with a header and repeating rows. I tried to create the template as shown in the user manual but the tables are being shown separately. How can I make sure header row is shown along with the repeating rows?

Here is how it's being shown in the word document: 

Sl No

Product

Price

Quantity

 

1

Priduct 1

$ 5,555.00

1,00

1

Priduct 2

$ 120.00

1,00

The template is as below:

Sl No

Product

Price

Quantity

{!#LOOP_BEGIN.R371612903#4C5DjzFaQ1qyRE15hfNBaw}

1

{!R371612903.product_r}

{!R371612903.unit_price}

{!R371612903.quantity}

{!#LOOP_END.R371612903}

 

Appreciate if you could share me a working template with a similar scenario.

Thanks

Verified Answer
  • Hi mnashi,

    I have attached my XML APP for your analysis.

    What I did:

    - Reduced the height and font of  LOOP_BEGIN AND LOOP_END rows

    - Removed the bottom border from the header and the top border from the LOOP_BEGIN

    - Removed the top border from LOOP_END and bottom border from the item row

    I.e 

    Word Template Testing_v1.xml

All Replies
  • Hi mnashi,
     
    Sample template is defined below. This will also give one Empty row at beginning and at end of the actual data.
     
    Logged defect for getting empty rows at beginning and at end of the actual data.
     

    Sl No

    Product

    Price

    Quantity

    {!#LOOP_BEGIN.R371612903#4C5DjzFaQ1qyRE15hfNBaw}

    1

    {!R371612903.product_r}

    {!R371612903.unit_price}

    {!R371612903.quantity}

    {!#LOOP_END.R371612903}

     
     
    Thanks,
    Rajkumar
     
  • Hi mnashi,

    I have attached my XML APP for your analysis.

    What I did:

    - Reduced the height and font of  LOOP_BEGIN AND LOOP_END rows

    - Removed the bottom border from the header and the top border from the LOOP_BEGIN

    - Removed the top border from LOOP_END and bottom border from the item row

    I.e 

    Word Template Testing_v1.xml