Important plugins - Cloud - 8.0

Talend Studio User Guide

Version
Cloud
8.0
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-02-29
Available in...

Data Fabric

MDM Platform

Plugins are extra components that add specific capabilities to the Talend MDM. Talend Studio proposes a list of plugins to be combined with a given Process. These plugins include callJob, groovy, and xslt.

The table below explains some of the plugins listed in Talend Studio and details their parameters.

Plugin Action Description
callJob Executes a Talend Job on master data (to modify or propagate it, for example).

For further information on the schemas used, see Schemas used in MDM processes to call Jobs.

This plugin executes a local Talend Job.

Parameters:

url: the local Talend Job URL.

Name: name of the input variable.

Value: value of the input variable.
Note: If you want to view the related Job, click the Open Job button to open it in the Integration perspective.
groovy Calls the groovy script and uses it to process and transform data. This plugin implements all the capabilities of the groovy script to process and transform data when it receives an Update Report. It can read the XML document, transform data and write in the XML document as well.
xslt Transforms an XML document using XSLT. This plugin implements xslt transformations on an input XML document. It supports XSLT 2.0 and is enriched with cross-referencing capabilities: specific instructions that help to perform on the fly cross-referencing on any master data stored in the MDM Hub. When the output method of the XSLT is set to xml or to xhtml. Cross-referencing is carried out after the XSLT is processed on all elements with the following attributes:
<MyElement
     xrefCluster='CLUSTER'
     xrefIn='TEST1, ..., TESTN'
     xrefOut='XPATH_IN_ITEM'
     xrefIgnore='true|false'
     xrefDefault='DEFAULT_VALUE'
>OLD_VALUE</MyElement>

Below is a definition of each of these attributes:

-xrefCluster: the container (cluster) where the items used for cross-referencing are stored.

-xrefIn: a series of XPaths tests to match this item content with a remote item.

-xrefOut: the XPath in the remote item, starting with the entity (concept) name, of the content that will replace the content of this item.

-xrefIgnore: optional, defaults to false. If set to true, the cross referencing will not fail if no item is found and the xrefDefault value will be inserted.

-xrefDefault: if xrefIgnore is set to true and the cross-referencing fails, this value will be used instead.

Input variables:

-xml: the xml on which to apply the XSLT.

-parameters: optional input parameters to the XSLT in the form of:

<Parameters>
   <Parameter>
       <Name>PARAMETER_NAME</Name>
       <Value>PARAMETER_VALUE</Value>
   </Parameter>
</Parameters>

Output variables:

- text: the result of the XSLT.

For an example on this plugin, see Example of the xslt plugin.