cancel
Showing results for 
Search instead for 
Did you mean: 

multi language search in mdm (Java API)

Former Member
0 Kudos

I need to give you clearer explanation what i've got here.

I have repository with three languages(english,russian, ukrainian). All of them have primary inheritance with each other (i understand that it's not good decission by mdm design(to mix latin and cyrrilic locales in primary inheritance), but i have done so to make things more simple).

I am doing portal webdynpro application for repository search/update(in multilingual field). Problem is that search with MDM Java API is retreiving only values from default repository language (i don't define language in connect options and don't know how to do it now).

So i have such questions:

How can i search in all three(possibly two) languages(or how can i define search language explicitly)? I suppose that i need to do re-logon in every language and do search, but also i suppose that it will not be quick and will give additional load on mdm and portal system.

Please advice what will be the best solution to implement such functionality (multi-language search) in Java API?

I am now on MDM 5.5 SP5.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

you can to pass language while connecting to repository.

IConnectionSpec spec = connectionFactory.getConnectionSpec();

spec.setPropertyValue("UserName", mdmuser);

// for french

spec.setPropertyValue("RepositoryLanguage", "French [FR]");

now it will return French data.

hope this will help,.

Rahul