Impulse Values

The liquid-field manipulator can use liquid templates to build a more complicated field value. There are two different attributes of the field that are used based on what type of field is being built.

  1. Value

  2. Relation

Value

A value field is used for most field types.

Used with field types:

  • Array

  • Big Integer

  • Big String

  • Boolean

  • Checkbox

  • Date

  • Date-Time

  • Decimal

  • Float

  • Integer

  • JSON

  • Key Value

  • Multi-select

  • Radio

  • Select

  • String

  • Text Area

  • Time

  • WYSIWYG

Template

Example

Relation

A relation field is used for any relationship type field.

Used with field types:

  • Category

  • File

  • Image

  • Relationship

  • Tag

Template

Example

Example Use Case

This use case creates a new array of relation values based on values found from an attribute in a JSON field. This uses a variety of filters and tags in the liquid template to convert an array of json strings to an array of relation values for a relationship field.

Last updated