Directory Wizards Inc.

Solutions For Your Directory Needs

RSS feed
Add to Google


 

Categories

Knowledgebase

If-Then-Else logic in custom mapping

Category:Map Files

Last Updated:2011-08-18

 

Download PDF version

 

There is some IF-Then-Else logic (scripting)  we can incorporate in the the SimpleSync map file. 

The logic might read something like this (if then else)

If ~company~ is blank, then set Company to 'None Specified'
Else set Company to the actual value of ~company~

The mapping that uses IF Then Else logic looks like this:

company=&'~company~' eq '' \? 'None Specified' : '~company~'&