Views (Portfolio Management)
| Demonstration | The capability of the plugin is demonstrated on Nemo |
| Issue Tracker | You can browse tickets for the plugin in JIRA |
| Price | 1,800 € per instance of Sonar and per year, including upgrade, maintenance and support. |
Download
| I accept the Terms and Conditions | |||
|---|---|---|---|
| Version 1.3.3 - Released August 7, 2010 Bug-fix release |
Sonar 2.0+ | Release notes | Download |
| Version 1.3.2 - Released May 9, 2010 Fix administration console on IE6/IE7 |
Sonar 2.0+ | Release notes | Download |
| Version 1.3.1 - Released April 12, 2010 Bug-fix release |
Sonar 2.0 | Release notes | Download |
| Version 1.3 - Released March 10, 2010 Prevent unnecessary views generation, support Sonar 2.0, UI improvements, … |
Sonar 2.0 | Release notes | Download |
| Version 1.2.1 - Released Jan. 8, 2010 Bug-fixes release |
Sonar 1.11 & 1.12 | Release notes | Download |
| Version 1.2 - Released Dec. 31, 2009 Including admin console improvements and bug-fixes |
Sonar 1.11 & 1.12 | Release notes | Download |
| Version 1.1 - Released Dec. 7, 2009 Including security and bug-fixes |
Sonar 1.11 & 1.12 | Release notes | Download |
| Version 1.0 - Released Oct. 12, 2009 Initial release |
Sonar 1.11 & 1.12 | Download | |
| All versions | Evaluation license | Buy a full year license | |||
Features
The Sonar Views Plugin enables the creation of any aggregation trees to regroup projects. Projects can for instance be grouped by applications, applications by team, teams by department… Each level of the tree is a View and offers all standard services such as dashboard, hotspots, timemachine, drilldown… showing the consolidated measures.

Views are rebuilt whenever a project belonging to tree is analyzed. This insures that Views stay up to date.
Using the Views Plugin adds immediately two functionalities to the platform :
- reporting on abstract high level projects
- being able to hunt on consolidated indicators (violations for example)
Installation
|
![]() |
To uninstall the plugin, first go to the Views administration and delete all existing views. Then run an analysis and remove the jar from /extensions/plugins.
Administration
To administer views (create, delete, update), log in as an administrator and go to configuration and then Views. You get presented with a screen to create a brand new view.

Once a view is created, a corresponding tab is added at the top of the page that you can click to manage its content. A view is organized as a tree.
Once selected, you can add, delete and update sub_views (branches)

And add leafs (projects) to branches by a drag and drop

It is possible to set a flag “default” in one node per view. Any project that has not been explicitly associated to a node will then be associated to the default node. In case default is not activated on any node of the view, then the project will not appear anywhere in the view.
The Views plugin also enables to create a global view of all your projects and automatically display it in the homepage, by creating a view with the id “MASTER_PROJECT”.
Please note that an analysis should be run after every change to views for it to take effect
Please note that a project should be removed manually from views when deleted in Sonar
Browsing views
What you have to keep in mind with the Views plugin : project are to views what files are to projects. Having said that the navigation in the Views is exactly the same as in the other projects. The only difference comes from the fact that the plugin adds an new link “Views” in the home page. This link is the entry point to access defined views.

Important note : Views are subject to access control (Sonar 1.12) as any other project. If a user has enough rights to browse a view but not enough to browse every underlying projects, he might not be able to understand where the figures of the view come from. Indeed the services will potentially not show him all underlying projects (except drill downs that show all projects).


