Expand my Community achievements bar.

Fusion: Word Document Template Nested Loops

Avatar

Level 2

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. 

Screenshot 2024-03-13 at 8.20.29 PM.png

 

Does anyone have any advice?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies