Creating a structure from a sample document - 8.0

Talend Data Mapper User Guide

Version
8.0
Language
English
Product
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development > Designing Jobs
Last publication date
2024-03-28

Import a document to automatically generate its structure.

Procedure

  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.

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.