Topic
  • 1 reply
  • Latest Post - ‏2012-11-15T00:54:39Z by oymsj001
gbt_l3
gbt_l3
66 Posts

Pinned topic Dynamic table column generation

‏2012-11-14T14:01:06Z |
We have four multi select enum columns in DOORS that represent verification methods (first figure in attached). We want to generate VCRM tables in our output document using the data in these columns. We have four verification method columns because we needed to have a fixed number of standard attributes for integration with our internal business systems. The problem now is how do we transpose this arrangement into a typical VCRM table (second figure in attached)? There doesn’t appear to be a way to keep variables in ‘template wide’ (global) scope so that they can be accessed within different template elements and containers.
Updated on 2012-11-15T00:54:39Z at 2012-11-15T00:54:39Z by oymsj001
  • oymsj001
    oymsj001
    15 Posts

    Re: Dynamic table column generation

    ‏2012-11-15T00:54:39Z  
    Hi,

    Using "Testing" as an example, each cell can look in the Test attribute and be True or False based on if it contains the value you are looking for.
    If you need the four tables Analysis, Demonstration, Inspection and Test, in RPE you can make a header row for the table, followed by a bookmark called Analysis/Demo etc.
    Then further down you can set the target region for each row to be one of those four columns.

    The template would look like this:

      Analysis
    REQT ID REQT PARA Requirement Statement DVT Qual ATP SQT

    Bookmark "Analysis"
    Paragraph with blank newline

      Demonstration
    REQT ID REQT PARA Requirement Statement DVT Qual ATP SQT

    Bookmark "Demonstration"
    Paragraph with blank newline

      Inspection
    REQT ID REQT PARA Requirement Statement DVT Qual ATP SQT

    Bookmark "Inspection"
    Paragraph with blank newline

      Testing
    REQT ID REQT PARA Requirement Statement DVT Qual ATP SQT

    Bookmark "Testing"
    Paragraph with blank newline
    Container which queries each object:


    | theID | thePara | theStatement | T/F | T/F | T/F | T/F | -> Target Region Analysis
    | theID | thePara | theStatement | T/F | T/F | T/F | T/F | -> Target Region Demonstration
    | theID | thePara | theStatement | T/F | T/F | T/F | T/F | -> Target Region Inspection
    | theID | thePara | theStatement | T/F | T/F | T/F | T/F | -> Target Region Testing