Jump to content

BIRT Developer Center Download


Photo
- - - - -

Edit master page


  • Please log in to reply
10 replies to this topic

#1 oraBirt

oraBirt

    Advanced Member

  • Members
  • PipPipPip
  • 96 posts

Posted 04 November 2015 - 11:04 AM

HI, all,

Birt designer is 3.7,  wondering how to edit the master page ( please see attached file). We need to add database account info for the master page.

Thanks for your help!

Attached Files



#2 Matthew L.

Matthew L.

    Senior Member

  • BIRT Experts
  • 282 posts

Posted 04 November 2015 - 11:51 AM

From the image in the document, this Master Page seems to be linked from within a rptlibrary file.

Because of that, you can edit the Master Page from inside the Library file.

 

Also from the image, I can see that the library is called "MaximoSystemLibrary.rptlibrary" and that you are using 2 Master Pages (one from the library and one without).

Are you needing to switch between both Master Pages?


Matthew L.
Actuate is now OpenText
http://www.actuate.com


#3 oraBirt

oraBirt

    Advanced Member

  • Members
  • PipPipPip
  • 96 posts

Posted 05 November 2015 - 03:08 AM

Thanks very much for your reply!

Actually only one master page from library is used, the other one is a new-added one for testing.

wondering if you could explain how to add dataset info to the master page from library? when I try to insert a new row to the existing row, the error says : Element "Grid(NewGrid2) is child element or virtual element(inside the child), cannot change its structure.

 

Your help is really appreciated!



#4 Matthew L.

Matthew L.

    Senior Member

  • BIRT Experts
  • 282 posts

Posted 05 November 2015 - 06:19 AM

Perhaps I'm not understanding your requirements.

To my knowledge you cannot add a "Data Set" to the Master Page, however if you are wanting to add values retrieved from the Data Set into the Master Page, you can use a Data Element bound to the Data Set.

 

Also most typically report developers place Grid Elements into the Header or Footer of the Master Page, then place their additional Data Elements, AutoText Elements, Label Elements, etc into the Grid Elements that were placed into the Header or Footer of the Master Page.

 

Could you explain the requirements you are looking to accomplish as an end result?


Matthew L.
Actuate is now OpenText
http://www.actuate.com


#5 oraBirt

oraBirt

    Advanced Member

  • Members
  • PipPipPip
  • 96 posts

Posted 05 November 2015 - 06:34 AM

we have prod and test environments for maximo,  the end result for the master page is to display which environment the report is from.  One way to do it  is to get the schema name ( username ) from database and display it on the master page (if there are some other better ways, please let me know, thanks) .  

For example, the prod database schema name is maximo_prod, then when user sees a report with maximo_prod, he can tell it is from production database.

The current master page from library has grid in it, but unable to add rows there.

Thanks a lot!!



#6 oraBirt

oraBirt

    Advanced Member

  • Members
  • PipPipPip
  • 96 posts

Posted 17 November 2015 - 03:20 AM

Anyone could help this?

Thanks.



#7 Matthew L.

Matthew L.

    Senior Member

  • BIRT Experts
  • 282 posts

Posted 17 November 2015 - 06:43 AM

I'm not sure why you can't add a data element to the Master Page Grid.

Is there an error that occurs?

 

Also attached is a zip file that contains an rptdesign and rptlibrary example that displays the schema name in the footer of the Master Page that is located in the rptlibrary file.

 

Hopefully this will help.

Attached Files


Matthew L.
Actuate is now OpenText
http://www.actuate.com


#8 oraBirt

oraBirt

    Advanced Member

  • Members
  • PipPipPip
  • 96 posts

Posted 02 December 2015 - 06:29 AM

Thanks very much for your example! It worked!

Another question is the schema info displayed well in the designer, but it does not show up after a report with schema info is imported into Maximo application. Wondering if the master page library file needed to be in maximo app too? if yes, could anyone show how?

Any help is appreciated!



#9 Matthew L.

Matthew L.

    Senior Member

  • BIRT Experts
  • 282 posts

Posted 02 December 2015 - 08:05 AM

Unfortunately I do not have a Maximo account and am unfamiliar enough with it to know how to deploy reports to it.

However you are correct, you will need to deploy the library to the Maximo environment for this example to work.


Matthew L.
Actuate is now OpenText
http://www.actuate.com


#10 oraBirt

oraBirt

    Advanced Member

  • Members
  • PipPipPip
  • 96 posts

Posted 02 December 2015 - 08:09 AM

Thanks very much for your great help!!

 

The solution is: pick any report from maximo app, go to report tab, select import library file.  done.

Thanks!



#11 oraBirt

oraBirt

    Advanced Member

  • Members
  • PipPipPip
  • 96 posts

Posted 11 August 2017 - 05:15 AM

Birt designer is 431 now.

We need to display database schema name for all reports ( to show user where the data is from).

After "MaximoSystemLibrary.rptlibrary" is updated with database schema account in its master page, the reports opened from the designer will show a message "the content of this editor may have been changed from outside,do you want to reload the changes?'. However, the report does not show the updates from the library file after OK is clicked.

Any help is appreciated!