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

Where can dynamic tags be used? Available tags Dynamic tags in metadata macros Dynamic tags in search expressions Dynamic tags in search terms Dynamic tags in search phrases How dynamic tags are interpreted in stored searches Dynamic tag syntax
  • Home
  • Fotoware Veloz
  • Navigating and searching to find your assets
  • Searching in FotoWare
  • Dynamic tags

Dynamic tags

Dynamic tags can be used to automatically insert text, such as the current date and time or the current user's username or email address into a search expression or a metadata field, etc.

25. March 2025

Elaine Foley

Table of Contents

Where can dynamic tags be used? Available tags Dynamic tags in metadata macros Dynamic tags in search expressions Dynamic tags in search terms Dynamic tags in search phrases How dynamic tags are interpreted in stored searches Dynamic tag syntax

Where can dynamic tags be used?

This article explains where and how dynamic tags can be used.

  1. In metadata macros in actions
  2. In search expressions (as independent terms and phrases)
  3. In Marker conditions

Further details are below.

Available tags

Every valid dynamic variable is expanded to its value, which is usually used as a literal string. In search expressions, it may also be interpreted as a date/time value or number.

For a list of dynamic variables and their usage, see:

  • Date/Time tags
  • User tags
  • Action tags
  • Legacy date and time tags

Dynamic tags in metadata macros

If a dynamic tag appears in a metadata macro in an action, then it is expanded when the action is run.

Metadata macros allow additional dynamic tags which expand to metadata of the assets processed by the action or parameters of the action or task:

  • Dynamic tags for use in FotoWeb Actions

For backward-compatibility, some additional tags that expand to the current date and time are available in metadata macros. Some tags behave differently when used in metadata macros. For more information, see Legacy Date/Time Tag Reference.

Dynamic tags in search expressions

Dynamic tags can be used directly in search expressions in the following places:

  • In the custom search string of a taxonomy item
  • In the Search for field of the query of a SmartFolder

Dynamic tags in search terms

If a dynamic tag appears as an independent term (i.e., outside of double quotes), then its value is used as part of the search expression as if it was given literally. For example, consider the expression:

mt:{{now}}

The value of this tag is the current date and time in ISO 8601 format, for example,

2023-05-17T12:30:45

So the resulting expression will do the same as

mt:2023-05-17T12:30:45

i.e., search for all assets with a modification time of 12:30:45 on 17th of May, 2023 in local time.

If the dynamic tag has invalid syntax, then the entire search expression is malformed.

Dynamic tags in search phrases

A phrase (search text in double quotes) may contain multiple dynamic tags. When the search is executed, each dynamic tag is expanded to its value. For example:

mt:"{{now.date}}T{{now.hour}}:00:00"~~{{now}}

This expression searches for all assets that were modified since the start of the current hour until now. For example, it might translate to:

mt:2016-05-17T12:00:00~~2016-05-17T12:30:45

Note that the contents of the phrase on the left of the ~~ operator are interpreted as a date/time value. This is because it appears as an operand of a range operator. The left operand is created using two dynamic tags. One of them expands to the current date, and the other expands to the current hour.

If a dynamic tag in a phrase has invalid syntax or is invalid for another reason, then it is not replaced. All other tags are still replaced if they are valid.

How dynamic tags are interpreted in stored searches

If a search expression with a dynamic tag is stored - e.g. an expression using the date tag {{now}} - the tag will be resolved at the time of executing the search, not when it's stored. For example, this applies to searches in SmartFolders and taxonomy custom searches.

mt:{{now-P1D}}~~{{now}}

then contents of the smart folder are always the result of a search for all assets modified since the day before the current day.

Dynamic tag syntax

In general, a dynamic tag looks as follows:

{{[NAMESPACE.]ID[:ARGUMENT][+|-OFFSET]}}

where

Component Description Example
NAMESPACE The namespace (or category) of the tag. For example, the now namespace has tags that expand to the current local time.

In the tag

{{now.date}}

the namespace is now. The tag

{{now}}

does not have a namespace.

 

ID The id of the tag. Together, the (optional) namespace and the ID define what the tag does.

In the tag

{{now.date}}

the ID is date. In the tag

{{now}}

the ID is now.

ARGUMENT An optional argument following a colon. Some tags are parameterized, which means they require an argument.

The tag

{{currentUser.property:Department}}

is a parameterized tag. It expands to the value of the Departmentproperty in the property bag of the current user.

OFFSET

Some dynamic tags allow specifying an offset, which is always a time duration or a number. The offset may be positive or negative, which is indicated by a plus or minus sign that must precede the offset.

If the offset is a time duration, then it must be given in ISO 8601 format, which is explained below.

The tag

{{now+P1D}}

has an offset of "plus one day" and expands to the date and time one day after the current time.

The tag

{{now.year-1}}

has an offset of minus one and expands to the number of the year before the current year.

evolving labels interactive markers

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Changing a site's default page title
  • Choosing a default site language
  • Configuring cookie warnings
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