Insert CR/LF when mapping multiple values to a multi lined destination attribute
Created: 2012-04-20 08:09:59Modified: 2023-03-29 16:52:47
Tags: Custom Mapping UnitySync
This mapping is used for a destination attribute that may contain a multi lined value (as opposed to multi valued).
An example of an AD multi lined attribute is ‘Info’ (Be aware, this attribute is labeled ‘Notes’ in ADUC)
In a custom object map file, modify your mapping to begin with the characters “r|”.
The leading “r|” means replace each “|” with a “CR/LF”.
So put the | where you want each return to appear.
The mapping may also include hard coded values.
Example
Attrib1 is RED Attrib2 is BLUE Attrib 3 is YELLOW
r|info=^Attrib1^|^Attrib2^|Hard Coded|^Attrib3^
Info will be set to the following multi lined value:
RED BLUE Hard Coded YELLOW