Skip to main content
Participating Frequently
July 31, 2023
Question

Default footer showing html temp link

  • July 31, 2023
  • 1 reply
  • 794 views

Hello,

 

I am using pdfservices api to convert html to pdf.

 

I am using the defautl header and footer from the pdfoptions.

.includeHeaderFooter(true)

 The only trouble I am facing is that the footer is giving me soem temporary html file address which I can't seem to change. From the documentation, I know the default footer shows the page number and filename, but how is the filename determined? Is it something I can change? Attaching a screenshot for your reference.

TIA

 

 



 

 

This topic has been closed for replies.

1 reply

Joel Geraci
Community Expert
Community Expert
July 31, 2023

The filename you are seeing is the filename that is being used on our server. You cannot change it. It's placed there automatically by the PDF rendering engine. 

Participating Frequently
July 31, 2023

So there is no way to get rid of it? I cannot use the generated pdf file like this for my purpose.

Joel Geraci
Community Expert
Community Expert
July 31, 2023

Yes, but you also lose the page number. Just change "true" to "false"