This content has been marked as final. Show 16 replies
Did you ever resolve this issue? We are using the same approach and are unsure how to deploy sub-templates when using the Word Desktop and deploying to the Enterprise Server.
Has anyone made this work using sub templates deployed to the server? Any help would be appreciated.
Register your subtemplate with Apps as a Subtemplate.
Then call this subtemplate in your main template with the following:
However, we are using the "non-Apps" version of XML Publisher Enterprise Server. This syntax will not work (generates errors). I have tried simple variations using import:file:url, but nothing seems to work.
Like the thread author, we can successfully develop templates using the desktop (Word), but the docs provide little detail on deploying to the server. So far, Oracle Support has bot been much help.
Has anyone got a clue how to resolve this?
I am running into the same problem. I am not using the apps version but the enterprise standalone version. The subtemplate works in the MS Word processor but I receive the error "The report cannot be rendered because of an error, please contact the administrator"
I had run into a similar issue, i followed the steps below (I was using Apache server)
1> Create an alias in the httpd.conf file (location like D:\Oracle\10gr2apps\Apache\conf) on the application server
(Ex: Alias /sub/ "D:\Oracle\10gr2apps\Apache\htdocs/")
2> Place the subtemplate in htdocs D:\Oracle\10gr2apps\Apache\htdocs on the apps server
3> In the main template import the subtemplate using the following syntax
HI all, i have your same problem testing subtemplate on BIP 10.1.3.3.0 standalone.In template builder i can import my subtemplate using
<?import:file:///c:\temp\HeaderFooter.rtf?> and all works fine, i try to put it on the server putting the subtemplate on the same server path but i have an error.
Try to use URL on template builder with this sintax
and the test works fine, try the same on server and again an error in the xdo.log file.
if i write on my browser "http://192.168.167.1/template/sub.rtf " i have the window asking for file dowload....
so where is the problem ?
Thanks a lot
kuchipudi is right, this is the approriate solution. You technically don't even need to register it as a sub template.
Yes but in NON APPS environment how could we define the path of the template ? Is it possible to have a value based on a field in the xml file? This should be great ....
I've been trying to find out how to import a sub template on a server. Our environment is standalone NON APPS - has anyone managed to get this working ? if so please can you let me know the steps you need to go through. Thanks
Seems I have the same problem.
in my template. This works fine with MS Word / Template Builder and this URL also works fine in a web browser. But with BI Publisher Server I get this:
[040708_052117343][oracle.apps.xdo.common.xml.XSLTWrapper][EXCEPTION] XSL error:
XML-21028: (Fatal Error) Access not allowed : http://127.0.0.1:7201/template.xsl
XML-22900: (Error) An internal error condition occurred.
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
This makes no sense and does not really help to roll out some more complex reports.
This is solved by following Tim's Blog
The Admin option 'Disable external references' must be set to FALSE.
Apart from setting 'Disable external references' to false, the other problem that is not addressed is referencing of the <?import:file?> URL/ Path.<br>
I have designed a main template that imports more than 10 "subtemplate". In my case, the "subtemplate" is just another template as it is not registered in Template Manager.<br>
The place where I have the import syntax: <br>
However, this is in development environment. Each time I need to move it to Production envrionment, i need to change the path to something like:<br><br>
Is there anyway I can use a relative path like: <br>
Thanks Kai - got it working now