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
ArleneArlene 

Title attribute on apex:page tag ignored when renderAs="pdf" specified?

It appears that the title= attribute on the <apex:page> tag is ignored when renderAs="pdf" is specified.  I have also tried setting the page title using the HTML <title> tag in the header, and also on the window.open() method in Javascript.  I am using Javascript to initiate the window, as the URL is dynamically created.

 

Is there a way to set the title of a new window with renderAs="pdf" specified?  If I remove the renderAs attribute, the page title is set correctly.

imutsavimutsav
Use showHeader="true" and then log in as one of the user and test. It would work.

Thanks
Utsav

[Do mark this answer as solution if it works for you and give a kudos.]
ArleneArlene

  No, that didn't work.  Thanks for the response, though!