I have have two sharepoint list one with the customer information on and the other will be the services that have selected. With the services that the customer have selected I want to group them by the service so I have an Append to Array in my For each which brings the inforamtion for erach service as it should, when i try to populate the word document it does not group them and puts each on on an individual line.
This is my append to array:
I then create the JSON
Then populate the word document:
My Word Document then contains the following:
<<foreach [varcustselection in custselections]>>
<<[varcustselection.workscope]>> (this should be the on that is group)
<<[varcustselection.actionnumber]>> - <<[varcustselection.worksdescription]>>
<</foreach>>