Edit a multi-valued attribute as a single-valued attribute in PeopleUpdate
You might want to show a multi-valued editable attribute in Active Directory as a single edit box instead of multiple boxes with an Add button. Use the information below to set this up.
Background
PeopleUpdate queries the Active Directory schema for each attribute to determine whether an attribute can store single or multiple values. Depending on whether the attribute is single- or multi-valued, PeopleUpdate will show an appropriate editing interface on the Edit page. However, there are times you might want to only show a single-valued edit interface for multi-valued attributes.
To show a single-valued edit interface for a multi-valued attribute:
- Using an XML editor, open the LdapMapping.xml file in the application configuration directory, typically located at C:\Program Files\WebActiveDirectory (for versions prior to v3.4 SR #1) or %Program Files%\WebActiveDirectory\PeopleUpdate (for versions including v3.4 SR #1 and later). This file contains attribute mappings for LDAP attributes in Active Directory and PeopleUpdate uses the mappings to query the AD schema and determine if each value is single- or multi-valued. You should create a backup copy of this file before making modifications in case something goes wrong and you need to restore the backup copy.
- Look for the LDAP attribute element that you want to change. The element you want to manipulate depends on your need and the attribute should be looked up by its ldapDisplayName. An example looks like this: <ldapAttribute ldapDisplayName=”otherTelephone” ldapName=”Phone-Office-Other” />
- Remove the element from the file by deleting it.
- Save the changes to the configuration file.
- Navigate to a PeopleUpdate Edit page that has the attribute and ensure the attribute is rendered with an edit display mode for a single-valued attribute.
Related Articles
Add a multi-valued attribute in PeopleUpdate
PeopleUpdate allows you to edit multi-valued attributes in Active Directory. With multi-valued attributes, the Edit page shows multiple text boxes with an Add button to allow you to add and delete values to and from the attribute. In some cases, ...
Constraint Error Trying to Update an Attribute Value in PeopleUpdate
When trying to update an attribute on the PeopleUpdate Edit page, you may encounter an error similar to the following. The application page will say “Could not update the entry data. Please consult your system administrator for assistance” while the ...
Change the language for PeopleUpdate
You can localize most of the PeopleUpdate Search Console to any language you need but the Admin Console is only available in English. We only ship an English version of PeopleUpdate and you will need to perform the localization yourself since we ...
Secure the PeopleUpdate Administration Console
Securing the Administration Console You can secure the PeopleUpdate Administration Console to restrict access to a set of authorized users in your environment. PeopleUpdate leverages ASP.NET security to check user credentials and authorize access to ...
Display an Attribute Field Value by Attributes Other than its CN
When certain attributes such as the managedBy attribute display in PeopleUpdate, you may note that the value displays as the CN and not the display name. To fix this, ensure the attribute is properly configured on the Attributes management page of ...