AdobeDocs / AdobeDocs/pdfservices-api-documentation

Repeated Sections using Nested Lists just repeat all elements

Open
#134 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20
Forks
229
PR merge metrics
No merged PRs in 30d

Description

### Expected Behaviour
Given I have a Repeat-Sections (e.g. a list of pages w/ using a single docx template )
When that page has a list of elements which contain lists (nested lists)
then I am able to generate repeatable sections (pages) with the changing values of the nested lists

### Actual Behaviour
I am able to repeat an entire page however the nested lists are not properly linked to the parent data structure and it just repeats all values of the list, each time the list is referenced. It should only display the list values of the embedded list.

### Reproduce Scenario (including but not limited to)
See forum post: https://community.adobe.com/t5/document-services-apis-discussions/repeat-sections-a-page-and-nested-lists-within-lists/m-p/12797902#M3706

#### Sample Code that illustrates the problem
see forum post for code and docx template w/ screenshots

Contributor guide

Open the contributing guide

Research direction

Start with the linked Adobe forum post, including its sample code, DOCX template, and screenshots, since the issue does not include reproduction files. Compare repeated sections containing nested lists with the expected parent-child values. Done means each repeated page displays only the nested list values belonging to its parent.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.