HTML Generator Snap

In this article

Overview

This snap is used to generate a new HTML as a document for the next snap in the pipeline.

Snap Type

HTML Generator Snap is a Write type Snap.

Prerequisites

  • None.

Limitations and Known Issues

None.

Accounts

This Snap dose not require any account.

Snap Views

Type

Description

Type

Description

Input 

This Snap has at most one document input view. Each document contains data in the form of json..

Output

This Snap has at most one document output view. Each document contains corresponding response in the form of json.

Error

This Snap has at most one document error view and produces zero or more documents in the view. Each document contains the corresponding error record if snap is not able to process data.

Snap Settings

Field Name

Description

Field Name

Description

Label

required

The 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.

Title

required

Provide the title for the HTML

Style File

Provide the Style File

Script File

Provide the Script File (Edit HTML will allow you to Edit the HTML)

Snap Execution

optional

Specifies the execution type:

  • Validate & Execute: Performs limited execution of the Snap (up to 2000 records based on Preview doc count, default is  50 records) during Pipeline validation; performs full execution of the Snap (unlimited records) during Pipeline execution.

  • Execute only: Performs full execution of the Snap during Pipeline execution; does not execute the Snap during Pipeline validation.

  • Disabled: Disables the Snap and, by extension, its downstream Snaps.

Default value: Execute only

Snap Pack History