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

How SmartReplace works Importing SmartReplace files Entering metadata using SmartReplace SmartReplace files with several columns Creating your own code replacement files Configuring SmartReplace keys
  • Home
  • Fotostation
  • Adding metadata to assets

Using code replacements for quick metadata input

SmartReplace lets you define short codes to quickly fill in metadata. Learn how!

11. April 2025

Elaine Foley

Table of Contents

How SmartReplace works Importing SmartReplace files Entering metadata using SmartReplace SmartReplace files with several columns Creating your own code replacement files Configuring SmartReplace keys

How SmartReplace works

FotoStation offers SmartReplace, a code replacement feature that lets you define short codes for quick input of metadata.

This is especially useful if you cover sports events, for example. Using SmartReplace you can quickly insert a player's jersey number in any metadata field and have FotoStation fill in the player's name and additional predefined information for you.

Code replacement files are regular tab-separated plain text files that can be created from scratch, or you can purchase them online from various vendors, for example from http://www.codereplacements.com.

Importing SmartReplace files

To use SmartReplace, you first need to create or import some code replacement files. Firstly, open FotoStation's metadata editor (Ctrl-T), where you find a SmartReplace menu.

If you have a code replacement file you would like to import and start using, choose Import SmartReplace file... from the menu. If you have a collection of files and would like to import them quickly, choose Manage SmartReplace files... which opens the folder where these should be stored so that you can drag them in from any other folder.

Entering metadata using SmartReplace

Having imported your SmartReplace files, depending on their format they will show up directly under the SmartReplace menu or within the Home Team / Visitor team submenus.

  • Home/Visitor team lists - These use numerical abbreviations (typically jersey numbers), and are listed under Home / Visitor team submenus
  • Lists that use alphanumerical abbreviations - these will be listed outside the Home/Visitor team submenus.

To start, simply select in the menu the file(s) you want to use replacement codes from. Make sure there is no duplicate data in the files that may cause undesired input.

Having selected a SmartReplace file, you can now enter /<code> to insert content based on the code.

For example, entering /h1 will by insert the entry numbered 1 from the code replacement list you selected as home team. (See the actual syntax of the smartreplace files below.)

Similarly entering /v1 inserts entry number 1 from the visitor team list.

SmartReplace files with several columns

Certain code replacement files have several columns per entries to allow you to choose from several variants of the same entry.

For example, an entry in the code replacement file may look like this:

1<tab>Arsenal goalkeeper Wojciech Szczesny (1)<tab>goalkeeper Wojciech Szczesny (1)<tab>Wojciech Szczesny<tab>Szczesny

Assuming this file is defined as your Home team list, you can insert different content by adding a hash to the insert code:

/h1 - Arsenal goalkeeper Wojciech Szczesny (1)
/h1#2 - goalkeeper Wojciech Szczesny (1)
/h1#3 - Wojciech Szczesny
/h1#4 - Szczesny

Creating your own code replacement files

You can create your own code replacement files yourself using a plain text editor.

The typical syntax of a line of content in a standard code replacement file looks similar to this:

1<tab>Arsenal goalkeeper Wojciech Szczesny (1)<tab>goalkeeper Wojciech Szczesny (1)<tab>Wojciech Szczesny<tab>Szczesny

With this syntax, the file you create, after being imported, will be sorted under the Home Team/Visitor Team submenu in the SmartReplace menu in FotoStation's metadata editor. To use it, select it for your home team or visitor team, and then enter /h1, for example, in the text editor to insert the full string Arsenal goalkeeper Wojciech Szczesny (1). To insert content from the other columns, enter /h1#2 to insert content from column 2, /h1#3 to insert column 3, and so on, as explained in the Entering Metadata section above.

You can also create code replacement files that contain codes for oft-entered content, such as copyright strings and other information. Such a file could for example look like this:

cp<tab>Copyright (c) 2014 Fotoware a.s<tab>Fotoware a.s
addr<tab>Bryggegata 7, N-0250 Oslo, Norway

These files cannot be used for entering home/visitor team metadata, as that relies on numerical codes only.

However, by building on the example above, you can create short codes for any information you frequently enter to save work.

Configuring SmartReplace keys

It's possible to configure the keys that are used to trigger SmartReplace in the program configuration.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Content Relation Items Changed Condition
  • Mapping of metadata category codes
  • Indexing PDF documents
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