Post

1 follower Follow
0
Avatar

How can I control Word headings based on my folders?

I have a package structure in CaseComplete that organizes my use cases by categories.  This is just one part of a larger CaseComplete project structure.  In other words I have nested packages that contain use cases, with the packages organizing the use cases into an outline structure.

Now I want to output this into Word keeping my organization and using document sections following the same structure as my folders.

The problem is that I can't seem to control this to the level of detail I need in Word.  The $outline macro only seems to do the entire project and not just for a particular project and it's subprojects, therefore, the heading numbering is wrong in word and I get extra headings from the projects that are not part of my use case organization.

Group by project is no good because many projects are just organizational and have no use cases.

I was really hoping to generate the entire use case section of the document automatically from case complete...

In the end I flattened the structure to make it work so I only had one level, but I'd like to figure out how to make this work.

Thanks, Joe

Joe Piccolo Answered

Please sign in to leave a comment.

1 comment

0
Avatar

Hi Joe,

By default, CaseComplete will do iteration in your reports based on the storage order you see in the project browser. so that part is easy. Unless I miss my guess, the issue is how to exclude those packages that are organizational only and don't have use cases. I think the following Word report template should do what you're looking for. Note that I've added a "where usecases exist" filter onto the repeatpackages keyword to pull only those packages that contain use cases.

Hopefully this gets you what you're looking for. If not just send a note to the helpdesk with some details about what you're looking for and we'll take another crack at it.

$repeatPackages where UseCases exist

Package $Name

$repeatUseCases

Use Case $ID ($Name)

Brief Description: $Description

Actor(s) : $Actors

$endrepeatusecases

$endrepeatPackages

Permanently deleted user 0 votes
Comment actions Permalink