Creating a context group - 8.0

Using context variables in Talend Studio

Version
8.0
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

Context groups contain values which change according to the context (prod or staging for example) in which you run a Job.

Procedure

  1. In the Repository, right-click Contexts and click Create context group.
  2. In the Name field, enter a name.

    Example

    databasePropertyType
  3. Optional: In the Purpose field, enter a purpose.

    Example

    Fetching context from a database
  4. Optional: In the Description field, enter a description.

    Example

    Setting up context variables for different situations
    Tip: Enter a Purpose and Description to stay organized.
  5. Click the plus button to add a context value.
    1. In the Name field, enter a name.

      Example

      1. host
      2. port
      3. database
      4. username
      5. password
    2. Select the Type property of your context value.

      Example

      1. For host, select Directory.
      2. For port, select Integer.
      3. For password, select Password.
    3. Enter the Value property of your context value.

      Example

      1. For host, enter 127.0.0.1.
      2. For port, enter 3306.
      3. For database, enter csv_db 6.
      4. For username, enter root.
  6. Click Finish.

Results

The new context group, databasePropertyType 0.1, displays under Contexts in the Repository.