XDOLoader
is Java-based command line program utility to load template files for XML
Publisher
- RTF
- PDF
- XSL-FO
- XML
- XSD
XDO Loader is a utility used to download
and upload the XML Publisher files from one instance to the other. If a
developer needs to upload the XML Publisher files and metadata in to other
instance, He should use FND Loader to load the metadata and XDO Loader Upload
mode to load the physical files.
The files download will be
saved in a different name with the language, LOB code, Application Short name
and type encoded in it. So the files can be uploaded programmatically by
writing some UNIX script to parse and load the files to the target instance.The files for the Data Template and the Data source can be uploaded by this XDO Loader. First the metadata should be loaded in the BI publisher responsibility by the FND Loader Command. The XDO Loader command will be used to load the physical files after the metadata has been loaded.
Download Syntax:
% java oracle.app.do.ox.until.XDOLoader DOWNLOAD \
-DB_USERNAME <do_user name> \
-DB_PASSWORD <do_password> \
-JDBC_CONNECTION <jibed_on_string> \
-LOB_TYPE <lob_type> \
-APPS_SHORT_NAME <application_short_name> \
-LOB_CODE <lob_code> \
-LANGUAGE <language> \
-TERRITORY <territory> \
-LOG_FILE <log file>
Upload Syntax:
% java oracle.app.do.ox.until.XDOLoader UPLOAD \
-DB_USERNAME <do_user name> \
-DB_PASSWORD <do_password> \
-JDBC_CONNECTION <jibed_on_string> \
-LOB_TYPE <lob_type> \
-APPS_SHORT_NAME <application_short_name> \
-LOB_CODE <lob_code> \
-LANGUAGE <language> \
-TERRITORY <territory> \
-LOG_FILE <log file>
The
parameters LOB_CODE and LCT_FILE are optional, but one must be defined as
follows:
- LOB_CODE
- use this parameter to download an individual template.
- LCT_FILE
- if you do not define an LOB_CODE then this parameter is required. If you
want to download multiple templates, then you must provide the LCT file.
The loaded needs this file to retrieve the templates. The LCT file can be
found under XDO_TOP/patch/115/import/xdotmpl.let. When you use this option
you will not only get the templates, but the let file for the templates
will be generated for you as well.