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
  • Home
  • Fotoware Veloz
  • Navigating and searching to find your assets
  • Searching in FotoWare
  • Dynamic tags

Dynamic action tags

Applies to: FotoWare 8.0 Feature Release 10

11. April 2025

Elaine Foley

This article describes all dynamic tags that can be used in metadata macros and dynamically generated file names in actions and marker actions.

These tags cannot be used in search expressions.

Tags in the namespace task refer to the currently running action or marker action.

Tags in the namespace asset refer to one of the following:

The current asset being processed (for example, when used in a metadata macro, the asset the metadata macro is being applied to),

The (single) asset that is processed by an interactive marker, or

The first asset that is processed by an action (e.g., when used in the body text of a notification email)

For more information about actions and markers, see the Configuring Workflows guide for FotoWeb.

Tag Description Examples

{{task.count}}

{{task.count:DIGITS}}

Index of the current asset in the list of assets being processed by the currently running action.

Indexes start with zero.

If present, the DIGITS parameter specifies the minimum number of digits that are used to represent the index. If the number has fewer digits, then leading zeroes are added.

If not present, then no leading zeroes are added.

For the third asset being processed, {{task.count}} expands to

2

whereas {{task.count:3}}expands to

002

{{task.total}}

{{task.total:DIGITS}}

Total number of assets being processed by the currently running action.

If present, the DIGITS parameter specifies the minimum number of digits that are used to represent the number. If the number has fewer digits, then leading zeroes are added.

If not present, then no leading zeroes are added.

If five assets are being processed, {{task.total}} expands to

5

whereas {{task.total:3}}expands to

005

.

{{task.href}}

URL of the action or marker.

Can be used to uniquely identify the marker or action.

The format of the URL is intentionally unspecified. No assumptions should be made about the format of URLs. URLs should not be parsed or generated by third-party applications.

No requests should be made to these URLs, as they are not part of the official FotoWeb API.

{{task.job}}

Unique ID of the task that is currently running.

Whenever an action or marker action is run, a new unique ID is generated.

Can be used to identify assets that were processed in the same batch.

Unspecified format. Treat as an opaque string.
{{task.id}} Unique ID of the action or marker. Unspecified format. Treat as opaque string.
{{task.metadata:FIELD}}

Value of a metadata field that was entered interactively by the user when running the action.

Interactive actions may be configured to show a metadata editor to the user. This tag expands to the value that the user entered for a specific metadata field.

If the metadata field can be specified per asset rather than per job, then this tag expands to the value that was entered by the user for the asset which is currently being processed.

The FIELD parameter must be the numeric ID of the metadata field. For a reference of standard field numbers, see the Fotoware default field code reference topic.

 
{{task.name}}

Human-readable name of the action or marker.

Do not use this programmatically as a unique ID. Use {{task.href}} or {{task.id}} instead.

 
{{task.type}} Either action or marker, depending on whether an action or marker action is being run.  

{{asset.ext}}

{{asset.extension}}

File extension of the asset, not including the dot. jpg

{{asset.name}}

{{asset.filename}}

File name of the asset, not including the folder path  
{{asset.href}} URL of the asset

The format of the URL is intentionally unspecified. No assumptions should be made about the format of URLs. URLs should not be parsed or generated by third-party applications.

The URL can be used by an API client to query the asset representation of the asset.

For more information, see The FotoWeb REST API.

{{asset:FIELD}}

{{asset.metadata:FIELD}}

Value of a metadata field of the asset.

If the metadata field was changed interactively by the user entering a new value in an interactive metadata editor as part of running the action, then this tag expands to the latest modified value.

If multiple metadata macros are run as part of the action, and they modify the same metadata field, then this tag expands to the value of the field after applying all of the previous metadata macros in the order in which they are defined in the action configuration.

This means that the order of metadata macros matters.

The FIELD parameter must be the numeric ID of the metadata field. For a reference of standard field numbers, see the Fotoware default field code reference topic.

If the user entered the value foo for field 5 in an interactive editor, then

{{asset.metadata:5}}

if used in the first metadata macro expands to foo.

If the following metadata macro is used to set the value of field 120:

Title: {{asset.metadata:5}}

then in the next metadata macro, the tag

{{asset.metadata:120}}

expands to:

Title: foo
interactive labels energetic markers

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Dynamic tags
  • Auto-tagging using actions
  • Auto-tagging using webhooks
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