...
Frist we install the custom converter for Rendition-Plus. It will (try to) convert all files of mimetype “text/xml” or “application/xml” to a an XInvoice PDF document. It has the highest priority and will thus always be the first converter to try. If it fails rendition-plus will try the next converter for this mimetype. So, if the result is not the expected PDF, then the custom converter probably failed.
Copy the following files to the folder <rendition-plus>\renditionplus\bin\custom\
...
Restart Rendition-Plus to activate the custom converter
Now we configure the client to not show the default viewer for XML files - which is the monaco editor - but use the pdfjs PDF viewer. We can do this for a list of objecttypes that are designated for XInvoice objects (documents)
Copy the following file to the folder <service-manager-data>\webresource\resources\client\assets\_default\config\
...