Overriding transform pipelines - Overriding transform pipelines - Alfresco - Alfresco Transform Service - Alfresco/Alfresco-Transform-Service/4.1/Alfresco-Transform-Service/Configure/Configure-Transform-Service/Configuring-T-Engines/Modifying-existing-pipeline-configurations/Overriding-transform-pipelines - 4.1 - 4.1

Alfresco Transform Service

Platform
Alfresco
Product
Alfresco Transform Service
Release
4.1
License
ft:lastPublication
2025-04-04T12:53:25.056000
ft:locale
en-US

It is possible to override a previously defined transform definition. The following example removes most of the supported source to target media types from the standard libreoffice transform. It also changes the max size and priority of others. This is not something you would normally want to do.

{
  "transformers": [
    {
      "transformerName": "libreoffice",
      "supportedSourceAndTargetList": [
        {"sourceMediaType": "text/csv", "maxSourceSizeBytes": 1000, "targetMediaType": "text/html" },
        {"sourceMediaType": "text/csv", "targetMediaType": "application/vnd.oasis.opendocument.spreadsheet" },
        {"sourceMediaType": "text/csv", "targetMediaType": "application/vnd.oasis.opendocument.spreadsheet-template" },
        {"sourceMediaType": "text/csv", "targetMediaType": "text/tab-separated-values" },
        {"sourceMediaType": "text/csv", "priority": 45, "targetMediaType": "application/vnd.ms-excel" },
        {"sourceMediaType": "text/csv", "priority": 155, "targetMediaType": "application/pdf" }
      ]
    }
  ]
}