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

Dependent Enumeration with Multi-select List

Hello,

I've defined a dependent enumeration and it work fine if my choice is only one item in the dependent list.  However, I want to be able to make multiple selection, but the drop-down doesn't allow that.  Therefore, I changed the attribute type to Multi-Select List, but that broke the dependent enumeration relationship and now all items are listed in there.

Thank you for any help.
mm

0 votes



3 answers

Permanent link
It is an enhancement request currently in the backlog. You can find it here: https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/148601

0 votes

Comments

Thank you Filip.  At least I know what I'm trying to do isn't yet available.


Thanks.


Permanent link

Following the link I have managed to implement this but is it possible to set the variables with multiple values(arrays) to be output ie
var CDODataOpsR= "com.hsbc.workitem.enumeration.childTeam.literal.l2",
      CDODataOpsW= "com.hsbc.workitem.enumeration.childTeam.literal.l35",
 if (parentteam === "AMG") {
return [CDODataOpsR, CDODataOpsW];

at the moment I have to set different variables to output each multi select enumeration list

Thanks

0 votes


Permanent link

 John, for all I can tell https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=148601 was not rightfully closed it only provides an example for an enumeration value, not an enumerationList (e.g. severityList).


I have played around with Enumeration and other list type attributes and I have, as far as I can remember, not been able to successfully implement JavaScript based value sets for them. I found no example as to how to compute the data to a list and how to return that back successfully (as far as I remember). 

I think I have been able to create this kind of value set providers in Java.

If you have to provide the data as an array [], it would be interesting how such an array can be created from values in a list (e.g. a http filtered value set) programmatically.

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
× 6,130

Question asked: Jun 05 '12, 12:27 p.m.

Question was seen: 6,347 times

Last updated: Jun 07 '17, 7:56 a.m.

Confirmation Cancel Confirm