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.
I replied to your question in the post linked below. Please check it out and let me know.
Fausto Capellan, Jr
Thanks for your replay.
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.
I am very glad to replay you
Please see the concat() expression which i was used in MS flow for Break Line.
for Testing i had used three lines.
can you please check above code is correct or need to change anything
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++.
If you do not want to add an extra 'compose' step, you can directly reference the \r\n by using decodeUriComponent(). Use %0D for \r and %0A for \n. Your first line would then be:
Did I answer your question? Mark my post as a solution!
Did my response help? Please give it a thumbs up!
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Attend in person or online, there are incredible conferences and events happening all throughout the month of September.