Asset Write

In this Article

Overview

You can use Asset Write Snap to interact with the assets using commands and make modifications to the Asset Database. Marketo assets include the following:

  • Folders

  • Programs

  • Emails

  • Email Templates

  • Landing Pages

  • Landing Page Templates

  • Snippets

  • Forms

  • Tokens

Prerequisites

A valid account with the required permissions. See Roles and Permissions for more information.

Support for Ultra Pipelines

Works in Ultra Pipelines

Limitations

Known Issues

  • This Snap fails with 1003 error on selecting Create File, Clone Form, Create Email Template, and Clone Landing Page.

  • Update Thank you page is failing to update Data in Marketo app.

  • If the API rate limit of 100 calls per 20 seconds exceed, the API responds with a 606 error code and the Snap fails.

  • Marketo Snaps do not support some special characters (for example, (𝖖𝖗𝖘𝖬𝖭𝖮𝗕𝗖𝘧𝘨𝘩𝛀𝛁𝛂𝛃𝛄𝛅𝛆𝛇,𝖗𝖘𝖬𝛌𝛗𝛘𝛙𝛴).

Snap Input and Output

Input/Output

Type of View

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input/Output

Type of View

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 0

  • Max: 2

  • Mapper Snap

  • Copy Snap

Write to the Asset database using command.

Output

Document



  • Min: 0

  • Max: 1

  • Mapper Snap

  • Copy Snap

Interact with Asset database and perform action according to the given command.

Snap Settings

  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon ( ): Indicates a list that is dynamically populated 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 fieldset.

Field Name

Description

Field Name

Description

Label

Specify a name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

Default ValueAsset Write
ExampleClone Email

Command

Enter the command to query the Asset database to retrieve the desired recordsAlternatively, click the  button to fetch a list of commands.

Default Value: N/A
Example: Update Program Metadata

Query Parameters

You can use this fieldset to define the name and value for query parameters on request.

  • This field set only supports pipeline parameters and does not support the upstream values.

  • Ensure that the query parameters are unique and not defined in both input documents and properties.

Name

Specify the name of the query parameter for retrieving assets.

Default Value: N/A
Exampletag value

Value

Specify the value for the query parameter for retrieving assets

Default Value: N/A
ExampleDavid

Snap Execution

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

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

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

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

Default ValueValidate & Execute
ExampleDisabled

Troubleshooting

Error

Reason

Resolution

Error

Reason

Resolution

701 error

Special characters, such as "!@#$%^&*()_+-={}[]\/?<>", do not work as object names.

Avoid using special characters in the Snap.

Examples

Creating a Form

We can interact and perform action on the records and data in the Asset database. In this example, we create a form in the existing parent folder using Asset Write Snap. We use the Asset Write Snap to accomplish this task.

First, we provide the required input through Mapper as per the command selected in the Asset Write Snap.

Upon execution, we see confirmation of the mapping.

Next, we configure the Asset Write Snap with required inputs under Snap settings.

Upon validation, we see the following output in the Snap's preview.


Download this Pipeline

Downloads

Important Steps to Successfully Reuse Pipelines

  1. Download and import the Pipeline into SnapLogic.

  2. Configure Snap accounts as applicable.

  3. Provide Pipeline parameters as applicable.

  File Modified

File Example_AssetWrite_CreateForm.slp

Sept 12, 2022 by Lakshmi Manda

Snap Pack History