Post

2 followers Follow
0
Avatar

How do I exclude a package from my report?

When I choose Selected Items it won't let me select multiple items.  I have tried CTRL+click and SHIFT+click and neither lets me select multiple items.  I am trying to generate a report for one package (with the omission of one of it's sub-packages.)  Any help would be appreciated.  Thanks!  (see https://casecomplete.zendesk.com/entries/21045723)

Theresa Rogers Answered

Please sign in to leave a comment.

2 comments

0
Avatar

Hi Theresa,

The good news is that you can generate reports for certain packages; it just needs to be done with a customized report template instead of the radio buttons for "Selected Items" or "Current Selection." You've probably noticed that there is no tabbed view for packages, and the project browser only allows you to select one item at a time.

As an example, the Project Specification Word report template starts out with a $repeatPackages keyword below the table of contents. If you've got a particular package you'd like to exclude from that report, add a conditional statement to that line:

$repeatPackages where not Name = 'YourPackageName'

You can find more information about conditional statements in the Custom Reports User Guide, available by clicking Reports / Custom Reports on the ribbon bar, or if you'd like more detailed help, shoot us an email addressed to support@serlio.com.

Permanently deleted user 0 votes
Comment actions Permalink
0
Avatar

we have adopted a convention where any package that has a name that starts with HIDE: is not shown in reports

When iterating over requirements etc, we just say

   $repeatRequirements where [not PackageFullPath like 'HIDE:']

or in XSL

   not(ancestor::Package[starts-with(Name,'HIDE:')])

 

This is also easy to see in the project browser, and it also catches items in a sub-sub-sub package of a hidden package.

Bernd Waldmann 0 votes
Comment actions Permalink