Journey Manager (JM) The transaction engine for the platform. | System Manager / DevOps | 19.05 This feature was introduced in 19.05.
Manager provides the Chromium Puppeteer Receipt service, which you can use to generate dynamic PDF receipts of forms. The service utilizes the PuppeteerPuppeteer is a Node library which provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome or Chromium. library that supports a wide range of styling options.
To create the Chromium Puppeteer Receipt service:
If organization is blank, the service will be global, otherwise it will be available to the selected organization only.
To configure the Chromium Puppeteer Receipt service:
Changing Max Processes will not take effect until a Manager server is restarted.
puppeteer.js
script for rendering of customized headers and footers.
{
"viewportSize": {
"width": 800,
"height": 600
},
"paperSize": {
"format": "A4",
"landscape": false,
"margin": {
"top": "1.5cm",
"left": "1.5cm",
"bottom": "1.5cm",
"right": "1.5cm"
}
},
"headerTemplate": "",
"footerTemplate": "<div style='width:100%;text-align: center;'><span style='font-size: 8px;'>Page <span class='pageNumber'></span> of <span class='totalPages'></span></span></div>",
/* TJM configuration options */
"config": {
"loadTimeoutMS": 20000,
"postLoadTimeoutMS": 500,
"logOptions": true,
"logHeadersFooters": true,
"logResourceEvents": true,
"logFormCallbacks": true,
"disableFormOverrides": true,
"supportOldStyleFormOverrides": "composer",
"treatFormErrorsAsFatal": false,
"forceError": false,
"customCSS": ".phantom-header {} .phantom-footer {}"
}
}
Customizing the Chromium Puppeteer Receipt service will impact all receipts of forms that are linked to this service.
Next, learn how to view core global services.