Adobe Experience Platform File Generator (PS Snap)

In this article

Overview

You can use this Snap to read data from upstream Snaps and prepare them for writing into Adobe Enterprise Platform (AEP) as JSON or Parquet files.

Snap Type

The Adobe Experience Platform File Generator Snap is a read Snap that reads data from the upstream Snaps.

Prerequisites

The schema you want to use with this Snap should exist in the Adobe Experience Platform. If you do not have the schema ready, create it using the Adobe Experience Platform user interface before using this Snap.

Limitations and Known Issues

When the Schema Name, Dataset Name, and Connectors Object Name fields are expression enabled, their purpose is to read Pipeline parameter values. This Snap does not read values from upstream Snaps. You can add this Snap to the Pipelines with other Snaps to execute them in a sequence.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 1

  • Max: 1

  • Mapper Snap

  • Binary to Document Snap

  • Sort Snap

Each input document contains documents that must be prepared for writing to Adobe Experience Platform.

Output

Document

  • Min: 1

  • Max: 1

  • Mapper Snap

  • Join Snap

  • Union Snap

Each output document lists out the absolute path to the reformatted output file.

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:

  • Stop Pipeline Execution: Stops the current Pipeline execution if the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap Settings

  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon (): Indicates a dynamically populated list based on the configuration.

  • Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ): Indicates that you can add fields in the fieldset.

  • Remove icon ( ): Indicates that you can remove fields from the fields set.

  • The upload icon ( ): Indicates that you can upload files.

Field Name

Field Type

Description

Field Name

Field Type

Description

Label*

 

Default Value: Adobe Experience Platform File Generator
Example: Read and Reformat Documents from S3

String

The name for the Snap. Modify this to be more specific, especially if there is more than one of the same Snap in the Pipeline.

Schema Name*

 

Default Value: NA
Example: Snaplogic Demo Experience Event Schema

String

The name of the schema to be used to create the output Parquet or JSON file. This schema should already have been created in the Adobe Experience Platform.

This Snap reads Pipeline parameters but not values from upstream Snaps. However, you can add this Snap in Pipelines with other Snaps to execute them in a sequence.

Schema Type

 

Default Value: Parquet
Example: JSON

Dropdown list

Select the schema type you want to use to create the file that must be written. The options available are:

  • Parquet

  • JSON

Snap Execution

Default Value: Execute only
Example: Validate & Execute

Dropdown list

Select one of the following three modes in which the Snap executes:

  • Validate & Execute: Performs limited execution of the Snap and generates a data preview during Pipeline validation. Subsequently, performs complete execution of the Snap (unlimited records) during Pipeline runtime.

  • Execute only: Performs complete execution of the Snap during Pipeline execution without generating preview data.

  • Disabled: Disables the Snap and all Snaps that are downstream from it.

Troubleshooting

Error

Reason

Resolution

Error

Reason

Resolution

Invalid Snap configuration

Property Schema Name is null or missing

Provide a valid schema name.

Unable to load the private key for the given alias

File not found on <your SnapLogic instance> at <account location>

This error appears when the account doesn't have valid values. Ensure that the Keystore path, Keystore passphrase, private key alias, and private key passphrase are correct. Also, you must upload the Keystore in the Keystore Path that you specify.

Unable to obtain the access token

This message appears when the endpoint account details are incorrect.

Check your Organization ID, Technical Account ID, Client ID, and Client Secret Key details and retry.

 

Snap Pack History

Â