Fusion: Word Document Template Nested Loops | Community
Skip to main content
Level 2
March 14, 2024
Question

Fusion: Word Document Template Nested Loops

  • March 14, 2024
  • 0 replies
  • 454 views

Hello,

According to the Adobe documentation on Microsoft Word Template Module, I should be able to loop through information using this format:

{{#parentTask}}

   {{parentTaskName}}

{{/parentTask}}

 

I would like to compile documentation on Workfront tasks and their children subtasks and would like to accomplish a sort of nested loop. Something that would probably have the same concept as:

{{#parentTasks}}

   {{parentTaskName}}

   {{#childrenTasks}}

      {{childTaskName}}

   {{/childrenTasks}}

{{/parentTasks}}

 

I imagine the scenario would look something like this with an aggregator for the children and an aggregator for the parents, however I keep running into the issue of not being able to get all the children and the parents at the same time. I've tried a text aggregator which ultimately accomplishes the task, but no matter what I do, inputting the text into a word doc squashes all formatting and it ends up looking like poop. 

 

Does anyone have any advice?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.