It's all about the answers!

Ask a question

create an custon attribute of an array type in RTC 5.0 2 ?


harshal Wable (17315) | asked Nov 17 '15, 7:23 a.m.
Is there any way to create an custon attribute of an array type in RTC 5.0 2 ?  I have an requirement o create an attribute where in user will give 15 different inputs and I need to store all of them . This can easily be done using array . If array not possible in RTC , is there any such way to address my requirement.

Comments
harshal Wable commented Nov 18 '15, 2:41 a.m. | edited Mar 31 '17, 5:09 p.m.

DO we have something like Integer list ? I do not see it in attribute type list.


Ralph Schoon commented Nov 18 '15, 3:12 a.m. | edited Nov 18 '15, 3:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 No, some attribute types apparently don't have a list representation:



One answer



permanent link
Ralph Schoon (63.5k33646) | answered Nov 17 '15, 8:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Nov 18 '15, 3:15 a.m.
For most attribute type [atype] there is an attribute type [atype] List that can store multiple values since 4.x.
So for an enumeration priority there is an attribute priority List, string List for string and so forth.

You can see this just by faking the creation of a custom attribute and scroll through the available attribute types, btw.

Edited:
Note: some types don't seem to have a list representation.

Comments
Vaibhav S commented Mar 31 '17, 12:49 a.m. | edited Mar 31 '17, 5:10 p.m.

Hi, how to do the same thing programmatically. What are the api s needed for the same.

Please let know.

Thanks
Vaibhav

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.