Professional Documents
Culture Documents
Castaneda N
Castaneda N
Presenters
Ranks #4 by Milken Index which measures cities with thriving economy 2005 Digital Cities Survey Winner The City successfully implemented/upgraded Oracle Financials/HR/Payroll
- August 1999, 10.7 first time implementation - August 2002, 11.5.5 upgrade - October 2004, 11.5.9 upgrade Visit us @ www.wpb.org
Presenters
Neida E. Castaneda - Senior Systems Analyst, OCP
- 8 years of Oracle experience - Lead HR/Payroll Technical and End user support - Oracle Apps implementation team member (10.7, 11.5.5 and 11.5.9)
Agenda
What is XML Publisher? XML Publisher Benefits Report Transformation - Process Overview XML Publisher Template Builder Going the XML Way! Tips and Tricks Technical Requirements & Challenges XML Publisher Latest Releases Resources Q&A
HR & Payroll
Financial Reports
Report Transformation
Process Overview
Design
Create layout form and markup elements
Integrate
Setup Data Definition and Template Definition
Runtime
Submit report and XML Publisher concurrent request
Design - Layout
Determine the report or form layout such as fonts, colors, graphs and charts Create layouts using Acrobat Writer for PDF templates or MS Word for
RTF templates
Design - Markup
Set the concurrent program to generate XML output Run report
Design - Markup
XML datasource
Repeating Group
Fields
Design - Markup
Define markup elements to map XML datasource to the layout Markup elements can be defined using Basic RTF or Form Field Method
Group Placeholders
Data Definition
The first template uploaded is the default template A single report can be associated to multiple templates
Runtime
Run the concurrent program
Design Design
Integrate Integrate
Runtime Runtime
To install Template Builder for MS Word apply 4561835 Oracle XML Publisher Desktop Patch 5.5.0 client patch
Allows users to select a sample XML file containing fields that can be inserted into the template as a data source. The data source defines the XML format that will be merged with the RTF template
Insert Menu Field
Allows users to select fields from the data source and insert them into the template
Insert Menu Table/Form
Allows users to preview the RTF template with sample XML data. The available output formats are PDF, HTML, RTF and EXCEL
Tools Menu Field Browser
How To - Design
About the report HR Employee Details report (hreebarg.rdf) is a custom standard report, used by HR to generate service awards, eligibility lists and letters Run HR Employee Details Report
X re
L M
How To - Design
Layout Use MS Word to design the layout Place logo, headers/footers, title, static text, etc
Logo
Header
How To - Design
Markup Set output format = XML Use System Administrator responsibility Navigation Path: Concurrent Program Define
How To - Design
Run HR Employee Details Report to generate XML output
How To - Design
Output displays in a browser Save XML output file as hr_emp_detail.xml
How To - Design
Load the XML output (hr_emp_detail.xml) Data Load XML Data
How To - Design
After data is loaded successfully Use Insert Table/Form to add table and fields
How To - Design
To Preview template Use Preview PDF
How To - Design
Use Insert Field to add more fields
How To - Design
To Preview template Use Preview PDF
How To - Design
Use Tools Field Browser View/Modify XML commands in the form fields
How To - Design
Pre and Post XML Output
e r P
L M -X L M
Po
X t s
How To - Design
Additional Template Features IF-THEN-ELSE Display a message depending on a field value Conditional formatting of fields
CHOOSE Display a graphic depending on a field value Group Count Count total number of employees Graphs
How To - Design
Display a message depending on years of service
Use IF-THEN-ELSE
<?xdofx:if YR > 15 then 15+' elsif YR >= 10 and YR < 15 then 10-15' else 1-9 end if?>
How To - Design
Yrs of Service
Conditional Message
How To - Design
Change color attribute for years of service
<?if:YR>=15?><xsl:attribute xdofo:ctx="block name="color">red</xsl:attribute><?end if?> <?if:YR>=10 and YR<15?><xsl:attribute xdofo:ctx="block" name="color">green</xsl:attribute><?end if?> <?if:YR< 10?><xsl:attribute xdofo:ctx="block" name="color">blue</xsl:attribute><?end if?>
How To - Design
Display when employee has 15+ years of service Use CHOOSE
How To - Design
Display the total count of employees Use COUNT
How To - Design
Represent Number of Employees vs. Years of Service graphically
How To - Design
Sample Template
How To - Design
The possibilities are endless
How To - Integrate
Navigation Path: XML Publisher Administrator responsibility Home Data Definition
NOTE: Data Definition Code MUST MATCH the concurrent program Short Name
How To - Integrate
Navigation Path: XML Publisher Administrator responsibility Home Templates
Data Definition
How To - Integrate
Template Duplicate Functionality
Query template definition
How To - Integrate
Upload the new template file
Upload hr_emp_detail_graph.rtf
How To - Runtime
Run HR Employee Details Report
How To - Runtime
Default template can be changed using Concurrent Program definition page Navigation Path: System Administration responsibility Concurrent Programs
Use BASIC RTF method to insert fields in the headers and footers
Patches
Client side patch (Platform = Microsoft Windows(32-bit) Client)
3412795 XML Publisher: Patch ADSPLICE patch for XDO 3263588 Patch 11i.XDO.H 3822219 XDO/Oracle XML Publisher OA ROLLUP patch 5.0.0 3435480 Publishing Concurrent Requests with XML 3854951 FSG XML Publisher Functionality for R11i 4073717 FND images pre-req for OA Framework 4206181 XDO/Oracle XML Publisher OA ROLLUP patch 5.5.0 4515143 XML Publisher Users Guide Online Help Release 5.5
Setups
Set properties in the xdo.cfg under $JRE_TOP/lib
The configuration file is primarily used for setting: Temporary directory (Highly recommended for processing large files) General and security properties for PDF files generated by XML Publisher Font locations and substitutions
JAVA lang out of memory errors To improve performance add the following lines to the xdo.cfg on your concurrent manager node: <properties> <!-- System level properties --> <property name="system-temp-dir">/tmp</property> <property name="xslt-scalable">true</property> The directory pointed to by system-temp-dir should be large enough to hold your largest output files. Timeout Warnings The concurrent manager has timed out waiting for the Output Post-processor to finish this request set profile Concurrent:OPP Response Timeout to allow more time to process large reports Unable to find the published output for this request Output Post Processor (OPP) patch has not been applied, or report is non-SRS request run the XML Publisher request to generate the output
RTF Template Enhancements Graphics Support Drawing/Shape support Background and Watermark support Conditional Formatting Fixed-row enumeration
Specify a fixed number of rows for a table regardless of the amount of data coming into the template at runtime Currency formatting Numeric values can now be formatted according to their associated currency code
Users can click the image in the document and link to an internal or external destination Generate the bookmark links that display in the PDF navigation pane
Ability to truncate data in a table cell that is too big for the cell Define different headers and footers for odd and even pages in report output
Resources
Topic Doc# About Oracle XML Publisher Release 5.5 316447.1 Using the Output Post Processor (OPP) in Oracle Applications 291792.1 Concurrent Processing Publishing Concurrent Requests with XML Publisher 295409.1 XML Publisher and Concurrent Manager Integration 276691.1 Check Printing Using XML Publisher 312353.1 Concurrent Request Fails due to Timeout of the Post Processing 352518.1 Action Unable to view output in a single request run (CONC-PP FAILED NO 308203.1 OPP error) Presentations, Technical Information and Demos on XML Publisher http://www.oracle.com/technology/products/applications/publishing/index.html
Q&A
E-mail Addresses:
ncastaneda@wpb.org jabel@wpb.org