Can you use nested Repeating Content Controls with the Populate a Microsoft Word template action?

879 Views Asked by At

Basically what I am trying to accomplish is to have a table which has a section for each Division and within that section have subsections for each Company within that Division. This is as close as I have gotten (with DivisionTable and CompanyTable both being repeating content controls):

enter image description here

After populating the template from a workflow the Divisions are working fine (its repeating three times w/ the correct info) but in the Company Table it just shows [obj] where it should be the Company Name. It also looks like there may be two new unnamed tags placed here after its generated but I'm not sure.

enter image description here

In the Populate a Word Template action inside the DivsionTable tag I am putting an array:

enter image description here

This is what the first object in the array looks like:

 {
   "CompanyTable": [
     {
         "CompanyName": "Company Name Goes Here"
     }
   ],
   "DivisionDesc": "Finishes",
   "DivisionNo": "09"
 }

Is what I am trying to do even possible? I looked at some other posts but I never saw a clear answer.

If it is possible then what exactly am I doing wrong? If it is not possible do you have any suggestions on how to accomplish this another way?

0

There are 0 best solutions below