How can I define a ValueSet Enumeration provider for smallString source attribute?
Hi,
I'd like to use the out of the box Value Set Provider in order to filter the value of an enumeration based on the value of another attribute. This works well with attribute sources that are enumeration, or category or something like this but I'd like to configure it using string value attribute. In this case there is not a graphic interface but it says that I can configure it from the sources. I've tried with this:
<valueSetProvider id="com.ibm.team.workitem.valueproviders.VALUE_SET_PROVIDER._l_M-kCp0EeKWC7o3W1vz1g" name="ProcessAction Value Set from String Attribute" providerId="com.ibm.team.workitem.common.internal.attributeValueSetProviders.FilteredValueSetProvider">
<mapping dependentEnumeration="com.ubis.costumized.enumerations.processAction" sourceAttribute="testAttribute" sourceEnumeration="smallString"/>
<value>
<literal id="com.ubis.costumized.enumerations.processAction.literal.l50"/>
<literal id="com.ubis.costumized.enumerations.processAction.literal.l43"/>
</value>
<value content="example1">
<literal id="com.ubis.costumized.enumerations.processAction.literal.l51"/>
<literal id="com.ubis.costumized.enumerations.processAction.literal.l49"/>
<literal id="com.ubis.costumized.enumerations.processAction.literal.l48"/>
</value>
<value content="example1">
<literal id="com.ubis.costumized.enumerations.processAction.literal.l52"/>
<literal id="com.ubis.costumized.enumerations.processAction.literal.l41"/>
</value>
</valueSetProvider>
but it does not work (also for the default value) and it seems to not log any error.
Have someone else try it?
Thanks,
Michele