- Issue created by @William_Kan
- 🇬🇧United Kingdom William_Kan
Closing this issue: the view template should have been: views-view-unformatted--machinenameofview--machinenameofviewdisplay
When we attempt to provide a custom URL where users can download the pdf with this pattern: /print/view/pdf/machine-name-of-view/machine-name-of-display, a blank or empty pdf is returned.
Using entity print to output pdf letters. As some of the details of the letter are sensitive, they need to be generated on-the-fly with personal data field values being injected via a CRM integration. We have created one view with two displays to cater to two profiles. Initially, we want to control the templating and styling, and this works with the following view page path: /machine-name-of-view/machine-name-of-display.
Our template is html--machinenameofview--machine-name-of-display.html.twig.
Entity print config settings:
Enable Default CSS: Enabled
PDF engine: Dompdf
HTML5 Parser: enabled
Remote URLs: enabled
font subsetting: enabled
embedded PHP: disabled
Active
2.13
Code
Closing this issue: the view template should have been: views-view-unformatted--machinenameofview--machinenameofviewdisplay