Import a document to automatically generate its structure.
Procedure
-
In the Data Mapper tab, expand the
Hierarchical Mapper node and right-click
Structures.
-
Click .
-
In the wizard that opens, select Import a structure definition and click Next.
-
Select the type of file you want to import and click
Next.
-
Select the file to use:
- Select an existing resource in your workspace.
- Import a local file.
- Enter the URL to the file.
-
Click Next.
-
Select a folder and enter a name for your structure, then click
Next.
- Optional:
Configure the representation properties.
This step appears for some representations, such as CSV and COBOL. You can
still edit these properties after the import. For more information, see
Representations properties.
-
Click Finish.
Results
Your structure is
created and opens in the editor. The imported file is set as sample document, when
you select an element in the structure it is highlighted in the Document tab.
The elements are read-only by default, but if you need to edit
some element properties, you can click the Read
Only drop-down list and select Editable. For more information about these properties, see Structure element properties.