Components > Mapplets > Mapplet input and output
  

Mapplet input and output

To use a mapplet in a Mapplet transformation, you must configure the mapplet input and output.
A mapplet receives input from an upstream transformation through an Input transformation, from a Source transformation, or both.
A mapplet passes output to a downstream transformation through an Output transformation, to a Target transformation, or both.
A mapplet must contain at least one Input transformation or one Output transformation.

Mapplet input

Mapplet input can be an Input transformation, a Source transformation, or both.
Use an Input transformation when you want the mapplet to receive input data from one or more upstream transformations. You can use multiple Input transformations in a mapplet. When you use the mapplet in a Mapplet transformation, each Input transformation becomes an input group. Use multiple Input transformations when you have multiple pipelines in a mapplet, or when you want the mapplet to receive input from multiple upstream transformations.
You include one or more Source transformations in a mapplet to provide source data. When you use only Source transformations for mapplet input, the mapplet is the first object in the mapping pipeline and contains no input groups. If the Source transformation reads hierarchical data, you must specify the validation type in the Source transformation.
A mapplet must contain at least one Input transformation or Source transformation.
Note: Not all source types can be used in a Source transformation in a mapplet. For more information, see the help for the appropriate connector.
For information about configuring Input and Source transformations, see Transformations.

Mapplet output

Mapplet output can be to an Output transformation, a Target transformation, or both.
Use an Output transformation when you want the mapplet to pass data to one or more downstream transformations. When you use the mapplet in a Mapplet transformation, each Output transformation becomes an output group. Each output group can pass data to one or more pipelines in a mapping.
Use a Target transformation when you want the mapplet to write data to a target. When you use a Target transformation with no Output transformation, the mapplet is the last object in the mapping pipeline.
A mapplet must contain at least one Output transformation or Target transformation.
For information about configuring Output and Target transformations, see Transformations.