Work Item Attribute Value Providers -- Value Set Providers
I am trying to use Filtering Enumeration Value Set Provider. i got the code from
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders
<valueSetProviders>
<valueSetProvider>
<filterMap>
.
.
</filterMap>
</valueSetProvider>
</valueSetProviders>
I am getting an error at the 2nd step that "Invalid content was found starting with element 'valueSetProviders'. One of '{"http://com.ibm.team.
workitem/workitemTypes":attributeDefinition}' is expected."
I have given the exact provider id which is given in the above Link.
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders
<valueSetProviders>
<valueSetProvider>
<filterMap>
.
.
</filterMap>
</valueSetProvider>
</valueSetProviders>
I am getting an error at the 2nd step that "Invalid content was found starting with element 'valueSetProviders'. One of '{"http://com.ibm.team.
workitem/workitemTypes":attributeDefinition}' is expected."
I have given the exact provider id which is given in the above Link.
2 answers
On 2/4/10 4:38 PM, babu_kamineni wrote:
Could you provide the context where you added the elements?
The <valueSetProviders> element must be within
<configuration>
as described in
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders#Provider_Configuration
This is a top-level configuration-data element like e.g. enumerations. I
will update the Wiki with an example to make this clearer.
--
Regards,
Patrick
Jazz Work Item Team
I am trying to use Filtering Enumeration Value Set Provider. i got the
code from
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders
valueSetProviders
valueSetProvider
filterMap
.
.
/filterMap
/valueSetProvider
/valueSetProviders
I am getting an error at the 2nd step that "Invalid content was
found starting with element 'valueSetProviders'. One of
'{"http://com.ibm.team.
workitem/workitemTypes":attributeDefinition}' is
expected."
I have given the exact provider id which is given in the above Link.
Could you provide the context where you added the elements?
The <valueSetProviders> element must be within
<configuration>
as described in
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders#Provider_Configuration
This is a top-level configuration-data element like e.g. enumerations. I
will update the Wiki with an example to make this clearer.
--
Regards,
Patrick
Jazz Work Item Team