|Download Help (Windows Only)|
The organization and format of data can vary between documents and does not always adhere to the format a built-in type defines. Modify a project document source file to conform to the format a built-in type requires, or create a custom type that analyzes the format the project document source file uses.
Use the Types pane of the Configuration dialog box to create a new custom type or to duplicate and modify an existing type. The Types List on the Types pane lists the available types in the project and groups the types in folders that correspond to the read-only directories in the <Requirements Gateway>\
To duplicate an existing type, right-click an existing type in the Types List and select Duplicate from the context menu. A copy of the existing type appears in the last folder in the Types List. You can then modify the content of the copy.
The elements under a type in the Types List define how Requirements Gateway identifies traceability information in a text or XML intermediate file. Type elements use regular expressions to specify patterns in the text of the intermediate file for Requirements Gateway to identify instances of an element. Types that use XML intermediate files also specify the structure of the XML data to identify traceability information.
Requirements Gateway stores custom types in a .types file, with the same filename as the name of the project file, in the same directory as a current project.
Place custom types in the public folder in the Types List on the Types pane to make the types available for all projects. Requirements Gateway stores the type definitions for the public folder in <Requirements Gateway Public>\
Refer to Chapter 5, Customizing Types, of the Getting Started with NI Requirements Gateway manual for a tutorial on creating a new custom type and using the type in a project.