Newline character missing on Webrequest action to create a file on SP document library


Badge +3

I have a webrequest to put the content to a new text file on SP document library. But the newline character when missing. Anyone have any idea?

 

(please see the attachment image for more info. TQ.


3 replies

Badge +3

Hello,

i'm having the same problem with you webrequest. is that you have find a solution to work around this.

Best Regards

Zak

Userlevel 5
Badge +9

Hi Zak,

Which character did you use to get a new line? Have you tried with "
"?

Userlevel 7
Badge +17

The character could be mistranslated especially if coming from some file editors. There are text files saved by some editors that only use
which may not work in others. I would recommend using the HTML type and save to a Word, Text, or HTML document in the library and see the result. A CSV type file may be stripping the characters.

Reply