Editing a Template

You can define your report structure within the Template Editor.

In this scenario, you create a table to insert the names of refined (previously named derived) requirements linked to requirements contained in a requirement specification.

Recommendation: When creating your template, follow these recommendations:
  • Rename the input parameter and the created iteration variables with explicit names, which follow convention rules. For more information, see Recommendations for Naming Conventions and Renaming Template Elements.
  • To enter a string that narrows down the list of categories, methods, types, and variable names, click Modify Filter .
    Note: You can search on internal names.
  • To select the corresponding variable in the Data tab, double-click a loop or a terminal element.
  • To select the corresponding loop or terminal data in the work area, double-click a variable.

See Also
Adding Parameters to Templates
  1. From the Templates page, select the template you want to edit.
  2. In the right-hand pane, click Menu , and select Open in Editor .
    The Template Editor appears.
  3. To insert a parameter of requirement specification type:
    1. In the Parameters area of the Properties tab, click New .
    2. In Name, enter reqSpec.
    3. From the Type list, select Requirement Specification.
    A new parameter named reqSpec appears in the Data tab.
  4. To insert a section for the requirement specification:
    FromActions

    Structures tab

    • Drop the Section element into the work area.

    • Drop the Text element into the section title area.

    work area
    • Select the inserted text element.

    • Enter Requirement Specification followed by a space in the Text field in the Properties tab.

    Data tab

    • Expand the reqSpec variable and the Attributes folder.

    • Drop the Title method in the section title.

  5. To insert an introduction paragraph:
    FromActions

    Structures tab

    • Drop a Paragraph element in the section under the section title.

    • Drop a Text element in the paragraph.

    work area
    • Select the inserted text element.

    • Enter The following table lists requirement names: in the Text field of the Properties tab.

  6. To insert a table of covering matrix:
    FromActions

    Structures tab

    • Drop a Table element in the section.

    • Drop a Text in each header cell of the table.

    work area
    • Select the first inserted text element.

    • Enter Requirement title in the Text field of the Properties tab.

    • Select the second inserted text element.

    • Enter Downstream requirement titles in the Text field of the Properties tab.

  7. To insert a loop on requirements in the table:
    FromActions

    Data tab

    • Expand the reqSpec variable and the Outgoing Relationships folder.

    • Drop the To Specification Structure method in the table below the header row.

      A loop onto the specification structure appears in the table and the associated iteration rel variable appears in the Data tab.

    • Select this loop and enter specStructRel in the Variable field of the Properties tab, to rename the newly created variable. For more information about renaming, see Renaming Template Elements.
    • Expand the specStructRel variable and the Outgoing Types folder.

    • Drop the To Requirement method in the previous loop.

      A loop onto the requirement appears in the loop and the associated iteration req variable appears in the Data tab.

  8. To insert the requirement names in the first column:
    FromActions

    Structures tab

    Drop a Row element in the last inserted loop.

    Data tab

    • Expand the req variable and the Attributes folder.

    • Drop the Title method in the first cell of the row.

  9. To insert a loop on refined requirements in the second column:
    FromActions

    Data tab

    • Expand the req variable and the Outgoing Relationships folder.

    • Drop the To Downstream Requirement method in the second cell of the row.

      A loop onto the refined requirement appears in the table and the associated iteration rel variable appears in the Data tab.

    • Select this loop and enter downReq in the Variable field of the Properties tab.
    • Expand the downReq variable and the Outgoing Types folder.

    • Drop the To Requirement method in the previous loop.

      A loop onto the requirement appears in the loop and the associated iteration req2 variable appears in the Data tab.

    • Select this loop and enter refReq in the Variable field of the Properties tab.

    Structures tab

    Drop the List element into the loop.

    Data tab

    • Expand the refReq variable and the Attributes folder.

    • Drop the Title method in the loop on refined requirements.

    Here is the result of the created template: