Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

APIs required for custom Java Script

Which APIs need to be imported for custom JavaScript Provider stated in ExposureProvider.js in a 15 min video on https://jazz.net/wiki/bin/view/Main/AttributeValueProviders.
This is taking into account RTC2.0.0.2 environment.

0 votes



3 answers

Permanent link
From the link https://jazz.net/wiki/bin/view/Main/AttributeValueProviders,
We have configurable built-in provider for 'Role Based User Provider'. I believe that this means if a project is created in RTC 2.0.0.2 environment using Scrum Process template(as seen in the video attached on the link), the built-in provider should be visible like <valueSetProvider> and <attributeDefinition> for customization in Process Configuration Source. But I don't see them as built-in.Do we need to explicitly induce these tags for customization.Please reply.

0 votes


Permanent link
From the link
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders,
We have configurable built-in provider
for 'Role Based User Provider'. I believe that this
means if a project is created in RTC 2.0.0.2 environment using Scrum
Process template(as seen in the video attached on the link), the
built-in provider should be visible like<valueSetProvider> and
attributeDefinition> for customization in Process Configuration
Source. But I don't see them as built-in.Do we need to explicitly
induce these tags for customization.Please reply.

Support for calculated attributes was introduced in 2.0.0.2 for early
adopters. The feature, especially when it comes to the JS API, is
*preliminary* and full support will only be available in 3.0.

That said, the complete example of a calculated attribute 'Risk
Exposure' is documented on the Wiki page in the example section. You can
copy it from there.

https://jazz.net/wiki/bin/view/Main/AttributeValueProviders#Examples

As it is an example only, it is not part of any process templates.

--
Regards,
Patrick
Jazz Work Item Team

0 votes


Permanent link
This is regarding the Risk Exposure example given on https://jazz.net/wiki/bin/view/Main/AttributeValueProviders#Examples link. In Package Explorer, How do we define the structure of javascript class(ExposureProvider.js). Do we need to create java project and then create a javascript file in it to write the dojo scripts. What is the com.example.common package in ExposureProvider.js? Is it a package we need to create? Please help me understanding the creation of folders in package explorer for ExposureProvider.js.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jan 19 '10, 8:45 a.m.

Question was seen: 6,386 times

Last updated: Jan 19 '10, 8:45 a.m.

Confirmation Cancel Confirm