Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is there a programatic way to maintain source/dependent attributes in RTC Value Sets ?

 I need a parent child relationship (something that is easier to do in Rational ClearQuest) in RTC, Value sets seem to be the only option

so in my example I have 2 lists one called CarCompany and CarModel, in this example I have


CarCompany  (source)
      Ferrari
      Porsche
      Benz

And I have the following CarModels (dependent)
        275GTB
        911
        S55AMG

Lets say that 911 needs to move to be dependent on Ferrari, outside of manually moving it in the attribute customization UI, how can I can maintain this relationship ?

1

0 votes



2 answers

Permanent link
For enumerations we have dependent enumerations. It is also possible to use validators to prevent saving in a consistent way. See  Process Enactment Workshop for the Rational solution for Collaborative Lifecycle Management for a general overview (Lab 4 and 5).

Dependent enumerations only work for enumerations (and a few other input values). You can use JavaScript for some things, but is is very limited in its capabilities. The built in attribute customization is implemented in Java which gives a bit more options. See https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/ for some examples.

The problem in your case is probably to have the dependency information available somehow.

0 votes


Permanent link
https://jazz.net/library/article/537 please check this article. (Dependent enumerations)

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 12 '15, 7:21 a.m.

Question was seen: 3,745 times

Last updated: May 14 '15, 3:25 a.m.

Confirmation Cancel Confirm