From version 23.5.0 you can specify what columns should be loaded on the Risksheet.
Make sure that you have Risksheet updated to get all the benefits.
Now you can create different column sets depending on your current needs and see only selected columns instead of the whole Risksheet.
- The new feature allows users to specify and save column sets on the Risksheet. This enables users to view only selected columns instead of the entire Risksheet, which can become overwhelming with many columns.
- The saved views can be created in the Configuration under the “views” section, and users can select the desired view from the Risksheet.
- This feature offers flexibility in viewing and customizing the Risksheet according to project needs.
- How do views work?
To define specific sets you should add them in the Configuration in the "views" section under the "global" section.
And after that, you'll be able to select these sets from the Risksheet.
- Let's dive deeper into this new feature with some examples.
By default, you see the whole Risksheet and it can become really big if you have many different columns. And sometimes you just don't need to see all of them.
Of course, it is possible to choose what columns to show with the use of the "Select Visible Table Columns" option.
But you may want to have some specific column presets, so you don't need to mark/unmark each column, but just to select the desired configuration.
- So here is when saved views come to help.
Take a look at the updated icon for selecting visible columns. You'll still be able to select them as mentioned above but also have some additional options.
In the Risksheet configuration, you'll be able to define some sets and select the desired one just by clicking on them.
First example:
Show only specific columns - potential failure.
In the configuration, we've created a set called "Potential Failure" and added 3 column IDs that should be visible when selecting this set.
And you'll get the Risksheet view like this:
Second example:
Show all columns, except a few of them - mitigations.
In this case, it would be better to first define to show @all columns, and then specify the IDs of the specific columns that must be hidden.
In our case, it is all Mitigation columns.
As an expected result it shows all the columns except the Mitigation section.
NEW!
From Version 24.1.0 - specify the Default view:
In view configuration add:
{ "name": "bar", "defaultView":true, ....
Or in the risksheetTopPanel.vm you can use a script to set the default view based on the current context (user, data ...)
<script> risksheet.appConfig.views[1].defaultView=true; </script>
Users can use full Polarion API, for example, in the example below we check if a user has an 'admin' user role, and if so, invoke the second view:
<script> #foreach($r in $securityService.getRolesForUser($securityService.getCurrentUser())) #if($r.equals("admin")) risksheet.appConfig.views[1].defaultView=true; #end #end </script>
These are samples of using this new feature. Of course, you can create a wide variety of custom sets to fit your project needs.
In case of issues, please send a message to: support@nextedy.com
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article