Author Topic: How do you select packages and enforce hierarchy in model documents?  (Read 2110 times)

mse

  • EA User
  • **
  • Posts: 303
  • Karma: +1/-0
    • View Profile
Given the following package structure, where I only care about Block 1 and Block 2:

Package A
   Package B
       Block 1 <<configuration item>>
       Block 2 <<configuration item>>
       Block 3

I want to create a <<model document>> that will output the information for Block 1 and 2, and have as its heading the Package B name like this:

1. Package B
   Block 1
   Block 2

However, my template so far outputs the name of every package, like this:

Package A
Package B
   Block 1  <<configuration item>>
   Block 2 <<configuration item>>

This is understandable because the template looks into the Package and searches through nested packages. I would like to ignore the packages however that do not have blocks of interest. I have a SQL query that gets the  <<configuration item>> blocks already and that works.

Takeshi K

  • EA User
  • **
  • Posts: 588
  • Karma: +38/-1
    • View Profile
Re: How do you select packages and enforce hierarchy in model documents?
« Reply #1 on: November 01, 2024, 09:51:51 am »
If the package structure is exactly the same as you wrote it, the 'Skip root package' option might help.

HTH,
--
t-kouno