I have a scenario where users will be adding list items to a custom list. Once a week, a single word document needs to be generated that includes content from all of the list items added that week.
I have seen how, using a workflow, you can insert column data from a list item into a document template, but it seems as though this will generate one word document per list item, and I need to combine data from multiple list items into the same doc, formatted roughly as follows:
Column 1 value (from list item 1)
- Column 2 value (from list item 1)
- Column 3 value (from list item 1)
Column 1 value (from list item 2)
- Column 2 value (from list item 2)
- Column 3 value (from list item 2)
Is there a way to set up a repeating templated section in a Word doc and have a workflow generate a new section per list item? This could be a 2010 workflow or a 2013 workflow.
Or is this something I'm going to have to accomplish with C#?