I am trying to add a line break using dynamic expression in Azure Data Factory. Tried using a variable and setting its value as empty line and '%0A' or '%0D' but doesn't seem to work.
Sounds silly yet not able to find a way out! Any help is much appreciated, thanks in advance.
Use
\r,\nor\r\nor\nto change the line using dynamic expression.Example:
Dynamic content editor converts above content to expression
"{ \n \"type\": \"@{if(equals(1, 2), 'Blob', 'Table' )}\",\n \"name\": \"@{toUpper('myData')}\"\n}". The result of this expression is a JSON format string showed below.Learn more about Expressions and Functions in ADF here.