Hi All,
i am Creating .txt (NotePad) file in Sharepoint document Library through MS Flow.
but all the data are coming as a single line in NotePad.
Is there any possiblitiles to bring the text in Next line.
Please help to resolve this.
Thanks
Hi @Talha
I replied to your question in the post linked below. Please check it out and let me know.
Regards,
Fausto Capellan, Jr
Hi @faustocapellanj.,
Thanks for your replay.
"\r\n"
i had added the above character in MS flow for Line breaks. but its not working.
Please see the below image but its shown in single line in Notepad
please let me know if you have any solutions.
Hi @faustocapellanj ,
thanks for your replay.
i had tried by adding the above character inside the concat() expression but same error its come single line as below:
ModuleName:Information Technology\r\nFromDate:06-04-2019\r\nChangedTo:Asan Kani
but i copied the above line from Notepad and paste in any other app line MS word, WordPad etc. its shown line with break as below image:
so i can't find out the exact root cause for above.
Thanks
Hello @faustocapellanj.
I am very glad to replay you
Please see the concat() expression which i was used in MS flow for Break Line.
First Line:
concat('ModuleName:',triggerBody()?['Title'],'\r\n')
next line:
concat('FromDate:',utcNow('dd-mm-yyyy'),'\r\n')
Next line:
concat('ChangedTo:',triggerBody()?['Responsiblity']?['DisplayName'])
for Testing i had used three lines.
can you please check above code is correct or need to change anything
Thanks
Hi @Talha
So here's what you need to do: add a Data Operations - Compose action, rename it to CRLF., and in the *Inputs field press enter to add a new empty line, similar to the screenshot below.
Then build your expression like:
concat('Hola', outputs('CRLF'), 'como estas?', outputs('CRLF'), 'muy bien')
I tested the approach and Flow adds the line break, but Notepad doesn't show it. At this point, I'd suggest to switch to another text editor such as Notepad++.
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
53 | |
41 | |
39 | |
38 | |
36 |
User | Count |
---|---|
76 | |
72 | |
71 | |
54 | |
49 |