Set the value of checkbox by programming
Hello,
I have created a custom attribute of the type String in a WI. In the Presentation, I use this custom attribute like a CheckBox - Multi-Select List. The Presentation is fine but I dont know how to set the value (true, false) of check box by programming. Any help would be appreciated. Many thanks. |
2 answers
Hi
Setting the value in the UI directly is not possible. What you have to do is set the value on the work item in a way that the UI makes the checkboxes. The value in the work item is the comma-separated list of literal ids. The class DecoratedList has helper methods to split/join literal ids. Regards Marcel Jazz Work Item team |
Thank you very much for your help!
|
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.