function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bruno LimaBruno Lima 

Define PDF's name with Controller without rederAs = PDF

Hello everyone !

I have a question based on how I can define my PDF's name.

So, I'm not using any Content Type or renderAs in my VF page but I would like to know how I can define it in my controller.

I tryed to use input and then "attachment" but I'm always getting errors when I try to load the PDF generated.

Can someone help me out?
Raj VakatiRaj Vakati
Can you try to explore using pdf.js or etc ..

https://developer.salesforce.com/forums/?id=906F00000008r4xIAA
https://www.pdftron.com/blog/webviewer/add-pdf-viewer-editor-to-salesforce-as-lwc/