Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Restart Rendition-Plus to activate the custom converter

  2. 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)

  3. Copy the following file to the folder <service-manager-data>\webresource\resources\client\assets\_default\config\
    (If you already have this file - important is only the preview section. You can merge this into the existing file.)

View file
nameextend.json

  1. Edit the file and adapt the array “['etlainvoice']” in line 19 to the technical objecttype name(s) that contain the XInvoice XML documents. A list with multiple objecttypes would look like this “['xinvoice1', ‘invoices2’]”.

  2. Save the file and restart the client microservice (or the entire service-manager).

  3. Create a new dms-object of the above configured objecttype(s) with a XInvoice document as content and check the preview for correctness.

...