Reading a language definition with scm server api
Matthias Peus (23●1●5)
| asked Jul 22 '13, 10:06 a.m.
edited Jul 26 '13, 5:42 p.m. by Kevin Doyle (604●2●5)
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. |
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.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.