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
3 answers
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
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.