Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  1. Fotoware Alto
    • 11.14 Schreckhorn
    • Terminology
    • Solutions
    • User Guide - Deutsch
    • User Guide - English
    • API Changelog
  2. Fotoware Veloz
    • Managing users and groups
    • Configuring archives
    • Configuring workflows
    • Configuring site behavior
    • Navigating and searching to find your assets
    • Working with your assets
    • Editing asset metadata
    • Uploading files
    • Version Control in Fotoware
    • Albums - Creating and sharing collections
    • Placing assets in a CMS
    • Working with the Fotoware Pro interface
    • Using the Fotoware plugins
    • Consent management
    • User guide to FotoWeb for iPad (Legacy)
    • Picture conferencing with FotoWeb Screens (Legacy)
    • What's what in Fotoware
    • GDPR
    • Fotoware Veloz releases
    • Activity Exports
    • Fotoware Example Workflows
  3. Fotostation
    • Getting started with Fotostation
    • Viewing, selecting and sorting files
    • Managing your assets with archives
    • Adding metadata to assets
    • Searching for assets
    • Working with your assets
    • Version Control in Fotostation
    • Automating tasks with Actions
    • Configuring metadata fields and editors
    • Configuring Fotostation
    • Configuring Fotostation for multi-user environments
    • Troubleshooting Fotostation
  4. Fotoware Flow
    • What is Flow?
    • Getting started
    • Flow dictionary
  5. Fotoware On-Premises
    • Getting started
    • Index Manager
    • FotoWeb
    • Color Factory
    • Connect
    • Operations Center Guide
  6. Integrations and APIs
    • The Fotoware API
    • Creating integrations using embeddable widgets
    • Authorizing applications using OAuth
    • Auto-tagging
    • FotoWeb Drag and Drop export
    • Integration using webhooks
    • Optimizely and Episerver plugin documentation
    • User Interface Integrations
  7. Fotoware Mobile
    • User guide for Fotoware Mobile for iPhone and Android
    • User guide to FotoWeb for iPad (Legacy)
    • User guide to FotoWeb for iPhone and Android (Legacy)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Support

Table of Contents

Display Pattern Liquid Filters Additional Picturepark Liquid Filters Date Format Syntax
  • Home
  • Fotoware Alto
  • 11.14 Schreckhorn
  • Appendix

Liquid Syntax

02. March 2025

Elaine Foley

Table of Contents

Display Pattern Liquid Filters Additional Picturepark Liquid Filters Date Format Syntax

The display pattern and filters are written in Liquid Syntax, which is the Shopify templating language. It has objects (the field values), filters (manipulations like uppercase) and tags (if/else operations). Please make yourself familiar when you plan to update the display pattern with specific patterns.

{% if %}
 {{data.layerid.fieldid | filter}}
{% endif %}

In general, Liquid has three different types you can work with:

  • Objects: The value of the field you want to access. Always written in two pairs of curly braces. Access a field from a layer, and be aware that objects in Picturepark always start with data: data.layer.text
  • Filters: Change the output, e.g., append text, uppercase. Always added with a pipe to the objects inside the curly braces. Append Picturepark to the value: | append " Picturepark". You can add multiple filters to one value to translate, truncate, and append in one statement: {{data.layer.text | translate | truncate | append }}
  • Tags: For logic operations, e.g., if the field has a value. Always written in a pair of curly braces with a percentage symbol. Check if field exists: {% if data.layer.field %} {% endif %}

Find additional information and examples listed here: http://help.current-rms.com/en/articles/1040768-an-introduction-to-liquid-syntax

{% if data.layer.field %}
 {{data.layer.field | append " Picturepark"}}
{% endif %} 

The Picturepark display pattern uses Liquid objects for the field values. You can access all information directly. 

  1. Data.Schema.Field ( Data.Schema.Field ) will result in "Value1 (Value2)"
  2. Data.Schema.Field will result in “Value”

As tagboxes store multiple values (tags) you must use a liquid tag, the for loop: 
{% for item in Data.SchemaIAm.FieldAffectedFromSchemaIAm %} {{ item.FieldnameFromReferencedSchema.Language}} {% endfor%}

Display Pattern Liquid Filters

Liquid Filters are supported, but the C# naming convention must be respected. Find here an extensive list of possible filters, some of which may not work in Picturepark. 

Look here for more filters: https://github.com/Shopify/liquid/wiki/Liquid-for-Designers#standard-filters

{{data.schema.Textfield | truncate: 5, '' }}

  • truncates down to 5 characters

{{data.schema.Textfield | truncate: 5, '...' }}

  • truncates down to 5 characters and append three dots

{{data.schema.Textfield | upcase }}

  • converts the values to uppercase

{{data.schema.Textfield | append: ' VIT' }}

  • appends VIT to the values

{{data.fileMetadata.fileName | replace: data.imageMetadata.fileExtension , "" }}

  • replaces the file extionsion in the original file name with nothing aka removes the file extension

{{data.schema.Textfield | capitalize }}

  • capitalizes every word

{{data.schema.Textfield | downcase }}

  • converts the values to lowercase

{{data.schema.Textfield | prepend: 'Picturepark' }}

  • prepends Picturepark to the value in the field

If you find a specific filter you want to use that is not working, please contact support@picturepark.com.

Additional Picturepark Liquid Filters

{{data.fieldpath2textfield | translate }}

  • Displays the correct translated value of the field, if available, even without display pattern translations.

{{data.fieldpath2tagboxfield | tagbox_name }}

  • Use the name pattern of the linked lists for display

{{data.fieldpath2tagboxfield | tagbox_list }}

  • Use the list pattern of the linked lists for display

{{data.fieldpath2datefield | local_date}}

  • Displays the date value in your computer's regional setting time zone. 

Date Format Syntax

You can format the date to different formats, the syntax is like strf.

  • %m > month as 01..12
  • %b > month as Jan…Dec
  • %Y > year with century as 2021
  • %y > year without century as 21
{{data.xmpMetadata.xmp.createDate | date: "%Y-%m"}}
Output: 2021-06
{{data.xmpMetadata.xmp.createDate | date: "%Y"}}
Output: 2021
{{data.xmpMetadata.xmp.createDate | date: "%m, %Y"}}
Output: 06, 2021

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Display Pattern: Date Time
  • Content Relation Items Changed Condition
  • Business Rule Condition: Content Relation Items Changed Condition
eco-lighthouse-miljøfyrtårn

Company

  • About us
  • Resellers
  • Careers
  • Contact us

Help & support

  • Support center
  • Consultancy
  • Tech partners
  • Fotostation
  • System status

Trust Center

  • Legal
  • Security
  • Sustainability & ESG

Locations

Fotoware AS (HQ)
Tollbugata 35
0157 OSLO
Norway
FotoWare Switzerland AG
Industriestrasse 25
5033 Buchs (AG)
Switzerland

Copyright 2025 Fotoware All rights reserved.

  • Terms of service
  • Privacy policy
  • Cookie policy

Knowledge Base Software powered by Helpjuice

Expand