Hide Page Header on first page only

Posted by: jgardner on 14 October 2021, 5:12 am EST

  • Posted 14 October 2021, 5:12 am EST

    I'm looking to hide the Pageheader on the first page, and show on all subsequent pages. There is no option to apply an expression to the page header, so I've put a container inside the header and tried the syntax below but it hides on every page regardless. Anyone have any luck with getting this to work?

    {IIF(#PageInSection = 1, true, false)}
  • Replied 17 October 2021, 8:37 pm EST

    Hello,
    Right now, it's not feasible to hide the content based on the page number. However, this feature might be available in the next version of the product.
    The workaround could be used if the page header contains textual information that is displayed by one or more textboxes. Then the Value property of each textbox could be set so that it is empty on the first page and contains the actual information on the subsequent pages, for example:

    {IIF(&PageNumber = 1, " ", "Page " & &PageNumber & " of " & &TotalPages)}


    The textbox with this Value will display the empty string on the first page and "Page N of M" on the rest of the pages.

    I hope this helps!
  • Replied 21 October 2021, 4:58 am EST

    Sergey,

    Worked perfectly, thank you!
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels