Import a table of requirements with the values of custom attributes from MS Excel into an existing ReqView document using the CSV file format.
Follow these steps:
In MS Excel rename column names to match IDs of ReqView attributes, for example “heading”, “text”, “status”, etc. No column can be named id as ReqView assigns unique IDs automatically for the new imported objects.
The hierarchy of imported objects is determined by column named level which stores level numbers as an integer. If the level column is not provided, then the objects are imported as a flat list.
In MS Excel, open Save As dialog and select CSV (Comma delimited) file type.
Issue: All currently available Excel versions save files incorrectly in ANSI format even if the opened file was in UTF-8 formatting with BOM header. If you created the CSV file in another spreadsheet (for example Libre Office or Google Sheets), then you do not need to perform this correction.
Open a ReqView project and select a reference document object to place the imported objects. Then click File, mouseover Import, mouseover CSV File, and select whether you want to import new objects Before, After or As Children of the selected object:
Choose the CSV file that you saved in Step 2.
Import new objects and update attributes or traceability links of existing ReqView document objects from a CSV file. For example, you can update the status of tests (failed or passed) or the FMEA rating of project risks stored in an Excel table.
The CSV file must contain the heading row with the following columns:
To update the current document from a CSV file, click File, mouseover Import, mouseover CSV File, and select Update Document.
The following example describes the workflow for exporting documents into CSV, importing back changes and new objects from an updated CSV file, and maintaining information about the source of imported objects (name of CSV file) and the import state.
Follow these steps:
In the exported document create a custom attribute importSource (string) storing to the name of the CSV file from which the object was initially imported, and importState storing import state value (for example “New” for new objects).
Export the document into CSV. Click File, mouseover Import, and mouseover CSV File. Provide it to a reviewer who can change existing objects or add new rows with empty ids which will be imported as new objects.
To import the updated CSV file back into the original ReqView document, click File, mouseover Import, mouseover CSV File, and select Update Document. New objects (without IDs) will be placed as a flat list at the end of the document and they will automatically get a unique ID.
Change the importSource attribute of the new objects to the name of the CSV file that is used for import. After you move each new object to the right place, change value of the importState attribute to “Acknowledged”. You can also select all the new objects and change the value of custom attributes importSource and importState for all of them at once. The history contains the change records for attributes importSource and importState providing more information about who imported each new object, when, and from which CSV file.
Optionally, you can mark unwanted new objects as deleted and purge them permanently from the document.