Dynamic data in Header and Footer

Thursday, July 4, 2019
Avatar

The documentation says that I can only use static labels and images in the header and footer.

My requirement is to add ProjectID into the header of the report.

I also need to add current date and page numbers in the footer.

Is this possible?

If I try to add an XML section into Header and save, my XML is removed.

Thank you!

3 Replies
Friday, July 5, 2019
Avatar
re: shurix Thursday, July 4, 2019

Hi

That is correct.

If you want dynamic content, just add a "standard section" and use the Project Overview standard section type.

That is how we display the project name and description at the top of the report. You could display the Project ID there.

Friday, February 9, 2024
Avatar
re: inflectra.david Friday, July 5, 2019

I don't see the current date as part of Project Overview.  Is there a way to add current date to reports?

Monday, February 19, 2024
Avatar
re: garyday Friday, February 9, 2024

JavaScript in reports may help you....

If it were allowed, you may write your own JavaScript that will change anything on a frontend, overwrite any predefined styles, headers and footers.

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Thursday, July 4, 2019
  • Last Reply: Monday, February 19, 2024
  • Replies: 3
  • Views: 1680