In this pipeline, the JSON Formatter Snap, creates a file with a header value on a specified location. The metadata is passed to the File Writer Snap using the Binary Header and the Content properties on the JSON Formatter Snap.
-
Configure the JSON Generator Snap to pass the values for the file and the records to be created.
The JSON Generator Snap passes the values
for the file and the records to be created.
-
Configure the JSON Formatter Snap to pass
the metadata to the File Writer Snap.
-
Configure the File Writer Snap to create the
file using metadata passed from the JSON Formatter Snap.
The File Writer Snap creates the file "demo-" + $['content-location'] + ".json" on a
specified content location.
The successful execution of the pipeline displays the below output preview:
Note: The
file headers created on the sldb location, and the files names as demo-abc.json
and so on.
To successfully reuse pipelines:
- Download and import the pipeline into SnapLogic.
- Configure Snap accounts as applicable.
- Provide pipeline parameters as applicable.