How to get all the values for the multiple checkbox(Enumeration List).
I can retrieve the values in the case if the Type for an attribute is Enumeration using oslc:allowedValues. But in case of Enumeration List I do not get the values as such.
Is there a way we can retrieve the values of EnumerationList or if we can get the Enumeration Id.
|
One answer
It should be the same as an attribute of Enumeration type. What do you get from the Resource Shape?
Comments Thank You but I do not get oslc:allowedValues tag in XML in case if it is enumerationList. It looks something like this.
Donald Nong
commented Jun 06 '17, 3:28 a.m.
No, you will not get <oslc:allowedValues>. Instead, you should get <oslc:range>, which is missing in your output above, for some reason. If you can get the <oslc:range> attribute, and access the resource URI within it, you will get all the allowed enumeration values.
|
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.