No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
After creating a specificaton json file, the pdf export can be triggered from CLI. | After creating a specificaton json file, the pdf export can be triggered from CLI. | ||
Example json content | Example json content: | ||
{ | { | ||
"module": "batch", | "module": "batch", |
Revision as of 08:25, 25 April 2025
Review PDF export compatibility!The PDF export script for BlueSpice 4 is different.
Export PDF from cli
After creating a specificaton json file, the pdf export can be triggered from CLI.
Example json content:
{ "module": "batch", "params": { "filename": "MyExport.pdf", "filesystem-path": "/app/d/pdfcreator/cache", "target": "filesystem", "user": "WikiSysop" }, "options": { "attachments" : true }, "pages": [ { "type": "page", "target": "Main_Page" } ] }
Start export form CLI:
php extensions/PDFCreator/maintenance/CreatePDF.php cache/specification.json