[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Questions about multiple identical values in a field



--On Friday, May 03, 2013 6:24 PM +0200 Erwann Abalea <eabalea@gmail.com> wrote:


Bonjour,


The countryCode can't have multiple values:



attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' )
    DESC 'RFC2256: ISO-3166 country 2-letter code'
    SUP name SINGLE-VALUE )


Can't you use the postalAddress attribute?
With your examples, it should be something like:
postalAddress: 123 1st av$Montreal$QC$GGG RT3$CA

postalAddress: 321 42nd st$Montreal$QC$GGG RT1$CA

This is almost the correct way to format it... it should be:

postalAddress: 123 1st av $ Montreal $ QC $ GGG RT3 $ CA


I would also note that there is no guaranteed return order for values unless you use weighted attributes. Generally the best thing to do if you are going to have multiple addresses (say home, work, business, mailing, etc) is to have custom attributes specifically for those addresses

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration