Exporting a metadata definition as a context group - 7.3

Using context variables in Talend Studio

Version
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development > Designing Jobs
Last publication date
2024-02-06

You can export metadata definitions as context groups to use their parameters on a Job level, rather than a component level.

Before you begin

You must have created a metadata definition (see Creating a metadata definition).

Procedure

  1. In the Repository, expand Metadata > File delimited, right-click the file delimited metadata of your choice and click Edit file delimited.
  2. The metadata has already been set up, click Next twice.
    You are brought to Step 3 in the wizard.
  3. Click Export as context.
  4. Select Create a new repository context.
  5. Click Next.
  6. In the Name field, enter a name.

    Example

    moviesContextGroup
  7. Optional: In the Purpose field, enter a purpose.

    Example

    Reusing my movie metadata as context
  8. Optional: In the Description field, enter a description.

    Example

    File delimited metadata as a context group
    Tip: Enter a Purpose and Description to stay organized.
  9. Click Next.
    All parameters have been changed to variables with the default values.
  10. Click Finish
    You are brought back to the Edit an existing Delimited file window.
  11. Click Finish.
    1. Optional: Select if you want to propagate the modifications to all Jobs.
    2. Optional: Select the items you want to update.
    3. Optional: Click OK.
    4. Optional: Select if you want to add the context parameters to Jobs using this connection.

Results

In the Component view of the movies component, you may see that all the default property values have been replaced by context variables.