It's all about the answers!

Ask a question

Attribute customization: set default literal in enumeration with javascript


Milan Krivic (98011173140) | asked Mar 26 '13, 10:13 a.m.
Hello,

I know that I can set default value for enumeration on enumeration attribute in PA configuration.
Is there possible to set default value through the javascript?
Example: I have an enumeration list from 1 to 12 (typical numbers) in drop-down meun, and based on the current month, I want to set default value in my enumeration list to value like it is a current month...

Thanks,

One answer



permanent link
sam detweiler (12.5k6195201) | answered Mar 26 '13, 2:45 p.m.
edited Mar 26 '13, 2:48 p.m.
you should be able to use a scripted Default Value provider to select the value in the enum list

see this other post https://jazz.net/forum/questions/107026/attributecustomization-custom-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.