Property Overwrite Policy - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external - Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/In-Process-Platform-Extension-Points/Metadata-Extractors-and-Embedders/Metadata-Extraction-is-just-Another-Transform/Property-Overwrite-Policy - 2025-11-03

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License
ft:locale
en-US

It is possible to specify if properties in the repository will be set if the extracted values are not null or if the properties already have a value. By default, PRAGMATIC is used. Generally you will not need to change this. Other values (CAUTIOUS, EAGER, PRUDENT) are described in OverwritePolicy. To use a different policy add a sys:overwritePolicy value to the Map returned from the extractMetadata method of the class extending AbstractMetadataExtractor (described above).

The following table shows which conditions must be met for overwriting the value:

The table with conditions such as eager, cautious, prudent, and pragmatic