How to get XML PUblisher Desktop Software
Hi
Everbody, can anybody please help me in getting XML publisher desktop software or just send me the link from where can i download. It will be a great help for me,i think this software can act as an alternative to Microsoftword ,is it correct.
Regards
Sourav
*.us.oracle.com are internal Oracle sites. Those links will not work. Use http://edelivery.oracle.com and search under Windows and Oracle Business Intelligence. Then click on Oracle Business Intelligence Media Pack. Download part number B29943-01.
Similar Messages
-
Reg:How to get XML publisher output in different language like German,frenc
Hi all,
I am using data source from Oracle RDF. and i created Layout using RTF template. I too registered that in oracle apps to get output in English by choosing territory (US) and Language (english).
My doubt, Is the same way to get the out for other countries like france, italy, germany by choosing territory and language will registering multiple layout for that single datasource. Plz clarify my doubt with your suggestion.
If not, Explain the steps to get multiple layout o/p for multiple language.
I am beginner to xml publisher report creation.
Need all expert's help. So that this will help people like me when they are start working in xml publisher.
Thanks in advance..
RajHi all,
Can we have .xlf file like below to handle german, french, italy and danish. I am having Single RTF file which is in en-GB format. want to translate this RTF layout to all 4 language. Please guide me.
sample code:-
<?xml version = '1.0' encoding = 'utf-8'?>
<xliff version="1.0">
<file source-language="en-GB" target-language="fr-FR" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
<header>
<prop-group name="ora_reconstruction">
<prop prop-type="TemplateCode">XX_STD_PROD</prop>
<prop prop-type="extractorVersion">5.6.3_120.1</prop>
</prop-group>
</header>
<body>
<trans-unit id="2b7f43c_3" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
<source>PURCHASE ORDER NO.</source>
<target>N ° de commande.</target>
<note>Text located: body/table/table/table footer</note>
</trans-unit>
</body>
</file>
<file source-language="en-GB" target-language="it-IT" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
<header>
<prop-group name="ora_reconstruction">
<prop prop-type="TemplateCode">XX_STD_PROD</prop>
<prop prop-type="extractorVersion">5.6.3_120.1</prop>
</prop-group>
</header>
<body>
<trans-unit id="2b7f43c_3" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
<source>PURCHASE ORDER NO.<source>
<target>ORDINE D'ACQUISTO NO.</target>
<note>Text located: body/table/table/table footer</note>
</trans-unit>
</body>
</file>
<file source-language="en-GB" target-language="de-DE" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
<header>
<prop-group name="ora_reconstruction">
<prop prop-type="TemplateCode">XX_STD_PROD</prop>
<prop prop-type="extractorVersion">5.6.3_120.1</prop>
</prop-group>
</header>
<body>
<trans-unit id="2b7f43c_3" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
<source>PURCHASE ORDER NO.</source>
<target>Bestell-Nr.</target>
<note>Text located: body/table/table/table footer</note>
</trans-unit>
</body>
</file>
<file source-language="en-GB" target-language="da-DK" datatype="XDO" original="orphan.xlf" product-version="orphan.xlf" product-name="">
<header>
<prop-group name="ora_reconstruction">
<prop prop-type="TemplateCode">XX_STD_PROD</prop>
<prop prop-type="extractorVersion">5.6.3_120.1</prop>
</prop-group>
</header>
<body>
<trans-unit id="2b7f43c_3" maxbytes="4000" maxwidth="23" size-unit="char" translate="yes">
<source>PURCHASE ORDER NO.</source>
<target>INDKØBSORDRE NR.</target>
<note>Text located: body/table/table/table footer</note>
</trans-unit>
</body>
</file>
</xliff>
Thanks in advance
--Ben -
XML Publisher Desktop Db connect SQL Server Host:Port:Sid
Brand new to XML Publisher. Set up XML Publisher Enterprise environment to work with SQL Server 2005 using both MS 2000 & 2005 JDBC drivers, so far no problem.
However the XML Publisher Desktop Report Wizard will not connect to SQL Server 2005 using either MS 2000 & 2005 JDBC drivers. I provide the same data source name, user and pw that I use in the XML Publisher Enterprise environment but it is the 4th piece of information - the database portion (Host:Port:Sid) that I am having trouble with. SID is an Oracle invention not used in the SQL Server world. I have tried various combinations of the database string without sucess.
Perhaps the XML Publisher Desktop does not work with SQL Server. Does anyone know how to use XML Publisher Desktop to create templates that will work with MS SQL Server?
Thank you.
BG...Shaun,
Thanks for you comments. I belive I now have enough to use the HSGC-ODBC technique to make the template and then re-edit it to make it work with the original JDBC connection.
That said, "Using ODBC-JDBC bridge connection is really poor in performance." I, more than anyone on the planet am aware of this issue and more.
Being new to XMLPublisher I thought that having a JDBC connection to a SQL Server from XMLP Enterprise led me to beleive that the XMLP Desktop template creation tool would also work. "*** Pity the fool ***" for thinking that! (Thank-you Mr. T!!! <grin>).
Because I had to engage a 'heterogeneous connectivity" solution to this problem indicates that the product is half-baked. That's not to say that it is not capable.
Rushing software products to market quickly creates products that make the rest of us jump through hoops. I resent that!!! I have more import things to do than waste time!
I demand more of a trusted vendor, do you? I have tortured myself with Oracle products thinking they were ready since the early nineties.
Look we are in a "heterogeneous universe" and if the product pretends to work with "heterogeneous databases" on the Enterprise side than it damn well aught to work with them on the Desktop side. That's my opinion.
Attention OTN: I am back!!!
Justin, this needs to be fixed.
Thanks!
BG... -
Xml publisher desktop 5.6
Where do I get xml publisher desktop 5.6 ?
You can download it here, http://www.oracle.com/technology/software/products/publishing/index.html
-
How to filter cancelled PO lines using XML publisher desktop
Hello,
I've created a new PO template for printing using XML Publisher Desktop for Word. Output format is in RTF. All data required was printed except when the user canceled a particular PO line, that line will also be printed out with quantity and total amount 0. How can I filter PO lines with "canceled" flag not be printed out? Is it possible to insert conditional statement within the table template? How to do that?
Thanks in advanceif you want only test it by XML publisher desktop
then you can use if statement
for example in field
<?if:TAG1='test?>then
<?TAG2?>then
<?end if?>for row between (for example)
<?for-each:G_GROUPNAME?>and
<?end for-each?>BTW use this method is not correct in my opinion
if you use "canceled" flag as parameter in concurrent program
then you may get xml for RTF template only with needed data -
Getting error while running the XML file using XML Publisher Desktop
Hi all,
We have successfully loaded the XML file using XML Publisher Desktop. But when we preview the same using PDF format we are getting the following error.
Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
Run XDO Start
RTFProcessor setLocale: en-us
FOProcessor setData: C:\Documents and Settings\smanmadh\Desktop\ProductCompensationDT.xml
FOProcessor setLocale: en-us
java.lang.NullPointerException
at oracle.apps.xdo.template.fo.area.PageNumber.formatString(PageNumber.java:104)
at oracle.apps.xdo.template.fo.IDManager.registerId(IDManager.java:44)
at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageJoinSeq(AreaTree.java:1106)
at oracle.apps.xdo.template.fo.area.AreaTree.incrementJoinSequenceIndex(AreaTree.java:219)
at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageDocument(AreaTree.java:1089)
at oracle.apps.xdo.template.fo.area.AreaTree.forceOutput(AreaTree.java:471)
at oracle.apps.xdo.template.fo.elements.FORoot.end(FORoot.java:58)
at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:386)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:279)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1022)
at RTF2PDF.runRTFto(RTF2PDF.java:626)
at RTF2PDF.runXDO(RTF2PDF.java:460)
at RTF2PDF.main(RTF2PDF.java:251)
Thanks in Advance.
Sudeep.This is BI related. You will get a quicker answer from the BI Publisher forum
BI Publisher -
How can i write the code in xml publisher desktop
hi all
How and where can i write the code in xml publisher desktop ???
shall i know how to write xml code or what ??
in which part can i write the code if i have more than one query ?hi dear
Thanks for ur replay...
What i mean is : i used to work on reports builder,so :
1- i used to create more than query in some reports.
2- create formulas ,procedures....
NOW i want to create the same reports by using xml publisher desktop, so how can i do that...
when i use {color:#ff0000}report wizard{color}, i can not or i don`t know how to use more than one query, create formulas or procedures.
Please help me.
Thanks again. -
XML Publisher Desktop 5.6.2 Installation Error
I down loaded the desktop version. when I install it, it pops up a dialog
"Word application is running. please close word application and retry installation"
then, it stops installation.
But I did not have word application open, only installation is running.
Is this a bug, or I am missing some thing?
GaryHello, I have a similar problem
I tried to install versions 5.5 and 5.6.2 of XML Publisher Desktop and I consistenly get an "unexpected error during configuration" at the end of the installation. The word process wasn't running while I was running the setup (and outlook neither).
This is the setup log, containing all the times I've tried to install it:
[Word Template Builder ptb.exe Start]
Date: 22-05-2006 19:23:55
v2 0007
Installation Directory: C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Locale: EN
Readme open: YES
JavaHome: C:\Archivos de programa\Java\jre1.5.0_06\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\winnt\perfiles\clx036075023\datos de programa\microsoft\word\startup\TemplateBuilder.dot
Get directories
Current Directory : C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Archivos de programa
Start Program Directory : C:\WINNT\perfiles\clx036075023\Menú Inicio\Programas
Set directories end
SetIniData Start
ReadIni Start
Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 22-05-2006 19:35:35
v2 0007
Installation Directory: C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Locale: EN
Readme open: YES
JavaHome: C:\Archivos de programa\Java\jre1.5.0_06\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\winnt\perfiles\clx036075023\datos de programa\microsoft\word\startup\TemplateBuilder.dot
Get directories
Current Directory : C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Archivos de programa
Start Program Directory : C:\WINNT\perfiles\clx036075023\Menú Inicio\Programas
Set directories end
SetIniData Start
ReadIni Start
Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 22-05-2006 19:42:05
v2 0007
Installation Directory: C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Locale: EN
Readme open: YES
JavaHome: C:\Archivos de programa\Java\jre1.5.0_06\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\winnt\perfiles\clx036075023\datos de programa\microsoft\word\startup\TemplateBuilder.dot
Get directories
Current Directory : C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Archivos de programa
Start Program Directory : C:\WINNT\perfiles\clx036075023\Menú Inicio\Programas
Set directories end
SetIniData Start
ReadIni Start
Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 22-05-2006 19:43:25
v2 0007
Installation Directory: C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Locale: EN
Readme open: YES
JavaHome: C:\Archivos de programa\Java\j2re1.4.2_04\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\winnt\perfiles\clx036075023\datos de programa\microsoft\word\startup\TemplateBuilder.dot
Get directories
Current Directory : C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Archivos de programa
Start Program Directory : C:\WINNT\perfiles\clx036075023\Menú Inicio\Programas
Set directories end
SetIniData Start
ReadIni Start
Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 22-05-2006 19:47:01
v2 0007
Installation Directory: C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Locale: EN
Readme open: NO
JavaHome: C:\Archivos de programa\Java\jre1.5.0_06\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\winnt\perfiles\clx036075023\datos de programa\microsoft\word\startup\TemplateBuilder.dot
Get directories
Current Directory : C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Archivos de programa
Start Program Directory : C:\WINNT\perfiles\clx036075023\Menú Inicio\Programas
Set directories end
SetIniData Start
ReadIni Start
Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 22-05-2006 19:57:49
v2 0007
Installation Directory: C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Locale: EN
Readme open: NO
JavaHome: C:\Archivos de programa\Java\jre1.5.0_06\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\winnt\perfiles\clx036075023\datos de programa\microsoft\word\startup\TemplateBuilder.dot
Get directories
Current Directory : C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Archivos de programa
Start Program Directory : C:\WINNT\perfiles\clx036075023\Menú Inicio\Programas
Set directories end
SetIniData Start
ReadIni Start
Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 22-05-2006 20:13:01
v2 0007
Installation Directory: C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Locale: EN
Readme open: YES
JavaHome: C:\Archivos de programa\Java\jre1.5.0_06\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\winnt\perfiles\clx036075023\datos de programa\microsoft\word\startup\TemplateBuilder.dot
Get directories
Current Directory : C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Archivos de programa
Start Program Directory : C:\WINNT\perfiles\clx036075023\Menú Inicio\Programas
Set directories end
SetIniData Start
ReadIni Start
Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 22-05-2006 20:13:49
v2 0007
Installation Directory: C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Locale: EN
Readme open: YES
JavaHome: C:\Archivos de programa\Java\jre1.5.0_06\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\winnt\perfiles\clx036075023\datos de programa\microsoft\word\startup\TemplateBuilder.dot
Get directories
Current Directory : C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Archivos de programa
Start Program Directory : C:\WINNT\perfiles\clx036075023\Menú Inicio\Programas
Set directories end
SetIniData Start
ReadIni Start
Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 23-05-2006 10:47:51
v4 0001
Installation Directory: C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Locale: es_ES
TB Locale: es_ES
Readme open: YES
JavaHome: C:\Archivos de programa\Java\jre1.5.0_06\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\winnt\perfiles\clx036075023\datos de programa\microsoft\word\startup\TemplateBuilder.dot
Get directories
Current Directory : C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Archivos de programa
Start Program Directory : C:\WINNT\perfiles\clx036075023\Menú Inicio\Programas
Set directories end
SetIniData Start
ReadIni Start
Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 23-05-2006 12:37:50
v2 0007
Installation Directory: C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Locale: EN
Readme open: YES
JavaHome: C:\j2sdk1.4.2_04\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\winnt\perfiles\clx036075023\datos de programa\microsoft\word\startup\TemplateBuilder.dot
Get directories
Current Directory : C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Archivos de programa
Start Program Directory : C:\WINNT\perfiles\clx036075023\Menú Inicio\Programas
Set directories end
SetIniData Start
ReadIni Start
Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 23-05-2006 12:43:57
v2 0007
Installation Directory: C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Locale: EN
Readme open: YES
JavaHome: C:\Archivos de programa\Java\jre1.5.0_06\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\winnt\perfiles\clx036075023\datos de programa\microsoft\word\startup\TemplateBuilder.dot
Get directories
Current Directory : C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Archivos de programa
Start Program Directory : C:\WINNT\perfiles\clx036075023\Menú Inicio\Programas
Set directories end
SetIniData Start
ReadIni Start
Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 23-05-2006 12:44:26
v2 0007
Parameter Error
Registry set error: -2147483646\SoftWare\Oracle\XML Publisher\Template Builder for Word\INSTALLATION:4
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 23-05-2006 12:46:56
v4 0001
Installation Directory: C:\XML Publisher Desktop\Template Builder for Word
Locale: en_US
TB Locale: en_US
Readme open: NO
JavaHome: C:\j2sdk1.4.2_04\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\winnt\perfiles\clx036075023\datos de programa\microsoft\word\startup\TemplateBuilder.dot
Get directories
Current Directory : C:\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Archivos de programa
Start Program Directory : C:\WINNT\perfiles\clx036075023\Menú Inicio\Programas
Set directories end
SetIniData Start
ReadIni Start
Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 23-05-2006 12:53:07
v4 0001
Installation Directory: C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Locale: es_ES
TB Locale: es_ES
Readme open: NO
JavaHome: C:\Archivos de programa\Java\jre1.5.0_06\
Always use: YES
Set directories start
Create word object
Word object was created
Template file path : c:\winnt\perfiles\clx036075023\datos de programa\microsoft\word\startup\TemplateBuilder.dot
Get directories
Current Directory : C:\Archivos de programa\Oracle\XML Publisher Desktop\Template Builder for Word
Program Files Directory: C:\Archivos de programa
Start Program Directory : C:\WINNT\perfiles\clx036075023\Menú Inicio\Programas
Set directories end
SetIniData Start
ReadIni Start
Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 23-05-2006 12:54:40
v4 0001
Parameter Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 23-05-2006 12:54:41
v4 0001
Parameter Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 23-05-2006 12:54:42
v4 0001
Parameter Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 23-05-2006 12:54:46
v4 0001
Parameter Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 23-05-2006 12:56:38
v4 0001
Parameter Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 23-05-2006 12:56:40
v4 0001
Parameter Error
[Template Builder Installation End]
[Word Template Builder ptb.exe Start]
Date: 23-05-2006 12:56:40
v4 0001
Parameter Error
[Template Builder Installation End]
Thank you ... -
How can I download and install the XML Publisher Desktop that I need for the WORD and Excel add-ins?
Edited by: laskowsj on Mar 17, 2011 12:20 PMIf you are Oracle user then I would highly recommend you that you get this
file from oracle support as it is the official source of information.
I can see there is a patch 5887917 which gives you BIP Desktop 10.1.3.2 which is compatible
with XMLP 5.6.3 plus additional functionality which are only applicable to the stand alone version
of BI Publisher and are not intended for use with Ebusiness Suite.
Good luck
Jorge
p.s. If this answers your question please grant the points and close this thread -
Error while running the XML file using XML Publisher Desktop
Hi All,
We have successfully loaded the XML file using XML Publisher Desktop.But when we try to preview it using the PDF format we are getting the following error.
Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
Run XDO Start
RTFProcessor setLocale: en-us
FOProcessor setData: C:\Documents and Settings\smanmadh\Desktop\ProductCompensationDT.xml
FOProcessor setLocale: en-us
java.lang.NullPointerException
at oracle.apps.xdo.template.fo.area.PageNumber.formatString(PageNumber.java:104)
at oracle.apps.xdo.template.fo.IDManager.registerId(IDManager.java:44)
at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageJoinSeq(AreaTree.java:1106)
at oracle.apps.xdo.template.fo.area.AreaTree.incrementJoinSequenceIndex(AreaTree.java:219)
at oracle.apps.xdo.template.fo.area.AreaTree.registerLastPageDocument(AreaTree.java:1089)
at oracle.apps.xdo.template.fo.area.AreaTree.forceOutput(AreaTree.java:471)
at oracle.apps.xdo.template.fo.elements.FORoot.end(FORoot.java:58)
at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:386)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:279)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1022)
at RTF2PDF.runRTFto(RTF2PDF.java:626)
at RTF2PDF.runXDO(RTF2PDF.java:460)
at RTF2PDF.main(RTF2PDF.java:251)
Any pointers will be of great help.
Thanks in Advance
Sudeep.2¢
I had a similar error which when I searched, came up with this thread.
My issue was resolved after I discovered that my RTF template was not really RTF. It was sill in MS Word DOC format. This was discovered by reviewing two templates in NOTEPAD. The MS-DOC files have a lot of "special" characters in them. My RTF was not really RTF.
After doing a SAVE AS - RTF format, then the preview worked as expected.
Just Sharing...
--Tim -
Error "Run-Time Error '76' PAth Not Found" in XML Publisher Desktop
Hi All,
we are trying to preview the PDF output in the XML Publisher Desktop Application.
We are able to LOAD the data successfully.
But whenever we try to preview the output, we are getting an error saying "Run-Time Error '76' Path Not Found".
We are using the XMLP Desktop application on the Client Machine.(Citrix)
Can anybody help us in this regard?
Thanks,
Sachin.Hi.
You are posting in the wrong forum.
Please post to the BI Publisher Forum:
BI Publisher -
How to trigger xml publisher API (ex:Delivering Documents via e-Mail)?
Dear All:
How to use xml publisher API ?
In user's guide always talk API's code.(ex:Delivering Documents via e-Mail
// create delivery manager instance
DeliveryManager dm = new DeliveryManager();
// create a delivery request
DeliveryRequest req =
dm.createRequest(DeliveryManager.TYPE_SMTP_EMAIL);
// set email subject
req.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT, "Invoice");
// set SMTP server host
req.addProperty(
DeliveryPropertyDefinitions.SMTP_HOST, "mysmtphost");
// set the sender email address
req.addProperty(DeliveryPropertyDefinitions.SMTP_FROM,
"[email protected]");
// set the destination email address
req.addProperty(
DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS,
"[email protected], [email protected]" );
// set the content type of the email body
req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE,
"text/html");
// set the document file name appeared in the email
req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME,
"body.html");
// set the document to deliver
req.setDocument("/document/invoice.html");
// submit the request
req.submit();
// close the request
req.close(); )
Not say how to use this code to account effect !!
Having anybody to use API before?
Please tell me how to use that,thanks!!
BY Emily_yeHi Emily
I had the same question. After much research and a lot of deduction I produced the following:
import oracle.apps.fnd.cp.request.*;
import java.io.*;
import java.sql.*;
import java.util.Vector;
import oracle.apps.fnd.util.*;
import oracle.apps.xdo.XDOException;
import oracle.apps.xdo.common.pdf.util.PDFDocMerger;
import oracle.apps.xdo.delivery.DeliveryException;
import oracle.apps.xdo.delivery.DeliveryManager;
import oracle.apps.xdo.delivery.DeliveryPropertyDefinitions;
import oracle.apps.xdo.delivery.DeliveryRequest;
import oracle.jdbc.driver.OracleCallableStatement;
public class RunTravProgram implements JavaConcurrentProgram {
CpContext mCtx; // global reference to concurrent program context
LogFile logFile; // global reference to context logfile
OutFile outFile; // global reference to context outfile
Connection mConn = null;
ReqCompletion lRC;
//File Separator
private String mFileSeparator;
// globals for template
String XDOAppShortName = "";
String XDOtemplateCode = "";
// hard-wired constants for template addition
final String XDOLanguage = "en";
final String XDOTerritory = "US";
final String XDOFinal_format = "PDF";
final String XDOtemplateType = "TEMPLATE_SOURCE";
String PDFFile = "";
String outFilePath = "";
String progShortName = "";
String progDesc = "";
Integer iRequestID = 0;
String sWatermark = ""; // watermark text
String emailAddress = ""; // Not Implemented
String emailServer = "";
public static final String M_SUCCESS = "SUCCESS";
public static final String M_ERROR = "ERROR";
public static final String M_WARNING = "WARNING";
* Create a Java FND ConcurrentRequest objec to call fnd_request.submit_request
* The first three parameters are:
* Application Short Name -- Application Short name (ie. WAHC)
* Current Program Short Name -- Concurrent Program being called
* Current Program Description -- description for above
* These should be the first three parameters passed by the concurrent
* program in this order. The next two are constants set to null
* These are followed by the parameters passed by the first concurrent
* program that are being passed to the next concurrent program.
* I am limiting the parameter list to ten for now.
// Dynamic PLSQL statement used to get a concurrent request completion status
// This is necessary because the java class does not provide this method :-(
String mGetCompleteStatus =
"DECLARE R_VAL BOOLEAN; " + "b_phase VARCHAR2 (80) := NULL; " +
"b_status VARCHAR2 (80) := NULL; " +
"b_dev_phase VARCHAR2 (80) := NULL; " +
"b_dev_status VARCHAR2 (80) := NULL; " +
"b_message VARCHAR2 (240) := NULL; " + "BEGIN " +
"r_val := fnd_concurrent.wait_for_request (:1,5,1000," +
"b_phase,b_status,b_dev_phase,b_dev_status,b_message); " +
":2 := b_phase; " + ":3 := b_status; " + ":4 := b_message; " + "end;";
public RunTravProgram() {
// no constructor necessary for now
* Concurrent Processing provides an interface 'JavaConcurrentProgram' with abstract method
* runProgram() which passes the concurrent processing context 'CpContext'. The concurrent
* program developer will implement all of their business logic for a concurrent program in
* runProgram(). The main() method, implemented by AOL, will call runProgram() after
* performing all of the required initialization for the concurrent program, including
* establishing a database connection, initializing the required contexts, and setting up
* the log and output files. CpContext will have the request specific log and output
* file input methods
public void runProgram(CpContext pCpContext) {
mCtx = pCpContext;
OracleCallableStatement lStmt = null;
boolean bCompletion = true;
String sPhase = "";
String sStatus = "";
String sMessage = "";
//get handle on request completion object for reporting status
lRC = pCpContext.getReqCompletion();
// assign logfile
logFile = pCpContext.getLogFile();
// assign outfile
outFile = pCpContext.getOutFile();
// assign fileseparator
mFileSeparator = getFileSeparator();
// get the JDBC connection object
mConn = pCpContext.getJDBCConnection();
outFilePath =
((new File(outFile.getFileName())).getParent() == null ? "" :
(new File(outFile.getFileName())).getParent() +
mFileSeparator);
logFile.writeln("OutFile File Path: -> " + outFilePath, 0);
// get parameter list object from CpContext
// these come from the concurrent program
ParameterList lPara = pCpContext.getParameterList();
// create a temporary array and retrieve the parameters created by
// the program. Currently limiting the number of parameters to 10 for now
String pvals[] = new String[10];
int pcount = 0;
while (lPara.hasMoreElements()) {
NameValueType aNVT = lPara.nextParameter();
pvals[pcount] = aNVT.getValue();
pcount++;
if (pcount > 9)
break;
// send parameter values to the log file
logFile.writeln("Arg 1: APPL_SHORT_NAME -> " + pvals[0], 0);
logFile.writeln("Arg 2: CURR_PROG_SHORT_NAME -> " + pvals[1], 0);
logFile.writeln("Arg 3: CURR_PROG_DESCRIPTION -> " + pvals[2], 0);
logFile.writeln("Arg 4: TEMPLATE_CODE -> " + pvals[3], 0);
logFile.writeln("Arg 5: P_PLANT_CODE -> " + pvals[4], 0);
logFile.writeln("Arg 6: P_BATCH_NO -> " + pvals[5], 0);
logFile.writeln("Arg 7: P_SHOW_PROMISE -> " + pvals[6], 0);
logFile.writeln("Arg 8: P_WATERMARK -> " + pvals[7], 0);
XDOtemplateCode = pvals[3]; // store the template name globally
progShortName = pvals[1]; // store the program short name globally
XDOAppShortName = pvals[0]; // store the application short name
sWatermark = pvals[7]; // store the watermark globally
progDesc = pvals[2];
try {
// create a concurrent request object
ConcurrentRequest cr = new ConcurrentRequest(mConn);
// use the parameters to call fnd_request.submit_request
cr.addLayout(XDOAppShortName, XDOtemplateCode, XDOLanguage,
XDOTerritory, XDOFinal_format);
Vector param = new Vector();
param.add(pvals[4]); // plant code
param.add(pvals[5]); // batch ID
param.add(pvals[6]); // Show SO info flag
iRequestID =
cr.submitRequest(XDOAppShortName, progShortName, progDesc,
null, false, param);
mConn.commit();
// send the request ID to the log file
logFile.writeln("-- Request ID: ->" + Integer.toString(iRequestID),
0);
// call fnd_concurrent.wait_for_request to wait until the request
// has ended - use this to check the request status before proceeding
lStmt =
(OracleCallableStatement)mConn.prepareCall(mGetCompleteStatus);
lStmt.setInt(1, iRequestID);
lStmt.registerOutParameter(2, java.sql.Types.VARCHAR, 0, 255);
lStmt.registerOutParameter(3, java.sql.Types.VARCHAR, 0, 255);
lStmt.registerOutParameter(4, java.sql.Types.VARCHAR, 0, 255);
lStmt.execute();
// get the results of the completion
sPhase = lStmt.getString(2);
sStatus = lStmt.getString(3);
sMessage = lStmt.getString(4);
lStmt.close();
// send the results of the request processing to the log file
logFile.writeln("-- Phase: -> " + sPhase, 0);
logFile.writeln("-- Status: -> " + sStatus, 0);
logFile.writeln("-- Message: -> " + sMessage, 0);
// test here to make sure it completed correctly
if (sPhase.equals("Completed") && sStatus.equals("Normal")) {
// construct the PDF file name generated by the called request
PDFFile = progShortName + "_" + iRequestID + "_1.pdf";
// add a watermark to the generated PDF
// create an output stream for the existing PDF
// and set ouput to append
OutputStream pdfout =
new FileOutputStream(outFilePath + PDFFile, true);
// create an inputstream array (required by calling method)
InputStream pdfin[] = new InputStream[1];
pdfin[0] = new FileInputStream(outFilePath + PDFFile);
// add the watermark passed as a parameter
bCompletion = addWatermark(pdfin, pdfout);
// assign the modified file to the context out
// this will print using this request
if (bCompletion)
outFile.setOutFile(outFilePath + PDFFile);
// release the connection object
// and set the completion status for the request
if (bCompletion) {
pCpContext.getReqCompletion().setCompletion(ReqCompletion.NORMAL,
} else {
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
pCpContext.releaseJDBCConnection();
} catch (SQLException s) {
logFile.writeln("SQL Error: Exception thrown w/ error message: " +
s.getMessage(), 0);
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
pCpContext.releaseJDBCConnection();
} catch (IOException ioe) {
logFile.writeln("IO Error: Exception thrown w/ error message: " +
ioe.getMessage(), 0);
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
pCpContext.releaseJDBCConnection();
} catch (Exception e) {
logFile.writeln("General Exception: " + e.getMessage(), 0);
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
pCpContext.releaseJDBCConnection();
} finally {
try {
if (lStmt != null)
lStmt.close();
pCpContext.releaseJDBCConnection();
} catch (SQLException e) {
logFile.writeln(e.getMessage(), 0);
lRC.setCompletion(ReqCompletion.WARNING, M_WARNING);
* addWatermark()
* @param pdfin
* @param pdfout
* @return boolean
* This method will work for an existing document or a newly generated
* one. Set the outputstream append flag to false for a new document
* and true for an existing one.
* NOTE: PDFDocMerger requires an inputstream array even if it only
* contains one document.
private boolean addWatermark(InputStream[] pdfin, OutputStream pdfout) {
if (!sWatermark.equals("")) {
try {
PDFDocMerger docMerger = new PDFDocMerger(pdfin, pdfout);
//docMerger.setTextDefaultWatermark(sWatermark);
docMerger.setTextWatermark(sWatermark, 80f, 50f);
docMerger.setTextWatermarkAngle(25);
docMerger.setTextWatermarkColor(1.0f, .50f, .50f);
docMerger.setTextWatermarkFont("Garamond", 100);
docMerger.process();
docMerger = null;
return true;
} catch (XDOException e) {
logFile.writeln("Watermark process Failed: " + e.getMessage(),
0);
return false;
return true;
* Returns the file separator
private String getFileSeparator() {
return (System.getProperty("file.separator"));
* EBSEmailDelivery
* @return
* Just for testing right now.
private boolean EBSEmailDelivery() {
if (!emailAddress.equals("")) {
try {
// create delivery manager instance
DeliveryManager delMgr = new DeliveryManager();
// create a delivery request
DeliveryRequest delReq =
delMgr.createRequest(DeliveryManager.TYPE_SMTP_EMAIL);
// set email subject
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT,
"EBS Report:" + progDesc +
" for request: " + iRequestID);
// set SMTP server host
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_HOST,
emailServer); // need to supply the email smtp server
// set the sender email address
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_FROM,
emailAddress);
// set the destination email address
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS,
emailAddress);
// set the content type of the email body
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE,
"application/pdf");
// set the document file name appeared in the email
delReq.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME,
PDFFile);
// set the document to deliver
delReq.setDocument(outFilePath + PDFFile);
// submit the request
delReq.submit();
// close the request
delReq.close();
return true;
} catch (DeliveryException de) {
logFile.writeln("email process Failed: " + de.getMessage(), 0);
return false;
return true;
This is the class for a JCP I created to perform the following:
1) Launch an existing Concurrent Program that produces PDF output
2) Grab the PDF and apply a watermark based on user input or conditions
3) associate the modified PDF to CP output for PASTA printing
It isn't elegant but it is fairly simple. I added the email capability and tested it but am not implementing it at the present time.
there is a fair amount of information out there that explains how to create a JCP councurrent program but very little that demonstrates the class needed.
I hope this helps -
Some RTF commands not working in Oracle XML Publisher Desktop 5.6.3
Hello,
I am using Oracle XML Publisher Desktop 5.6.3 (Patch 5887917) and seems like some of the RTF command are not working. I am following Tim Dexter's blog (http://blogs.oracle.com/xmlpublisher/2007/10/here_are_my_terms_conditions.html ) and could not make the "new" commands from his blog, work in my template.
<?section:force-page-count;'end-on-even-layout'?> -- even with this on the template, I'm still getting output with odd total numpages
<?section:xdofo:blank-on;'even-skip-page-count'?> -- cannot suppress the NUMPAGES value of MS Word
Do I need to apply additional patch(es) on top of Patch 5887917 for the MS Word add-on? Could you please tell me what am I missing?
Thanks.Hello,
I am trying to install the latest version but getting the error below when performing Preview.
ConfFile: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdo.cfg
Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
Run XDO Start
Template: C:\Documents and Settings\rmembrere\My Documents\MyDelorme\XML Publisher Project\CONVERSIONS\templates\DEL_POs\DEL\PO_TEST_AGAIN.rtf
RTFProcessor setLocale: en-us
RTFProcessor setConfig: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdo.cfg
FOProcessor setData: C:\Documents and Settings\rmembrere\My Documents\MyDelorme\XML Publisher Project\CONVERSIONS\templates\DEL_POs\DEL\PO_Sample_2020870.xml
FOProcessor setLocale: en-us
FOProcessor setConfig: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdo.cfg
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at RTF2PDF.runRTFto(RTF2PDF.java:629)
at RTF2PDF.runXDO(RTF2PDF.java:439)
at RTF2PDF.main(RTF2PDF.java:289)
Caused by: oracle.xdo.parser.v2.XPathException: Variable not defined: '_XDONFSEPARATORS'.
at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
... 15 more
Anybody who has used the commands (page suppression) provided by Tim in his blog? May I know from what version you have done it? The blog was posted back in 2007.
Thanks! -
XML Publisher Desktop and Vista
Hi,
Has anyone been successful in installing XML Publisher under Windows Vista ?
I've tried and get an error.
Just curious is anyone else has been successful.
Thanks.I guess the lack of response is answer enough then :)
So, no one has successfully managed to intall XML Publisher Desktop under Windows Vista ? -
XML Publisher Desktop and Enterprise...?
Hello,
Apologies if I missed some obvious documentation or whatever... But..
I don't really understand how XML Publisher Enterprise and XML Publisher Desktop fit together.
Does Desktop require Enterprise? Are they more complimentary, or is Desktop more of a "Lite" version of Enterprise? - Can I run either one or both as needed or desired...?
Any info, thoughts, suggestions... Pointers to relevant docs... Or anything along that line would be very much appreciated.
Thanks!
Cheers
(Cute... The spell checker doesn't have XML in it's dictionary!) ;)XMLP Enterprise is for running and distributing reports. It handles extracting data and then applying templates to your data to give it the correct look and feel.
XMLP Desktop is used to design your templates. So, for a given report, use the Desktop version to design your template and then upload it to XMLP Enterprise.
I would recommend reading this article: http://www.oracle.com/technology/pub/articles/rittman-xmlpub.html?rssid=rss_otn_articles
Hello,
Apologies if I missed some obvious documentation or
whatever... But..
I don't really understand how XML Publisher
Enterprise and XML Publisher Desktop fit together.
Does Desktop require Enterprise? Are they more
complimentary, or is Desktop more of a "Lite" version
of Enterprise? - Can I run either one or both as
needed or desired...?
Any info, thoughts, suggestions... Pointers to
relevant docs... Or anything along that line would be
very much appreciated.
Thanks!
Cheers
(Cute... The spell checker doesn't have XML in it's
dictionary!) ;)
Maybe you are looking for
-
Just tried to update my iPad 2 to the current iOS, and I got an error that said the update wouldn't install. The iPad is stuck in a funny mode with the apple and spinning wheel showing. I can't power it down or restart it. What next? Thanks.
-
I Upgraded to ios8 yesterday. Since then my screen has stopped rotat
-
Hi, i have enterd text in order say terms of payment -100 days it is geting copied to delivery header - in text tab if i change terms toof payment to 200 days in billing terms of payment -100 days is coming instead of 200 days (which was change in de
-
Vendor - Add vendor Id info as User ID of Contact
Hi Expert, i have the following requirement : New button called u2018Add Dummy contactu2019will be available via toolbar, and when user click on this button, dummy contact date will be filled in automatically. The mandatory data that should be fille
-
Middle Name field in IT0002 for MOLGA 40
Hello, Is it possible to have the field ''Middle Name'' in IT0002 for MOLGA 40 India. I checked in table T588M screen modifications, there is no middle name field. We would want to maintain Middle Name in IT0002. Thanks in advance.