Home » Developer & Programmer » Reports & Discoverer » Creating Web Template in Report Builder
Creating Web Template in Report Builder [message #178786] Thu, 22 June 2006 10:38
srao
Messages: 9
Registered: March 2005
Junior Member
Hi

I'm on Oracle 10g,
Report Builder 9.0.4.33
WinxP , Local Client

I have created a report template file (.tdf) (for the paper layout) and associated HTML file for the (Web Layout).

I made changes in "rwtemplate.xml" file to associate my template file (.tdf) with the html file.

Both template (.tdf) file and .html files were copied under
<oracle_home>\Reports\Templates directory.

I am having following problems

1. When I create a new report using report wizard and tell wizard to use my template file, it does so and the display is as it should be on the paper layout. For the web layout, it does use the required .html file to render the output, but does not recognise my image file. (It prints a blank box, where the image should be, instead). (When I view the websource, I do see a line referencing the my image file located under /images.) My customised image is a standrad .jpeg file and is copied under
<ORACLE_HOME>/REPORTS/DOCROOT/IMAGES directory. It recognises all the other images (i.e., system provided image logos such as rwblue_logo, rwgreen_logo etc, used by predefined tempaltes that are shipped with Report builder), but does not recognise my custom image, though located in the same path as the other images.

2. I am trying to add my tempalte to the prefined template list and followed the steps given in the HELP of Report Builder.

Each time I make changes to the file
"cauprefs.ora", adding my template file description and file name and save it, it saves the changes. But when I start report builder after that, "cauprefs.ora" is reverted back to its original version (without my changes). I tried this several times, and every time, I do not see my customized template in the predefined template list and cauprefs.ora does not contain the lines that I added.


Whats the solution to the above problems?

Thanks
Suma
Previous Topic: Running Report without Layout
Next Topic: Calling Web Reports(JSP) to be displayed in Web Layout format
Goto Forum:
  


Current Time: Mon Dec 02 02:17:18 CST 2024