In the case that you want to sync a specific entry from a Multi Valued field in Notes, the following script can be used.
Please note, that only the same level of entry can be synced across to AD, so only the 1st or the 2nd or 3rd and so on.
It is not possible to have the 1st for some users and the 2nd for others.
To do this use the following script:
RESOLUTION 1
$answer
To generalise this
You can called $assignedvariable anything you like
The number of the entry of the field in Notes must appear in all person docs. So if you chose [3] but some of the Person docs in Notes only have 2 entries in the field, the results will be incorrect. The code will simply pick the last item it comes to.
RESOLUTION 2
When the outcome is to combine the values from multiple lines into the single field in Active Directory you can use a Powershell script to accomplish this.
Note: The script below assumes there are only 2 lines being used for title within a person document in Domino, any extra lines would requiring some additional configurations.
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center