paul
paul

Reputation: 13536

How to set value in BIRT master page from a content page?

BIRT Reporting:

I want to define a master page in a library and use it as a basis for a number of reports. The master page includes just the company logo, date, page x of y and a space for the report title. The report title will be set by the individual report and may contain query data.

How can a report set data in the master page?

Clarification

I want a report (based on a master page) to make a query to fetch data (e.g. report title) and pass that to the master page. e.g. the header contains company logo (fixed) and title (dynamic).

Upvotes: 0

Views: 2444

Answers (2)

paul
paul

Reputation: 13536

What I did was the following.

  • define new parameter in the library e.g. MyHeaderText
  • give parameter a default value e.g. Staff list
  • include the parameter in the report
  • overwrite the default value with the required text e.g. Staff - grouped by country

Worked for me.

Upvotes: 0

Sundar G
Sundar G

Reputation: 1069

just passing the parameters to master-page you can get your values..

Upvotes: -1

Related Questions