Dear all,
I try to import data into a multiline text field in a table.
I created an XMLport and the text field is populated but I do not have a CR LF after each line as in my source file
.
Do you have any idea ?
Thanks in advance
Dear all,
I try to import data into a multiline text field in a table.
I created an XMLport and the text field is populated but I do not have a CR LF after each line as in my source file
.
Do you have any idea ?
Thanks in advance
Hi, How about using TextBuilder.AppendLine([Text]) Method.
A simple case for export.
Hope this will help.
Thanks.
ZHU
Hello,
Thanks for your reply,
I changed the input file (replace CR and LF by a String [CRLF] because we generated it from another software) and I was able to read the file .
I replaced the string by CR and LF before to write the String in Business Central
Maybe the XML port is not the right tool for this.
I would try to read the file directly into a blob and parse the file directly from the blob.
Sohail Ahmed
1,452
YUN ZHU
1,313
Super User 2025 Season 1
Gerardo RenterÃa Ga...
1,083
Most Valuable Professional