It's all about the answers!

Ask a question

Read (and set) language definition with client API


Carmelo Merino (931313) | asked Feb 03 '14, 7:29 a.m.

Hi,

we'd like to read (and later to set) a RTC property with the client API. In particular, we'd like to read the language definition, but it would be also nice to have the possibility to read and set custom properties (user properties). Is there a way to do it?

Thank you very much!

Accepted answer


permanent link
Justin Spadea (661) | answered Feb 03 '14, 11:31 a.m.
 Hi Carmelo,

I found this post about setting user properties: https://jazz.net/forum/questions/113234/rtc-scm-api-examples

There is also a "getUserProperty()" to retrieve the value. For language definitions, the property name is "team.enterprise.language.definition" and the value is the UUID of the language definition.

If you're in a scripting environment then you could also use the "scm" command to get/set properties (as described at https://jazz.net/forum/questions/119542/progammatically-change-the-dataset-associated-wit-a-zfolder).

-Justin
Carmelo Merino selected this answer as the correct answer

Comments
Carmelo Merino commented Feb 04 '14, 9:55 a.m.

Hi Justin,

thank you for the answer! I combined it with this post of Ralph Schoon and got what I needed.

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.