Enhancement
Currently, a form can be exported as a PDF. For this purpose, a form definition stored on the form or object type is generated into a PDF and the result is offered as a download. For pure server-side PDF generation, this functionality is also required as a TLScript function.
Application
$object.pdf()
Takes the form definition stored at the object type, generates a PDF from the form view and returns the result as binary data.
Test
- com.top_logic.demo/src/test/java/test/com/top_logic/demo/scripted/tlscript/TestPDFExport.script.xml