Reading a language definition with scm server api
I need to read the name of a language definition on server side.
I am able to get the user properties of a IFileItem object but this contains a reference to a language definition.
For exampe I get the user property "team.enterprise.language.definition=_mRNkkO-FEeK87JT-UhiJoQ".
With which api calls it is possible to get the language definition object and to retrieve its name ?
Thanks for your help in advance.
I am able to get the user properties of a IFileItem object but this contains a reference to a language definition.
For exampe I get the user property "team.enterprise.language.definition=_mRNkkO-FEeK87JT-UhiJoQ".
With which api calls it is possible to get the language definition object and to retrieve its name ?
Thanks for your help in advance.
One answer
Hi Matthias,
If you are using RTC 4.0 and latest, you could use IServerSideSystemDefinitionService.getLanguageDefinition(UUID) which returns an ILanguageDefinition object. You then can retrieve its name using ILanguageDefinition.getName(). Please note that these methods are not documented and subject to change.