XMLP
XMLP
XML/BI Publisher
PeopleTools Release 8.48
November 16, 2007
What is XML Publisher?
Page 2
What is XML Publisher?
XML Report
Publisher Output
Report
Layout
Page 3
What is XML Publisher?
Page 4
Running a Query-Based
XMLP Report
Main Menu > Reporting Tools > XML Publisher >
Query Report Viewer
Page 5
XMLP Report Output Types
HTM
PDF
RTF
XLS
Page 6
Data Source
Let’s examine the data source for
the delivered report that we just ran:
Main Menu > Reporting Tools > XML
Publisher > Data Source
Page 7
Types of Data Source
PS Query
Rowset
XML File
XMLDoc
Page 8
Report Definition
Page 9
Report Definition
Page 10
Report Definition - Template
Page 11
Report Definition - Template
Page 12
Report Definition - Template
Page 13
Setting Up XML Publisher
Page 14
Setting Up the XDO
Configuration File
In the “appserv” directory, under “PSHOME”
you will find a file called “xdo.cfg”.
One of the “property” tags in this file
identifies the “system-temp-dir.”
The value for this property must point to the
CACHE directory for your application server
domain.
For example, if your application server
domain is called CSDMO90, the system-temp-
dir setting in the xdo.cfg file would be:
[PS_HOME]/appserv/CSDMO90/CACHE.
Page 15
Setting Up the XDO
Configuration File
This example is from a Windows server environment,
where the name of the application server domain is
HRDMO90 (The Application Server does not need to
be restarted after the xdo.cfg file is modified):
<config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
<properties>
<!-- System level properties -->
<property name="xslt-xdoparser">true</property>
<property name="xslt-scalable">true</property>
<property name="system-temp-dir">T:\PT848\appserv\HRDMO90\CACHE</property>
<property name="system-cachepage-size">50</property>
<!-- PDF compression -->
<property name="pdf-compression">true</property>
<!-- PDF Security -->
<!-- <property name="pdf-security">true</property> -->
<!-- <property name="pdf-open-password">user</property> -->
<!-- <property name="pdf-permissions-password">owner</property> -->
</properties>
</config>
Page 16
Setting Up Report Categories
Page 17
Setting Up Report Categories
Page 18
The Template Builder for
Microsoft Word
This plug-in for Microsoft Word helps facilitate
the development of RTF template documents
in Microsoft Word.
It allows you to associate an XML file with a
report template, and easily map the tags in
the XML file to fields that appear in the report.
Much of the basic syntax that is necessary will
be imbedded in the form fields in the Word
document.
You must have Microsoft word installed prior
to installing the plug-in.
Page 19
The Template Builder for
Microsoft Word
The following navigation will allow you to
download the Template Builder for Microsoft
Word:
Page 20
The Template Builder for
Microsoft Word
<PSHOME>\webserv\<webservername>\
applications\peoplesoft\PORTAL\ps\xmlp\
xmlp_desktop.zip
Page 21
Steps to Create Your Own
XMLP Report
1. Create a Query.
2. Create the Data Source.
3. Create the Template.
4. Create the Report Definition.
5. Run and test the XMLP Report.
Page 22
XMLP Roles
Page 23
Step 1: Creating a Query
Main Menu > Reporting Tools > Query > Query Manager
Page 24
Step 2: Creating the
Data Source
On the “Data Source” search page, select Add a New
Value:
Page 25
Step 2: Creating the
Data Source
When the Data Source page displays, click on each of
the Generate hyperlinks near the bottom of the page.
Save the Data Source definition.
Page 26
Step 2: Creating the
Data Source
Click on the hyperlink for the Sample Data
File.
Page 27
Step 2: Creating the
Data Source
Save that XML file to an appropriate directory. You
will need to retrieve it in the next step, when you
import it into your report template.
Page 28
Step 3: Creating the Template
Page 29
Step 3: Creating the Template
Start a new document in Word. Under the “File”
menu, select “Page Setup…”. Set the left and
right margins to 0.5”.
Page 30
Step 3: Creating the Template
Page 31
Step 3: Creating the Template
Page 32
Step 3: Creating the Template
Page 33
Step 3: Creating the Template
Page 34
Step 3: Creating the Template
Page 35
Step 3: Creating the Template
Page 36
Step 3: Creating the Template
Create a blank line or two in your document, under the
fields you just added.
A table is a convenient way of displaying the results of
our query because there are multiple rows of data.
Click on the Insert menu and select “Table/Form…”:
Table
Structure
Window
Page 37
Step 3: Creating the Template
Page 38
Step 3: Creating the Template
Page 39
Step 3: Creating the Template
Page 40
Step 3: Creating the Template
Page 41
Step 3: Creating the Template
Page 42
Step 4: Creating the
Report Definition
Main Menu > Reporting Tools > XML Publisher >
Report Definition
Page 43
Step 4: Creating the
Report Definition
Page 44
Step 4: Creating the
Report Definition
Page 45
Step 5: Running and Testing
the XMLP Report
Main Menu > Reporting Tools > XML Publisher >
Query Report Viewer
Page 46
Modifying the Template
Page 47
Modifying the Query
Definition
Any changes you make to the criteria in the query
that affects the number of rows returned will be
reflected the next time the XMLP report is run. There
is no need to change or update any setting in the data
source definition or report definition.
Page 48
Sorting Data
Page 50
Adding Images to
Your Reports
You can insert a .jpg, .gif, or .png file into
a template.
After you decide where you would like an
image to appear in your report, place
your cursor in that position. In MS Word,
click Insert > Picture > From File…
Use the “Insert” menu that is part of the
regular Word menu, not the “Insert”
menu item in the Template Builder menu.
Page 51
Conditional Formatting
Page 53
USM Regional Conference
Wrap Up and
Additional Questions
Page 54