Consider the two following lookup tables and attributes. One stores the expected value in the specified AD attribute, the other adds curly brackets to what is stored. Bug? Something Ive done wrong?
Nevermind, I guess you only see the curly brackets in powershell and only for multi value strings. False alarm.
In this example, Deparment is stored in AD as "Finance and Information Services" but DepartmentNumber is stored as "{2300}"
"LookupTables": [
{
"Name": "DivisionDepartment",
"Definition": {
"Type": "LookupTable",
"LookupTableId": "DivisionDepartmentID",
"LookupTable": {
"Design & Communications": "Administrative Services",
"Information Technology": "Finance and Information Services",
"Building Maintenance": "Infrastructure"
}
}
},
{
"Name": "DivisionCode",
"Definition": {
"Type": "LookupTable",
"LookupTableId": "DivisionCodeID",
"LookupTable": {
"Design & Communications": "1300",
"Information Technology": "2300",
"Building Maintenance": "6400"
}
}
}
],
"LdapAttributes": [
{
"Name": "Department",
"Definition": {
"Type": "TextField",
"Label": "Department",
"Description": "",
"DefaultValue": null,
"IsRequired": false,
"IsEnabled": true,
"isHidden": true,
"isHiddenFromRequester": false,
"Constraints": {
"MaxLength": -1,
"ForbiddenChars": [],
"ValidationRule": "",
"ValidationInformation": "",
"UniquenessConstraint": "",
"CreationRule": "<lookup>(DivisionDepartmentID,{physicalDeliveryOfficeName})"
}
}
},
{
"Name": "departmentNumber",
"Definition": {
"Type": "TextField",
"Label": "departmentNumber",
"Description": "",
"DefaultValue": null,
"IsRequired": false,
"IsEnabled": true,
"isHidden": true,
"isHiddenFromRequester": false,
"Constraints": {
"MaxLength": -1,
"ForbiddenChars": [],
"ValidationRule": "",
"ValidationInformation": "",
"UniquenessConstraint": "",
"CreationRule": "<lookup>(DivisionCodeID,{physicalDeliveryOfficeName})"
}
}
},
{
"Name": "physicalDeliveryOfficeName",
"Definition": {
"Type": "DropDownList",
"DefaultValue": "",
"Label": "Division",
"Description": "",
"Items": [
{
"Value": "Design & Communications",
"DisplayValue": "Design & Communications"
},
{
"Value": "Information Technology",
"DisplayValue": "Information Technology"
},
{
"Value": "Building Maintenance",
"DisplayValue": "Building Maintenance"
}
]
}
},