Line Break in Profile Mapping Skip to main content
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Nathan AcksNathan Acks 

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:
user.streetAddress + "\n" + + ", " + 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 
, 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?
Bogdan NitescuBogdan Nitescu (Okta, Inc.)
I belive this ( article reflects what are you trying to do.
Nathan AcksNathan Acks
Unfortunately, not so much. There's a lot of great functions available, but none that I can see that change the behavior of how Okta interprets a string.

To rephrase a bit: As part of a profile mapping, I wish to specify a literal line feed character. How do I do this?