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
    • Release Notes
    • End-User Manual
    • Solutions
    • Terminology
    • User Guides
    • API Changelog
  2. Fotoware Veloz
    • Fotoware Veloz releases
    • 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 Content Management System (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
    • Activity Exports
    • Example workflows
  3. Fotostation
    • Getting started with Fotostation
    • Viewing, selecting and sorting files
    • Managing your assets with archives
    • Adding metadata to assets in Fotostation
    • 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
    • About Flow
    • Getting started
    • Flow dictionary
  5. Fotoware On-premises
    • Fotoware On-premises releases
    • Getting started
    • Index Manager
    • FotoWeb
    • Color Factory
    • Connect
    • Operations Center Guide
  6. Integrations and APIs
    • Fotoware Alto API
    • Fotoware Veloz and On-premises API
  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

ODBC setup
  • Home
  • Fotoware On-premises
  • Color Factory
  • Color Factory Reference Guide (On-premises)
  • Managing metadata (On-Premises)

Reading or writing metadata with a database connection (ODBC)

How to configure Color Factory to read from an ODBC connection to update metadata, or read from metadata dn update an ODBC connection

15. April 2026

Elaine Foley

Table of Contents

ODBC setup

ODBC setup

In the Color Factory Settings app, expand the relevant channel and select Metadata. Open the ODBC (Open Database Connectivity) tab.

This functionality makes it possible to extract text from a database and store it in the files processed in the channel or to store metadata from the files in the connected database.

This is done by setting up a data source and mapping database fields to XMP metadata fields:

  1. First, select Activate ODBC connection, then enter a Data Source Name (DSN) or choose one by selecting Browse (...).

Note: For this to function correctly, a system DSN must be configured on the server; a User DSN will not work. You can optionally enter the username and password required to access the DSN.

  1. Choose how Color Factory should interact with the database. You have three options:

  • Read from database, write to file - searches the database for a matching record, extracts content from it, and stores the information in the file processed in the channel.
  • Read from file, update to database - updates the matching record in the database with the content in the files processed in the channel.
  • Read from file, update and insert to database - updates existing records in the database with metadata from the files, and inserts new records in the database if new files are processed that don't have an existing record.
  1. Configure the mapping of column contents to metadata fields. Select Configure and choose a table from the DSN in the Select table dropdown list.


     
  2. Choose the metadata field to which the content should be mapped and the action to perform in this field. You can replace existing content in the chosen metadata field or append the new data before or after any existing text. You can add a further query to the base SQL query (primary key) using AND.
  3. Choose which metadata field you want to use as the Primary key field. Color Factory will try to match the content of that metadata field to an existing record in the database. When a match has been found, the action specified for each field will be performed (replace or insert before/after).

    If you choose File name in the Primary key field, Color Factory can search for a part of the name, the full name, or the full name with an extension. Choose Use part of name to specify the number of characters Color Factory should compare in the file name and the database column content.
  • Append to ‘WHERE’ clause: Add additional queries to the base SQL query (primary key) using AND. 
  • Search for exact expression. Use ‘=’ instead of ‘LIKE’ - The primary key search is usually a search for an exact match. You can replace this with a like search. 
  • Primary Key is ‘Auto number’- Do not set this column on INSERT -  If the primary key is an auto-increment value, it must be removed from inserts in SQL, as you don't define a value in the insert statement. Instead, the database is auto-assigned a new unique value. 
 
 
odbc connection metadata retrieval

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Mapping of metadata category codes
  • Indexing PDF documents
  • Preserving metadata on upload
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
Brown Boveri Str.7
5400 Baden
Switzerland

Copyright 2026 Fotoware All rights reserved.

  • Terms of service
  • Privacy policy
  • Cookie policy

Knowledge Base Software powered by Helpjuice

Expand