Skip to main content Skip to complementary content

Creating a structure from a sample document

Import a document to automatically generate its structure.


  1. In the Data Mapper tab, expand the Hierarchical Mapper node and right-click Structures.
  2. Click New > Structure.
  3. In the wizard that opens, select Import a structure definition and click Next.
  4. Select the type of file you want to import and click Next.
  5. Select the file to use:
    • Select an existing resource in your workspace.
    • Import a local file.
    • Enter the URL to the file.
  6. Click Next.
  7. Select a folder and enter a name for your structure, then click Next.
  8. 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.
  9. Click Finish.


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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!