question

ErBoGuan-5484 avatar image
0 Votes"
ErBoGuan-5484 asked EchoDu-MSFT commented

SharePoint workflow put mutiple lines of text to a single line text

I have successfully saved the values to multiple lines text in SharePoint:

97971-workflow1.png

Then I used a workflow to put the value to a Word document

97962-workflow2.png

However, multiple lines “a_equipModel_t” become singe line in Word Document.

97946-workflow3.png

Any idea or solution for this issue would be appreciated. Many thanks

office-sharepoint-server-development
workflow1.png (8.8 KiB)
workflow2.png (26.5 KiB)
workflow3.png (13.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered

Hello @ErBoGuan-5484 ,

In my test, I cannot reproduce your problem.

98120-word.png

Please following steps:

1.Create a list named Ex and create some columns in the list.

98155-3.png

2.Create a Document Library named TestLib and create the same fields in the TestLib library for mapping.

98231-4.png

3.Create a template document named TestLib Template.docx. The template now looks likes here:

98167-5.png

4.Open SharePoint Designer>> click on All Files >> open the TestLib library >> open Forms >> click Import Files from the top of the ribbon, import the TestLib Tempalte.docx file from the Windows location.

98168-6.png

5.On the Workflows tab click on List Workflow >> Ex.

6.Name the Workflow "TestLib" (SharePoint 2010 Workflow).

7.Click on Action >> Create list item

98183-6.png

8.Click OK and Save. Now click Workflow Settings, and check "Start workflow automatically when an item is created"

98135-8.png

9.Click Save and Publish.

10.When you create new item in the Ex list, SharePoint will automatically create document in the testLib library.

98184-workflow.gif

For more information, please refer to this post.

Thanks,
Echo Du
=========================
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.





word.png (37.9 KiB)
3.png (37.4 KiB)
4.png (23.4 KiB)
5.png (39.6 KiB)
6.png (108.9 KiB)
6.png (108.9 KiB)
8.png (37.4 KiB)
workflow.gif (1.3 MiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ErBoGuan-5484 avatar image
0 Votes"
ErBoGuan-5484 answered EchoDu-MSFT commented

Thank you that you spent time in the test/demo that approved workflow passes the multipliable lines to the variables. I repasted document properties to the template again. It works! Thanks a lot.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ErBoGuan-5484 ,

Thanks for your reply.

We look forward to working with you next time.

Have a nice day! : )

Thanks,
Echo Du

0 Votes 0 ·