Selecting or updating context variables from the report editor - Cloud - 7.3

Talend Studio User Guide

Version
Cloud
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-03-20
Available in...

Big Data Platform

Data Fabric

Data Management Platform

Data Services Platform

MDM Platform

Real-Time Big Data Platform

Before you begin

  • You have selected the Profiling perspective.
  • At least one context connection has been created and saved in the Talend Studio repository.

About this task

From the Contexts view in the report editor in the Profiling perspective, you can:
  • Click the button to select context variables from the Studio repository, even if you have not exported the data mart settings as a context from the Preferences window.

  • Click the [+] button at the bottom of the Contexts view to define context variables from scratch.

  • Click the [+] button at the top right corner of the view to open a dialog box where you can configure context groups for the report.

For further information about contexts and their variables, see Using contexts and variables.

To change the context connection for a report from the report editor, do the following:

Procedure

  1. Double-click a report in the DQ Repository tree view to open the report editor.
    If the Contexts view is not open in the editor, select Window > Show View > Profiling > Contexts to open it.
  2. In the Contexts view, click the button at the bottom of the view.
    A dialog box opens to list all the context variables created and centralized in the Studio repository.
  3. Select the check box of the context connection you want to use to generate the results of the current report.
    You can select more than one context connection.
    If you do not want to get the context variables from the Studio repository but define them from scratch, you can click the [+] button at the bottom of the Contexts view and define the context values.
  4. Click OK.
    The variables of the selected context connections are listed in the Contexts view and in the Context group Settings view.
  5. Write the name of the context variable(s) from the Context group Settings table into the Database Connection Settings view. Write context. followed by the variable name.
  6. If required, you can modify any context variable by clicking the value you want to modify in the Contexts view.
    Context values are modified accordingly in the report editor but these updates are not propagated to the context group in the repository. You can run only the current report with the new context values.
  7. In the Database Connection Settings view, click Check to make sure that your connection is successful.
  8. Save the report and execute it.
    The report results will be written to the context connection defined in the report editor.