Skip to main content
Participating Frequently
Jul 31, 2023 8:02 PM UTC
Question

Default footer showing html temp link

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 is closed to new replies. Start a new post to keep the conversation going.

7 replies

Joel Geraci
Community Expert
Community Expert
Jul 31, 2023 8:29 PM UTC

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. 

Translate
Participating Frequently
Jul 31, 2023 8:36 PM UTC

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

Translate
Joel Geraci
Community Expert
Community Expert
Jul 31, 2023 8:39 PM UTC

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

Translate