Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
New Master Page
seleach
IBM's brief around master pages goes into great detail about modifying the only master page supplied in V7. At the end it has a generic 'If you want to use a variety of paper sizes..... create a new masterpage definition in MaximoSystemLibrary'.
Can someone help me with some of the details in creating new masterpage definitions. I want one that is standard paper in portrait orientation and one that is legal paper in landscape.
I figure a copy and paste of everything between the <page-setup> lines is a start with the changing of the name, orientation and inserting a property type of legal is a start. What do I change the 'id' to? How do I separate the page-setup groups so the system will recognize them?
Find more posts tagged with
Comments
Virgil Dodson
Hi seleach,<br />
<br />
Genereally in BIRT, you just right click on MasterPages in the Report Outline view and Add a new Master page... My XML source then looks like below after I renamed my two master pages:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<page-setup>
<simple-master-page name="USLetter MasterPage" id="2">
<property name="type">us-letter</property>
<property name="orientation">portrait</property>
<page-footer>
<text id="3">
<property name="contentType">html</property>
<text-property name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
</text>
</page-footer>
</simple-master-page>
<simple-master-page name="Legal MasterPage" id="99">
<property name="type">us-legal</property>
<property name="orientation">landscape</property>
</simple-master-page>
</page-setup>
</pre>
<br />
Then when you apply a Master Page to an item like a table in the Page Break tab of the Property Editor, you'll see a masterPage property added:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<table id="70">
<property name="masterPage">Legal MasterPage</property>
...
</pre>