Table of Contents

Step Operation - Template

Template

template is an intermediate step that creates a data resource from a template.

The template:

Arguments

The template operations accept the following arguments.

Engine

The engine is the process that is responsible to transform a template in a document.

Tabulify supports the following value as engine:

Type

type is the media type of the template. The type default to the type of the template.

Template Match

If the operation has:

Syntax

This operation is a intermediate pipeline operation

-   name: "Json"
    op: "template"
    args:
        template-selectors:
            - pattern@connection
            - pattern2@connection2
-   name: "Json"
    op: "template"
    args:
        template-inline:
            type: json
            content: |
                {
                    "${group}": {
                        "${item_code}": {
                            "price": "${price}",
                            "description": "${description}"
                        }
                }