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

How to create Nested Lists while defining custom attributes?

Hi,

I need to create a Nested List as follows

Error Type: Application

                   Batch

                   Business Process

                  Cognos Reports

                        Cognos Reports - Data

                        Cognos Reports - Enhancement

                        Cognos Reports - Training

Please help in creating this type of list/

Thanks,

Anitha

0 votes



2 answers

Permanent link
RTC does not support nested lists as far as I can tell. The implementation of Categories and iterations are built in. You could use Enumerations but it would only appear to be nested.

0 votes

Comments

Yes, but let me know the steps to create such enumerations.

Process Customization is explained in https://jazz.net/library/article/1093 Lab3.

You would create enumeration literals and make the name appear nested e.g.
Batch
Business Process
Cognos Reports
Cognos Reports - Data
Cognos Reports - Enhancement
Cognos Reports - Training

Another approach would be to use two attributes and enumerations and have a dependent enumeration configured to set the second enumeration. Also see Lab4 in the link above.

Thanks for the response.

Here I have a question, if we are going for dependent enumeration is it possible to display and select the value for second attribute only when "Cognos Reports" is selected in first attribute. Please comment

correct.. that is the function of the dependent enumeration.  select from the 1st list, then get a second list customized to the first list.

create all your enumerations with all the potential values.  then create the dependent enumeration definition.. order the enumerations (more than 1 level is supported, I have build one at 4 levels), then select the controlling value, and all the values of the next that apply.
repeat..
note that the second level can overlap.
one last step is when u define the attribute in the workitem that USES these enums is to specify the dependent definition and the depends on value in the listbox of the attribute definition



Permanent link
For more information about configuring dependent enumerations, see Configuring a dependent enumeration value set.
 

0 votes

Comments

Hi,

Thank u for the response, I have tried the same but I am having some issue over here that is when I select a value in first enumeration the corresponding values are displayed in the dependent enumeration ,but when I am selecting some other value in the first enumeration then I am getting red bubble beside of dependent enumeration with a message "The selected Value is not applicable" with the previous value selected in the dependent enumeration including the dependent values selected in the first enumeration that is selected for the second time.

Please let me know your response.

Thanks,

anitha

This is to  be expected, the dependent enumeration tells you that the value already select does not match the rules after changing the value it depends on. A user has to select a valid value. 

As Ralph mentioned this is how the RTC function works. it does NOT reset the downstream values when you change something above it.

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
× 1,381

Question asked: Dec 01 '14, 12:27 a.m.

Question was seen: 3,879 times

Last updated: Dec 09 '14, 6:42 a.m.

Confirmation Cancel Confirm