Home
Analytics
Edit master page
oraBirt
<p>HI, all,</p>
<p>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.</p>
<p>Thanks for your help!</p>
Find more posts tagged with
Comments
Matthew L.
<p>From the image in the document, this Master Page seems to be linked from within a rptlibrary file.</p>
<p>Because of that, you can edit the Master Page from inside the Library file.</p>
<p> </p>
<p>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).</p>
<p>Are you needing to switch between both Master Pages?</p>
oraBirt
<p>Thanks very much for your reply!</p>
<p>Actually only one master page from library is used, the other one is a new-added one for testing.</p>
<p>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.</p>
<p> </p>
<p>Your help is really appreciated!</p>
Matthew L.
<p>Perhaps I'm not understanding your requirements.</p>
<p>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.</p>
<p> </p>
<p>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.</p>
<p> </p>
<p>Could you explain the requirements you are looking to accomplish as an end result?</p>
oraBirt
<p>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) . </p>
<p>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.</p>
<p>The current master page from library has grid in it, but unable to add rows there.</p>
<p>Thanks a lot!!</p>
oraBirt
<p>Anyone could help this?</p>
<p>Thanks.</p>
Matthew L.
<p>I'm not sure why you can't add a data element to the Master Page Grid.</p>
<p>Is there an error that occurs?</p>
<p> </p>
<p>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.</p>
<p> </p>
<p>Hopefully this will help.</p>
oraBirt
<p>Thanks very much for your example! It worked!</p>
<p>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?</p>
<p>Any help is appreciated!</p>
Matthew L.
<p>Unfortunately I do not have a Maximo account and am unfamiliar enough with it to know how to deploy reports to it.</p>
<p>However you are correct, you will need to deploy the library to the Maximo environment for this example to work.</p>
oraBirt
<p>Thanks very much for your great help!!</p>
<p> </p>
<p>The solution is: pick any report from maximo app, go to report tab, select import library file. done.</p>
<p>Thanks!</p>
oraBirt
<p>Birt designer is 431 now.</p>
<p>We need to display database schema name for all reports ( to show user where the data is from).</p>
<p>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.</p>
<p>Any help is appreciated!</p>