Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Mar 07, 2022 Mar 07, 2022

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....

default234622777g8q2i_1-1646703733916.jpegexpand image

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

nested_lists.pngexpand image

435
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources