Create a class and table locator using a problem new sample

On rare occasions, a Validation user might encounter a document with a table that has no corresponding class in a project. To address this issue, theValidation user extracts the table manually and marks the document as a problem so that the project administrator can process the document later. Although a script can also mark a document as a problem, the Validation user must still manually extract the table to make the document available to the administrator.

The marked document is added to the Problems document subset in the New Samples document set. When encountering the document, the administrator makes one of the following decisions:

  • Rejects and processes the document in another project that contains the appropriate class.

  • If no corresponding class exists, adds a new class to the current project using the problem sample document.

Creating the new class using the problem document also creates a table locator based on the manually extracted table.

You can create a class and a table locator for that class by following these steps:

  1. Open the Documents window if it is not already open.
  2. Select the New Samples document subset.

    The document set expands, the Problems document subset is selected by default, and the problem documents are displayed.

  3. In the list of documents, select the document that has no associated class and then click Create Class and Table Locator Create Class and Table Locator icon.
    Important This option is available only when the document has a table that the Validation user manually extracted. A messages appears if you cannot apply this function to the selected document.

    The Create New Class and Table Locator window is displayed.

  4. In the Create New Class and Table Locator window, do the following.
    1. Enter a name in the Enter class name field.
    2. From the Select Parent Class list, select a class.

      The selected class becomes the parent of the new class. To add a top-level class that is immediately below the Project Class, select "Insert as base class."

    3. To use an existing table locator, in the Locators group, select Inherited and select the table locator from the list.

      If the selected parent class has no table locators, you cannot use this option. Either select a different class, or select New and provide a name for the new table locator.

    4. From the Select Table Model list, select a table model.
    5. When you finish making your selections, click OK to save your settings and close the Create New Class and Table Locator window.

      The new class is added to the Project Tree. The Table Locator Properties window and the Document Viewer (Table Mode) are displayed so that you can further configure the table locator.

  5. Configure the new locator and click Close.

    The Table Locator Properties window closes.