It's all about the answers!

Ask a question

how to create Custom Attribute for RTC with multiple values

jane zhou (106442) | asked Mar 21 '16, 6:10 a.m.

How to create custom attribute which stores multiple value?

I need to create a custom attribute with enumeration( list of values).
I want to get more than one selected as value and store the mutiple value in rtc

I read someone comments as follows:

"You need to add the enumeration then create a new attribute and set it to string. When you add the presentation select the attribute and set Kind to Multi-Select List. In the properties add the key "enumeration" and set the value to the enumeration ID you originally set up "

However, I found there is no choice as Multi-Select List in the presentation when I create a new attribute and set it to string.

Any suggestions on how to resolve it? Thanks!

Accepted answer

permanent link
Ralph Schoon (61.8k33643) | answered Mar 21 '16, 6:28 a.m.
If you add a custom attribute, you have to specify a type of the attribute. There are several types available. In the versions 5.x and later, for almost every type [typename] exists a list type [typename] list. List means more than one value. This is true for enumerations as well.

jane zhou selected this answer as the correct answer

Your answer

Register or to post your answer.