Skip to main content

Creating and editing a map from the command line

Talend Data Mapper comes with a scripting capability that can be used to create and edit structures and maps directly from a command line. It is available with any Talend Data Mapper API jar file (tdm-api-<version>.jar or tdm-camel-<version>.jar).

The scripting capability works in a workspace and a project designated by the user. It is recommended to use a different workspace from the one used by Talend Studio, as objects created in this way cannot be used directly by Talend Studio because they do not have the accompanying .properties files, and then import the objects you create into Talend Studio later.

To import any objects created by the Talend Data Mapper scripting capability into Talend Studio, you must import the relevant project from your local workspace into Talend Studio. When you import the project, take care to select the Copy projects into workspace checkbox, or else the project will be linked to the workspace.

For more information on how to import projects, see Importing local projects.

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!