Book a Demo

Author Topic: Document Template: Element Filters by Stereotype  (Read 4752 times)

charlyprg

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Document Template: Element Filters by Stereotype
« on: January 27, 2017, 04:49:42 am »
I create in Configure >> Project types >> General Types >> Requirement, this types:
- Business Rule
- Req. Functional
- Req. NonFunctional
- Message

In the document template I try to filter by these types, but always when generating the document the information not appears. Example:
I filter by stereotype "Business Rule".

The template is:
package>
  element>
    external requirements>

       {ElemExtRequirement.Name}
       {ElemExtRequirement.Notes}

    <external requirements
      child elements>
    <child elements
    <element
     child packages>
    <child packages
    <package

Nabil

  • EA User
  • **
  • Posts: 149
  • Karma: +5/-2
    • View Profile
    • View My LinkedIn Profile Here
Re: Document Template: Element Filters by Stereotype
« Reply #1 on: January 30, 2017, 06:54:04 pm »
First Change the Template Structure

package >
element >
{Element.Name}
< element
child packages >
< child packages
< package

Then Set Filter for Element Type: Document Options - Exclude Filter (Check all except Requirements)

P.S What you have added in Configure >> Project types >> General Types >> Requirement are considered as requirement type. those are not stereotypes. To set filter for this go Document Options - Element Filter - > Add (Requirement type) Equal to Business Rule

HTH

BR,
Nabil
Nabil