Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Attribute customization: set default literal in enumeration with javascript

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,

0 votes



One answer

Permanent link
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

0 votes

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 26 '13, 10:13 a.m.

Question was seen: 4,460 times

Last updated: Mar 26 '13, 2:48 p.m.

Confirmation Cancel Confirm