Page 1 of 1

Country IsoCodes 2 by default

Posted: Sat Apr 29, 2017 12:19 pm
by peter.detzner
Hi!

where can I enable in the config, that my Address will use Country IsoCodes2 by default ?!
Regards,
Peter

Re: Country IsoCodes 2 by default

Posted: Tue May 02, 2017 6:48 am
by bocajo
There is a SearchParameter COUNTRY_CODETYPE the default value is =3 (country code plate). So you can set this parameter to value =1 (ISO2) or =6 (Unknown). If Unknown is set, then all formats are considered as possible input formats and CountryCodePlate is used as the output format.

Re: Country IsoCodes 2 by default

Posted: Tue May 02, 2017 7:38 am
by Bernd Welter
Hi there,
the parameter mentioned by Jochen is available in the xlocate-default.properties in the /conf. You could also change it in the native-default.xml. Just take care of the priorities of the resources. Here are some screenshots.
xlocate-default.properties
xlocate-default.properties
native-default.xml
native-default.xml
If you access the AZURE platform you need to set parameters in the request because you can't reconfigure our server defaults.

Best regards Bernd

Re: Country IsoCodes 2 by default

Posted: Thu May 04, 2017 6:17 am
by peter.detzner
Great! Helped me a lot! Thanks for the fast response!!