New line in Text Aggregator

Hi,

I am trying to connect a PMS booking engine to an invoicing service. For that to work, I need to loop through the invoice items and transfer them to an XML structure.
The service I am sending the data to is expecting new lines in the XML for the position descriptions.

The text aggregator function does not preserve any line breaks I enter there. However, I also cannot use <br> tags since those will not convert to new lines in the invoice, the service expects a \n. If I enter \n into the text, the HTTPS service converts this to \ \n thereby showing \n as a text on the invoice.

I tested this with a “fixed” structure by directly inputting the code into the HTTPS module and that works fine. The problem is that I cannot keep it like that as I neither know in which order the invoice items arrive nor how many there are, so I need to do this with a text aggregator.

Any other options I have to solve this?

have you tries this
image

2 Likes

Thanks!! that did it… Did not see that before. Sometimes it can be so easy…

2 Likes