Mappings > Mappings > Detailed data preview in mapplets
  

Detailed data preview in mapplets

When you preview data in a mapping that contains a Mapplet transformation, you can drill down on the Mapplet transformation and preview data for transformations in the mapplet. If the mapplet contains another Mapplet transformation, you can continue to drill down to subsequent mapplets.
When you preview transformations in a mapplet, Data Integration runs data preview in the context of the mapping that you drilled down from. Data Integration creates a temporary preview job that uses the mapping source data and a virtual target created directly downstream from the transformation that you want to preview in the mapplet. After the job runs, Data Integration displays data that is transformed by the selected transformation.
To preview data in a mapplet, you must drill down to the mapplet from a mapping even if the mapplet contains a Source transformation. You cannot run data preview in a mapplet that you open in the Mapplet Designer.
The following image shows the Preview panel after running data preview in a mapplet:
You run a preview job in a mapplet the same way that you run a preview job in a mapping. The Data Preview wizard displays the preview context of the mapplet as a breadcrumb and the mapping that the mapplet is referenced in. If the mapping or mapplet contains input parameters, Data Integration prompts you to enter parameter values when you run the preview.
You can preview data for any transformation except for the following transformations:
You can only preview mapplet data if the mapplet was created in Data Integration and is referenced in a mapping that was created after the April 2022 release.

Running detailed data preview in a mapplet

When you run a data preview job in a mapping that contains a Mapplet transformation, you can drill down on the Mapplet transformation and preview data as it passes through the mapplet.
Before you run a detailed preview for a mapplet, verify that the following requirements are met:
To preview detailed data in a mapplet, perform the following steps:
    1In the mapping, open the preview panel for the Mapplet transformation.
    2Click Detailed Preview in Mapplet.
    The mapplet opens.
    3In the mapplet, select the transformation that you want to preview and click Run Preview.
    4In the Data Preview wizard, configure the number of rows to preview, the runtime environment, and any parameters.
    5Click Run Preview.
    6To return to the mapping or to another mapplet, click the asset name in the breadcrumb.