Top Banner

of 27

XML Publisher Training_ravi

Apr 08, 2018

Download

Documents

Praneeth Kumar
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 8/7/2019 XML Publisher Training_ravi

    1/27

    XML Publisher Training

    By

    Ravi Sankar Gandamaneni

    Lead Consultant

    ESGAP Team

  • 8/7/2019 XML Publisher Training_ravi

    2/27

    Content

    What is XML Publisher

    Features of XML Publisher

    Steps to create reports using XML Publisher Format options available in XML Publisher

    Moving XML Publisher setups to new instance

  • 8/7/2019 XML Publisher Training_ravi

    3/27

    What is XML Publisher

    A Tool That Provides Flexible, Template-Based

    Publishing Of Reports From

    The E-Business Suite

  • 8/7/2019 XML Publisher Training_ravi

    4/27

    XML Publisher Design

    PublishPublish DeliverDeliver

    XML

    EFT

    Data Logic

    Layout

    XML

    Publisher

    Report

    output

    Report

    Delivery

  • 8/7/2019 XML Publisher Training_ravi

    5/27

    Features ofXML Publisher

    Fully integrated with Concurrent Process togenerate XML data files

    Layout templates are built using familiar desktopapplications

    MS Word

    MS ExcelAdobe Acrobat

  • 8/7/2019 XML Publisher Training_ravi

    6/27

    Features ofXML Publisher Multiple outputs from a single data source and

    templatePDFRTFExcelHTMLXML

    Generated output can be delivered to multiple

    delivery channelsPrinterEmailFax

  • 8/7/2019 XML Publisher Training_ravi

    7/27

    Steps to create Reports

    using XML Publisher1. Setup Environment

    2. Generate XML Output

    3. Design Template

    4. Map Template

    5. RegisterData Definition and Template

    6. Generate Report Output

  • 8/7/2019 XML Publisher Training_ravi

    8/27

    Setup EnvironmentAdd Responsibility

  • 8/7/2019 XML Publisher Training_ravi

    9/27

    Generate XML OutputCreate Concurrent Program

    Create new concurrent Program or use Copy To option

    Output type of concurrent Program should be XML

  • 8/7/2019 XML Publisher Training_ravi

    10/27

    Add Reports to Request Group

    Generate XML Output

  • 8/7/2019 XML Publisher Training_ravi

    11/27

    Run the report and generate XML Output

    Generate XML Output

    XSL Stylesheet

  • 8/7/2019 XML Publisher Training_ravi

    12/27

    Design Template

    Design Template using Microsoft Word

    Rich Text Format

  • 8/7/2019 XML Publisher Training_ravi

    13/27

    Map Template

    Attach Dynamic( Place holders) data fields and Loopconditions (Groups) from XML data file

    Basic RTF Method

    Use any word processing application that

    supports RTF version 1.6 writer (or later) to designa template using XML Publishers simplified syntax

    Form Field Method

    Using Microsoft Words form field feature allowsyou to place the syntax in hidden form fields, ratherthan directly into the design of your template.

    Rich Text Format

  • 8/7/2019 XML Publisher Training_ravi

    14/27

    Registration

    RegisterData Definition in XML PublisherData Definition Code and Concurrent Programshort name should be same.

  • 8/7/2019 XML Publisher Training_ravi

    15/27

    RegistrationRegister Template in XML Publisher

    EnterData definition name in Template definition

  • 8/7/2019 XML Publisher Training_ravi

    16/27

    Generate Report OutputRun the Concurrent Program

    Adobe Acrobat 7.0

    Document

  • 8/7/2019 XML Publisher Training_ravi

    17/27

    Format Options

    Defining Headers andFooters

    Images

    Direct Insertion

    URL Reference

    OA Media Directory Reference

  • 8/7/2019 XML Publisher Training_ravi

    18/27

    Format Options

    Page Breaks

    Summary Calculation

  • 8/7/2019 XML Publisher Training_ravi

    19/27

    Format Options

    Conditional Formatting

    Sorting

  • 8/7/2019 XML Publisher Training_ravi

    20/27

    Moving Definitions to new

    instance

    XML Publisher uses the FNDLOAD loader technologyand its own XDOLoader to allow you to move themetadata and physical files for your templates and datadefinitions from one instance to another

    Use the FNDLOAD utility to upload and download thedata definition information and the template metadatastored in the Template Manager

    Use the XDOLoader utility to upload and downloadthe physical files (RTF, PDF, XSL-FO, XML, and XSD)

  • 8/7/2019 XML Publisher Training_ravi

    21/27

    The FNDLOAD command takes the following format:

    FNDLOAD usr/pwd@db 0 Y DOWNLOAD|UPLOAD targetldtfile.ldt XMLPATTRIBUTES

    For example, to download all data definitions and templatesfor Oracle Purchasing, use:

    FNDLOAD apps/apps@mydb 0 Y DOWNLOAD$XDO_TOP/patch/115/import/xdotmpl.lct XMLPData.ldtXDO_DS_DEFINITIONSAPPLICATION_SHORT_NAME=PO

    FNDLOAD

  • 8/7/2019 XML Publisher Training_ravi

    22/27

    To download a single data definition (data source code=XXX) andits associated templates is as follows:

    FNDLOAD user/pwrd@mydb 0 Y DOWNLOAD$XDO_TOP/patch/115/import/xdotmpl.lct XMLPData.ldtXDO_DS_DEFINITIONS APPLICATION_SHORT_NAME=PODATA_SOURCE_CODE=XXX

    To download a single data definition (data source code=XXX) anda specific template is as follows:

    FNDLOAD user/pword@mydb 0 Y DOWNLOAD

    $XDO_TOP/patch/115/import/xdotmpl.lct XMLPData.ldtXDO_DS_DEFINITIONS APPLICATION_SHORT_NAME=PODATA_SOURCE_CODE=XXX TMPL_APP_SHORT_NAME=POTEMPLATE_CODE=YYY

  • 8/7/2019 XML Publisher Training_ravi

    23/27

    The XDOLoader utility is a Java-based command lineprogram to load template (RTF, PDF, and XSL-FO), XML,and XSD files to the XML Publisher database tables.Usethis utility to download files from one instance and load toanother.

    XDOLoader

  • 8/7/2019 XML Publisher Training_ravi

    24/27

    Downloading Files

    Set up your environment for your session by setting the

    APPL_TOP and CLASSPATH. Execute the XDOLoader

    utility as follows:

    % java oracle.apps.xdo.oa.util.XDOLoaderDOWNLOAD \

    -DB_USERNAME \

    -DB_PASSWORD \-JDBC_CONNECTION \

    -LOB_TYPE \

    -APPS_SHORT_NAME \

    -LOB_CODE \

    -LANGUAGE \-TERRITORY \

    -LOG_FILE

  • 8/7/2019 XML Publisher Training_ravi

    25/27

    Uploading Files

    Set up your environment for your session by setting the

    APPL_TOP and CLASSPATH.

    Execute the XDOLoader utility as follows:

    java oracle.apps.xdo.oa.util.XDOLoader UPLOAD \

    -DB_USERNAME \

    -DB_PASSWORD \

    -JDBC_CONNECTION "::"

    -LOB_TYPE TEMPLATE \

    -APPS_SHORT_NAME

    -LOB_CODE

    -LANGUAGE -TERRITORY

    -XDO_FILE_TYPE "RTF"

    -FILE_NAME

    -CUSTOM_MODE "FORCE"

    -LOG_FILE

  • 8/7/2019 XML Publisher Training_ravi

    26/27

    Q & A

  • 8/7/2019 XML Publisher Training_ravi

    27/27

    Thank You