how to resolve enumeration for RTC 3.x version multiselect attribute
In case of RTC 3.x the multiselect is created as string with enumeration as key in presentation.When trying to attribute value(server side extension), we are unable to resolve the enumeration.
In case of proper enumeration IWorkItemServer.resolveEnumeration(IAttribute, IProgressMonitor) would work however for a string type the above will throw assertion error. Is there a way to resolve enumeration of multiselect attribute. |
Accepted answer
as mentioned over in
https://jazz.net/forum/questions/97797/how-to-retrieve-enumeration-values-from-a-multi-select-field there is currently not a sample that demonstrates a (or the proper) way to discover and enumerate the selected values for a string stored multi-select enumeration. I have supplied a sample of how to detect and manage workitem attributes dynamically, and I will update my sample. https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes I don't work for IBM, and this is not my primary job, so it may be a while til I can get to it of course, as this is a collaborative site, anyone is welcome to take a sample and extend it, sharing back to the community Meera Varma selected this answer as the correct answer
Comments
sam detweiler
commented Jan 25 '13, 12:20 a.m.
I've updated my sample referenced above, with the code to get the enumeration values for the literals in a string hosted multi-select listbox attribute.
sam detweiler
commented Jan 25 '13, 9:28 a.m.
I can't edit my prior comment..
|
One other answer
Thanks a lot for the help. Much appreciated. We have been stuck on this for a while. This has helped us progress :)
|
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.