It's all about the answers!

Ask a question

Reading a language definition with scm server api

Matthias Peus (2314) | asked Jul 22 '13, 10:06 a.m.
edited Jul 26 '13, 5:42 p.m. by Kevin Doyle (60425)
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

permanent link
Hung Lam (2911915) | answered Jul 29 '13, 3:56 p.m.
 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

Register or to post 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.