Value provider not found
Hello,
I am working with RTC 2.0.0.2 and attempting to make a calculated value field following these instructions: https://jazz.net/wiki/bin/view/Main/AttributeValueProviders
I must be doing something wrong, but don't know where to go from here. Whenever I save a workitem that has this attribute, the jazz.log says
Background
I have created a very simple valueProvider in JavaScript
I added this .js file as an process attachment in /workitems/scripts/common/CalculatedBusinessValueProvider.js
And finally I updated the process config XML appropriately
PS. I also updated teamserver.properties and restarted the service
I am working with RTC 2.0.0.2 and attempting to make a calculated value field following these instructions: https://jazz.net/wiki/bin/view/Main/AttributeValueProviders
I must be doing something wrong, but don't know where to go from here. Whenever I save a workitem that has this attribute, the jazz.log says
2011-02-09 13:52:51,435 [ http-443-Processor25] ERROR com.ibm.team.workitem.common - Value provider not found: com.sjm.team.attribute.provider.CalculatedBusinessValueProvider
I have created a very simple valueProvider in JavaScript
dojo.provide("com.sjm.team.attribute.provider.CalculatedBusinessValueProvider");
(function() {
dojo.declare("com.sjm.team.attribute.provider.CalculatedBusinessValueProvider", null, {
getValue: function(attribute, workItem, configuration) {
return 5;
}
});
})();
I added this .js file as an process attachment in /workitems/scripts/common/CalculatedBusinessValueProvider.js
And finally I updated the process config XML appropriately
I would love to paste my XML here, but the BB seems to strip it!
<configuration>
...
<valueProviders>
<valueProvider>
<script>
</valueProvider>
</valueProviders>
...
</configuration>
<configuration>
...
<attributeDefinitions>
...
<attributeDefinition>
<valueProvider>
<dependsOn>
<dependsOn>
<dependsOn>
<dependsOn>
<dependsOn>
</attributeDefinition>
...
</attributeDefinitions>
</configuration>
PS. I also updated teamserver.properties and restarted the service
com.ibm.team.workitem.process.scripts.enabled=true