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
sudha rani 13sudha rani 13 

Change header dynamically in word document generation in vf page.

I need to change Header on every page. is it possible?

 

If I keep content in apex: repeat and in the first iteration, if get content in two pages then we must get the same header in 1st and 2nd page and the different header on the 3rd page like that.

Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Sudha,

May I suggest you please refer the below link for reference for header & footer in VF page. Hope it will be helpful.

Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.

Thanks
Rahul Kumar