before report for a xml report
rdf
plsql --- a) xml tags - manual
b) api to generate xml tag DBMS_XMLGEN
data template
In data template level, we use before report, after report trigger . We use before
report in order to generate the SQL query conditions dynamically
We use after report trigger to share report output through email so after report we
call bursting program
Report Triggers
---------------
1) Before Parameter form - Fires before the Runtime Parameter Form is displayed.
2) After Parameter form - Fires after the Runtime Parameter Form is displayed.
3) Before report - Fires before the report runs but after query is parsed.
4) Between pages - Fires before each page of the report is formatted, except the
very first page.
5) After report - Fires after you exit the Paper Design view.
triggers in data template -- before report after report
-------------------------
1) Properties : datatemplate name, description, default package, version
2) Parameters : parameter name, datatype, defaultvalue
3) Data Query : select statement
4) Triggers : datatrigger name, source
5) Data Structure : group name, source, element name, value
data template method
1st based on requirement, we are going to build sql statement
we will create an xml file which consists of diff sections by using our actual sql
statement
once that xml file is ready, we will register this file as a conc prog in
application
for data template we will not create executable instead we use seeded executable
XDODTEXE
we create data definition in XML Publisher Administrator responsibility & Press
“Add File” next to Data Template.
code = conc prog short name
we assign the conc prog to a responsibility & run the conc program to generate xml
tags
based on these xml tags, we are going to design rtf template & save it in .rtf
go to XML Publisher Administrator responsibility & data definition, attach .rtf
file to the Default file
we run the conc program to get the xml report based on the attached .rtf file
using .rdf
----------
* develop .rdf
create new parameter
call user exit in before and after report triggers
create data model
* transfer .rdf from local machine to
custom top/ 12.0.0/ report/ us
* define executable
* define concurrent program (output form - xml)
* attach concurrent program to request group
* change responsibility & run concurrent program through SRS window
* click on view output button & save output to local machine .xml
* open MS word document (need to install BI publisher desktop)
& develop template & save as .rtf
* add responsibility "XML Publisher Administrator"
* create data definition using XML Publisher administrator responsibility
CODE = concurrent program short name
* create template using XML publisher administrator responsibility and upload
template .rdf