![No UI](https://img.shields.io/static/v1?label=UI&message=none&color=inactive) Prevents duplicate assets in certain nodes when adding assets or by a system task. [MINITOC] ## Properties To be configured in {home}/appserver/conf/custom.properties ### General Properties ##### assetDeduplication.license > type: String, **required: yes**, default: - The license key for the plugin (product: assetDeduplication), provided by *brix*. ##### assetDeduplication.mailFrom > type: String, required: no, default: - Defines the sender for log mails. ### Configuration Properties syntax: assetDeduplication.{1..n}.{property} e.g. assetDeduplication.1.targetNodes=11, assetDeduplication.2.target=12 ##### assetDeduplication.1.targetNodes > type: long, **required: yes**, default: - ID of the node where the plugin prevents duplicate assets ##### assetDeduplication.1.includeChildNodes > type: boolean, required: false, default: false Prevent duplicate assets even in child nodes of the target node ##### assetDeduplication.1.duplicatesNode.nodeId > type: long, required: false, default: - Node to which duplicate assets are moved ##### assetDeduplication.1.duplicatesInfofield > type: long, required: false, default: - Checkbox infofield id for a checkbox that will be checked if duplicates for an asset are found ##### assetDeduplication.1.keepMetadata.infofields > type: list of long (comma-separated), required: false, default: - Infofields that will be kept in the original asset (not overwritten by the metadata of a duplicate) ##### assetDeduplication.1.overwriteMetadata.infofields > type: list of long (comma-separated), required: false, default: - Infofields that will be overwritten in the original asset with the metadata of a new duplicate ##### assetDeduplication.1.mergeMetadata.infofields > type: list of long (comma-separated), required: false, default: - Infofields that will be merged in the original asset with the metadata of a new duplicate ##### assetDeduplication.1.forceOverwriteMetadata.infofields > type: list of long (comma-separated), required: false, default: - Infofields that will be force overwritten in the original asset with the metadata of a new duplicate (means also empty values will be written) ##### assetDeduplication.1.removeDuplicatesFromAllParents > type: boolean, required: false, default: false Remove found duplicates from all parents, not only from the target node ##### assetDeduplication.1.listenerEnabled > type: boolean, required: false, default: false Enable the AddToNode Listener for the target node, when an asset is added to the node, it will be checked for duplicates ##### assetDeduplication.1.taskEnabled > type: boolean, required: false, default: false Enables a system task that checks the target node for duplicates ##### assetDeduplication.1.findAssetsByOriginalName > type: boolean, required: false, default: false Find duplicates by the original name, default is by the asset name ##### assetDeduplication.1.compareDate > type: created, modified or version, required: false, default: created Defines by which date the original asset will be identified ##### assetDeduplication.1.log.email > type: String, required: false, default: - Email address to which logs will be sent ##### assetDeduplication.1.log.cron > type: time (seconds minutes hours days months years, separated with "space") , required: false, default: - Defines when log mails will be sent ##### assetDeduplication.1.log.path > type: String, required: false, default: - Path where log files will be stored ##### assetDeduplication.1.compareChecksum > type: String, required: false, default: - Path where log files will be stored ##### assetDeduplication.1.deleteFromTrashbin > type: boolean, required: false, default: - Deletes duplicates from the trashbin as well, after removing it from all parents ## Compatibility Matrix | assetDeduplication | CELUM (min. version) | :----- | :----- | 1.0.0 | 6.5.0 | | 2.0.0 | 5.13.4 (tested with 6.4) | | 2.1.0 | 5.13.4 (tested with 6.4) | ## Release Notes #### 1.0 > Released 2020-07-03 * Initial Version #### 2.0 > Released 2016-08-13 * Version 2.0 with new features #### 2.1 > Released 2016-08-21 * Remove from trashbin feature