Call Rest services and other dojo tools as you need to
Introduction: This article describes how to build a dashboard on the Jazz technology platform and add a view. It also describes how to use JavaScript and the REST services and Dojo tools you want to add to the view to programmatically customize a view.
You can use the Ibm®rational team concert™ Web user Interface (UI) to create dashboards. You can choose which view to add from Viewlet Selector to define a new dashboard and configure it, or you can create a dashboard from a template as described in this article. Each view displays information about a project, team, work item, build, and so on. The view is defined in code, and there are some extension points added. This article focuses on creating dashboards with custom views. It describes how to use JavaScript and the REST services and Dojo tools that you want to add to the view to programmatically customize a view.
Create a private dashboard and add a customized view
Switch to the Rational Team concert web UI of the Jazz (https://localhost:9443/jazz/web) server, select the Dashboard page, and then click Create Dashboard on the page See Figure 1).
Figure 1. Create Dashboard button
Make sure that you have the Create and save dashboard permission permissions in the Project Configuration license (see Figure 2).
Figure 2. Configuring Permission Permissions
Click the Add Viewlet button on the Dashboards page.
Attention:
If the dashboard that appears does not have an ADD Viewlet link, this means that the user you are logged on to does not have permission to edit the dashboard. You need to start the Eclipse Rich client Platform (RCP) client, log in to the local repository as an administrator, and update the license in the Project Area Editor in the process specification item.
Figure 3. ADD Viewlet icon