Previous: Return Attributes, Up: Querying Servers
Directory standards may authorize different instances of the same attribute in a record. For instance the record of a person may contain several email fields containing different email addresses. When using a QI directory server this is difficult to distinguish from attributes having multi-line values such as the postal address that may contain a line for the street and another one for the zip code and city name. In both cases, EUDC will consider the attribute duplicated.
EUDC has several methods to deal with duplicated attributes. The available methods are:
listfirstconcatduplicateselect as the method to
handle multiple matches in inline expansion queries (see Inline Query Expansion) because you are presented with the 3 addresses in a
selection buffer
Because a method may not be applicable to all fields, the variable
eudc-duplicate-attribute-handling-method lets you specify either a
default method for all fields or a method for each individual field.
A method to handle entries containing duplicate attributes. This is either an alist of elements
(attr.method), or a symbol method. The alist form of the variable associates a method to an individual attribute name; the second form specifies a method applicable to all attribute names. Available methods are:list,first,concat, andduplicate(see above). The default islist.