Hi, I'm having trouble getting my format in a Word Document correct. the basic workflow does this
1) read a SharePoint list of users into a collection variable.
2) Read the collection variable and gather First Name, Last Name, etc
3) Build a Word Document to create a contact list in a table
We then have created a document with Plain Text Content Controls, which the "Update Document" Step is populating.
The problem we are having is that the Content Control is being populated as a single line, instead of putting each entry on a new line. Screenshot Below
We have tried the following to troubleshoot:
1) logged the string output in the Workflow History. it output shows each entry is correctly on a new line (I.E the issue is not the "Build String" step). This is how we would like to see the output in the MS Word Document.
2) in MS Word, changed to a Real Text Content Control. This yielded funny results
Ā Ā Ā Ā Ā Ā Ā Ā Ā I) we then got each result on a new line as required
Ā Ā Ā Ā Ā Ā Ā Ā Ā II) However, we then seem to get an additional line, which is all of the same results repeated on a single line of text again. I have no idea where or why this iaĀ Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā happening
3) In the Plain Text Content Control Properties, we enabled the box to allow Carriage Returns.
Ā Ā Ā Ā Ā Ā Ā Ā Ā I) we get exactly the same behavior as the Real Text Control above
What am I doing wrong?
Thanks
Carl