Skip to main content
New Participant
March 8, 2022
Question

Repeat-Sections (a page) and Nested Lists within Lists

  • March 8, 2022
  • 0 replies
  • 509 views

Hi,

 

I have a document generation issue.  I'm using MS Word and the document generation add-on to build / test document automation.  I'm seeing a use-case that is not working for me.  It is  best outlined w/ this json:

{
    "records": [
        {
            "bullet": "a record containing the names..."
        },
        {
            "bullet": "a record containing the particulars...",
            "subbullets": [
                {
                    "subbullet": "the names of the persons who performed them"
                },
                {
                    "subbullet": "the dates they were undertaken"
                },
                {
                    "subbullet": "in the case of modification"
                },
                {
                    "subbullet": "if applicable"
                }
            ]
        },
        {
            "bullet": "the company of a remotely..."
        }
    ]
}

 

The Word Document has this text / markup

These do work as independent sections:

{% repeating-section records %}
•	bullet: {{bullet}}
{% end-section %}


{% repeating-section records.subbullets %}
•	bullet: {{subbullet}}
{% end-section %}


These nested sections w/ nested lists do not work


{% repeating-section records %}
•	bullet: {{bullet}}
{% repeating-section records.subbullets %}
o	bullet: {{subbullet}}
{% end-section %}

{% end-section %}

 

I am trying to replicate this result....

But I am getting this - any suggestions on how I can fix this rendering issue???

    This topic has been closed for replies.