Property Overwrite Policy - Property Overwrite Policy - Alfresco - Alfresco Content Services - 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 - 23.4 - 23.4

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License
ft:lastPublication
2026-04-22T22:35:19.567073
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