<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008G7VPNSA3Okta Classic EngineLifecycle ManagementAnswered2024-04-30T09:18:25.000Z2017-02-23T01:24:26.000Z2018-02-26T05:20:10.000Z
Line Break in Profile Mapping
When creating a profile mapping, how can you insert a line break into a concatenated string?

 

In my case, I'm trying to create a mapping from Okta into the Google addressesWorkFormatted variable. I want to do something like the following: 
  1.  user.streetAddress + "\n" + user.city + ", " + user.state + " " + user.zipCode -> addressesWorkFormatted
 The problem is that "\n" is treated as a string literal, rather than an escape sequence. So is \r, and %0A, and &#013;, and so far everything else I can think of.

 

Is this impossible to do? If not, what should I use to get a line break here?

This question is closed.
Loading
Line Break in Profile Mapping