It's all about the answers!

Ask a question

Programmatic Enumeration Literal Creation


Steven Melcher (6012831) | asked Apr 20 '11, 10:23 a.m.
Is it possible to add an Enumeration Literal programmatically? I need to add a value to several enumerations after a specific type of work item is saved.

One answer



permanent link
Steven Melcher (6012831) | answered Apr 27 '11, 5:14 p.m.
I was able to add a value in the drop down using the setValue method, but it does not create an enumeration literal.

I want users to be able to open a work item and find that added value in the drop down list. Not just set the drop down for that one work item to the value.

Your answer


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