It's all about the answers!

Ask a question

Attribute customization: set default literal in enumeration with javascript


Milan Krivic (98010172139) | 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.