MODCA to PDF
Overview
The Output Organizer Advanced edition includes a preprocessing intent designed to convert AFP/MO:DCA documents into PDF format. This transformation ensures seamless integration into digital workflows making them viewable and editable within the application.
To perform afp preprocessing, pass the parameter based on your needs as listed here Preprocessing Intent.
Configure MODCA External Resources
The conversion engine relies on font and resource definitions. These resources can be loaded from various locations and protocols.
To support flexible environments (e.g. cloud-native or hybrid setups), the resource loader can be fully customized:
For deployments via Helm, embed the configuration as follows:
jf-worker-afp-topdf:
worker:
additionalAppYamlSnippet:
# enable multi-resource loading
jadice.modca.resources.enabled: true
# this path is ignored if resource 'resource-paths' is set!
jadice.modca.resources.defaultResourcePath: /app/resources/modca
# Array of paths where to find resources. Supported schemes: file, classpath, http, https, jar
jadice.modca.resources.resourcePaths:
- https://domain.resource.com/modca
- file:///app/resources/modca
- classpath:/modca/resources
# Array of paths of resource-group files
jadice.modca.resources.groupResourceFilePaths:
- /path/to/a/single/resource/file.res
- /path/to/another/single/resource/file.res
# Resource-loader HttpClient username
jadice.modca.resources.httpBasicAuthUsername: user
# Resource-loader HttpClient password
jadice.modca.resources.httpBasicAuthPassword: password
# Resource-loader HttpClient connectionTimeout. Defaults to 10s.
jadice.modca.resources.httpConnectTimeoutSeconds: 10
# Resource-loader HttpClient protocol version. Defaults to HTTP_1_1.
jadice.modca.resources.httpProtocolVersion: http_1_1
Mounting MO:DCA Resources via Volumes
To inject resource files into the container, define a volume and mount it at the expected path:
jf-worker-afp-topdf:
volumeMounts:
- name: modca-resources
mountPath: /app/resources/modca
readOnly: true
volumes:
- name: modca-resources
hostPath:
path: /data/resources