Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Mastering Change Data Capture: Read Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Cherichoc-
Creator
Creator

adding line break for restREsponse in txmlMap

Is there a way to add line break in txmlMap in the expression builder  e.g

row1.column + "\n"

this seems to not work

 

tdbRow--->tParseRecordset-->txmlMap--->tRestResponse

Labels (6)
4 Replies
Anonymous
Not applicable

try this:
row1.column+"\r\n"+"data from new line"
Cherichoc-
Creator
Creator
Author

I have tried that but it doesn't work
Anonymous
Not applicable

What are your expected result? It can output a result like:
oneline
data in a new line

Cherichoc-
Creator
Creator
Author

currently the results display as when I add the \n
{"dev":"19\n" , "acc":27, "sale":300}

expected results
{"dev": 19 /*add line break*/
"acc":27 /*add line break*/
"sale":300 /*add line break*/
}