How to manage duplicates in an archive and optionally update the metadata of the archived versions.
Where: Channel | Image ID | Archive Management tab
Color Factory can be configured to manage an archive by filtering out duplicates and optionally by updating the metadata of the file already in the archive using a metadata macro.
The archive management only works with Index Manager archives. Choose which type of Index Manager server you are using from the drop-down list at the top of the screen. Then click the Browse button (...) to browse for your index. When connecting to an Index Manager 7.0 archive you will need to know the server's host name to list the available indexes on the server. You may also need to authenticate to be allowed to connect to the index.
Next, you should choose the method for determining whether the files that are processed in the channel have a duplicate that’s already in the archive. By default, Color Factory will use the Unique Image ID (UID) for this purpose. However, you can choose to use the Image Similarity Index or the file name instead by selecting either of these checkboxes. When using the Image similarity index field you can choose the degree of similarity required to match two files.
Whether you wish to use the check for duplicates for archiving purposes is optional. After a duplicate file is found in the index, you could simply use a metadata macro to update the file already in the archive to indicate that the duplicate processed in the channel has e.g. been published, if that is the case. (See below for more info.)
However, if you want to archive the duplicate processed in the channel, you must select Check for duplicates in the archive. You now have four options:
Allow duplicates and add version numbering: Version numbering will be added to the UID metadata field.
Replace existing image in archive using the output folder: The archived original will be replaced by the file processed in the channel. By implication the channel's output folder must point to a document folder in the index.
Replace existing image in original location: Same as the above option, but replaces the file found in the index in the exact location where it is stored.
Block duplicates: When blocking duplicates, you must specify a folder where the duplicate should be saved. This setting will override the channel’s standard output folder setting.
Finally, you can choose how metadata in the files should be handled. You can choose to not make any metadata changes, or you may choose from one of the other four available options:
Update Metadata in archived original with Metadata Macro: Lets you update the metadata in the file found in the index with a custom metadata macro. Use the Metadata Macro button below to create the macro you want to apply.
Copy Metadata from input file to archived original: Copies the entire metadata block from the file processed in the channel to the file found in the index, overwriting any information already stored in that file.
Update Metadata in output file with Metadata Macro: Lets you update the metadata in the file processed in the channel with a custom metadata macro. Use the Metadata Macro button below to create the macro you want to apply.
Copy Metadata from archived original to output file: Copies the entire metadata block from the file found in the index to the file processed in the channel, overwriting any information already stored in that file.
A note about creating metadata macros: When creating macros to update the metadata in files (based on which operation you have chosen to perform), you have the option to Use Metadata from input file as source to template commands. When that option is checked, Color Factory will extract metadata from the channel's input file when encountering dynamic operators in the macro.