azuresnowflake1
azuresnowflake1

Reputation: 187

how can i pass a string containing new line characters to an activity in azure data factory?

I am calling a web activity in a pipeline that is sending out an email (via Logic App).

Body of the email is being sent as a parameter from the ADF pipeline.

I am forming this body dynamically and want to embed new line characters in the body when i pass the string to the web activity.

Please suggest how can this be done.

P.S. I've tried embedding "\n" characters already and it is not working

Upvotes: 1

Views: 3013

Answers (3)

Chingiz Nazar
Chingiz Nazar

Reputation: 11

This worked for me:

</br>

Upvotes: 1

AWhitford
AWhitford

Reputation: 4008

According to Replacing special characters, the answer is something like this:

uriComponentToString('%0A')

Upvotes: 2

Fang Liu
Fang Liu

Reputation: 2363

Open the json code, make sure you are using "\n", instead of "\n"enter image description here

Upvotes: 0

Related Questions