Skip to main content
TOPICS

CATEGORY

PUBLISHED
25 March 2022

MODIFIED
28 September 2024

Using Concatenated Photo Names

The following shows how you can setup photos to be stored to a file with concatenated names like 000106_Jackson.jpg, by using a script to construct the file name.

To use concatenated names for photos you need to have a CardExchange® Producer Business or Enterprise edition.

First add a new image to the design, choose the Image Type of Photo, set the Column to be

Script and add the following into the script box: id + '_' + lastname

Using Concatenated Photo Names 1

When exiting the script box you will prompted with a dialog showing the variables id and lastname that have just been created, here you can set a default value or just click OK.

using Concatenated Photo Names 2

You can now select the variables and link them to the desired database columns:

Using Concatenated Photo names 3

You can also set the folder location for the photos and the file extension under the Point-to-file

options section.
Once done the complete properties section should look something like the below:

Using Concatenated Photo Names 4

You can modify the variable names and any joining characters to match the specific requirements.