Question
1
Replies
84
Views
PEGA
Posted: December 19, 2015
Last activity: December 19, 2015
Closed
Layouts and styles are removed if using AttachAsPDF activity to print the screen (7.1.9)
I have a requirement to save the case contents as PDF file.
I've tried AttachAsPDF activity but the output is an ugly PDF with all layouts an styles got removed.
Is this expected behavior of AttachAsPDF activity?
Hey Chunzhi,
PD4ML doesn't support linked Css in its generation, inline styles should be fine though.
I've outlined a workaround previously here, although with mixed results:
how to apply styles for PDF
That method works for me, not sure why it didn't in that case.