There is so much to talk about but what I haven’t discuss right now is extra functionality in Data Templates. Features that you can use to allow more complexity into your templates.
One of the advantages of data templates is the use of Report Triggers. These triggers will handle a specific sequence. So, the sequence of execution seems to be:
- Before Report Trigger
- Data Query (SQL statement)
- After Report Trigger
- Output Post Processor
Another thing, maybe not so important for all of you, is that you specify extra options into your data templates to debug better your report or to get more information about a report. These elements are called properties of a data template.
A data template consists of following elements: The default properties are present in bold. You find a list below that you can use to extend your report properties. include_parameters – indicates whether to include parameters in the output.
include_null_Element – indicates whether to remove or keep the null elements in the output.
xml_tag_case – allows you to set the case for the output XML element names.
db_fetch_size – sets the number of rows fetched at a time through the JDBC connection. The default value is 500. scalable_mode – sets the data engine to execute in scalable mode. This is required when processing a large volume of data.
include_rowsettag – allows you to include or exclude the Rowset Tag from the output.
debug_mode – turns debug mode on or off.
Example of Use:
<dataTemplate name="<name>" description="<desc>"
dataSourceRef="<datasource>" Version="1.0">
<properties>
<property name="showControls" value="false"/>
<property name="online" value="true"/>
<property name="parameterColumns" value="3"/>
<property name="openLinkInNewWindow" value="true"/>
</properties>
<parameters>
</parameters>
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[select ID from dual]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="ROW" source="Q1">
<element name="ID" value="ID"/>
</group>
</dataStructure>
</dataTemplate>
Valid values:
Valid values:
Valid values are:
Valid values:
Valid values:
Valid values:
<property name=” include_parameters ” value=” false “/>
¿What is BIP?
BIP stands for Oracle BI Publisher. It’s a short term.