Paper Layout / Web Source
Does creating Web Source effect the Paper Layout?
It appears my formatting in my Web Layout displays in the Paper Layout along with all the previous formating I have done in the Papaer Layout.
Or is this a simple refresh/redraw issue not being properly handled by Reports Builder?
Having a Web layout does not affect the paper layout, only the paper layout is executed when you create paginated output.
However, if you are defaulting using the wizard then you need to select "web layout only" option. Otherwise you will default a layout into both the web and paper layouts. This may be what you are seeing.
Similar Messages
-
This might be a novice questin but still..
With 9i reports, we are only going to deploy our reports to the web, and there are going to be no client server reports..
In that context, the only layout we are going to be worried about is the web layout, I dont understant why there are two kinds of layouts i.e. PAPER LAYOUT AND WEB LAYOUT
what is the difference between the two, when should we use the paper and web layout.Hi,
There are 2 things here: the Q about deploying reports to the web, and the Q about paper and web layout. Let me explain each one.
Q about paper and web layouts
Paper layout is the layout you need to create "printable" reports. This layout is the same that you saw in 6i - with frames, repeating frames, fields, boilerplate objects and so on. This layout has the concept of a "page-wise" report. Once you create this layout (paper layout), you can get your report output in various formats, eg, PDF, RTF, HTML, HTMLCSS etc.
On the other hand, web layout means that in place of (or in addition to) the paper layout, you get the report designed in JSP code. So all the frames, repeating frames etc will be expressed in JSP code using the Oracle Reports custom tags. Since it is code-based, you can insert your HTML or Java code in here to customize the output. You can in fact start with the HTML template, open it in reports builder, and start inserting the data using Reports custom JSP tags. In web layout, there are no "page breaks". So your report will be a JSP file, and can be deployed along with your J2EE application.
Now the Q about deploying to the web.
BOTH paper and web layouts are compatible with the web architecture. You will call a paper report from your browser with a command like:
http://my_machine_name:port_number/reports/rwservlet?report=...server=...userid=...destype=...desformat=...
And for accessing the web layout, you will deploy the JSP on a J2EE containser (like OC4J), and access it like:
http://my_machine_name:port_number/application_context_root/My_jsp_report.JSP?server=...userid=...
There is no destype, desformat or desname (because the output is only displayed on your browser).
So using 9i Reports builder, if you want to save the report's paper layout ONLY, you save it as an RDF file. In case you want to store ONLY web or BOTH paper and web layouts, you save the report definition as JSP.
get more information on Reports Getting Started
http://otn.oracle.com/products/reports/htdocs/getstart/gettingstarted/anyformat/format.html
Navneet. -
How to run the paper layout & web layout?
Hi,
I have 10gR2 application server (Linux). A report was created in Reports 6i, now i opened the same in 10g and compiled in my local machine(development pc with windows xp).
question 1
In the development pc, i can run the paper layout but the same cant in web layout.
1. How to run the weblayout?
question 2
Now my application is running in&as web enabled. A menu calling a report ,that i want to run as paper layout, is it possible in web enable mode? Otherwise i have to run as web layout.
please guide me.
KanishThanks for the advice.
I am trying to run any iViews that connect to the R/3 back end. I have read that you have to first connect to the SLD, and then set up the JCO connections. Correct?
I have got the SLD running, but I can't connect to it. I have supplied the required SLD Data Supplier information in the Content Administrator.
In the Visual Administrator, under the SLD Data Supplier, I enter the Host, Port, User, and Password, but when I hit the Trigger Data button I get an error saying "Operation Failed! Failed to collect SLD data. Failed to send HTTP data: 401: Unauthorized. Please check if the target SLD system is available and the SLD bridge is started there."
Any help? -
Oracle Report - Paper Layout vs Web Layout
Hi,
Can anyone tell me the pros and cons for using paper layout and web layout for oracle report?Hi there,
This was recently asked - please refer to this link:
paper layout & web layout -
Setting hyperlink in paper layout
Let's say you have three long text data items in your group. A formula item is created to concatenate all of them. There is only one field on the paper layout to source this formula column. If you want to set a hyperlink to the middle text item, how can you do it. You cannot set a hyperlink to the data item itself in the Data Model and cannot set a hyperlink to the formula item. You can set hyperlink to the field level but don't want to set it to the whole field. Remember, I want that one to be set only to the middle item. I can break up the field into three separate fields but doesn't look feasible as they have to be seen continuos.
Any tips appreciated.You can do this for HTML output but you need to take control of things yourself.
You need to set the "contains html" property against the field and then change your formula column to insert the desired ... tags. You will probably also need to set the font type/size & color attributes.
Ideally, at some point, reports would support some sort of meta-data markup or allow you to have three fields and then concatenate them using &<f_1>&<f_2>&<f_3> in boilerplate but until they do... -
How to call the JSP(Web layout) instead of paper layout...
Hi,
Iam using Reports 10g. I have created a simple employees report. I have added a listbox in the jsp page by adding small Html and javascript code like below.
<form action="http://www.wwt.com/reports/rwservlet?10000_reports_listing&p_extranet=p_extranet" name="First" method="post">
<select name="p_extranet" onChange="First.submit()" >
<rw:foreach id="RGSOURCE" src="G_SOURCE">
<rw:getValue id="mysource" src="SOURCE"/>
<option value=""><%= mysource %>
</rw:foreach>
</select>
</form>
When I run this report in the report builder as Web layout, Listbox is displayed with values inside.
But when I move it to Apps server and run it through URL,
listbox is disappeared. I think report is running the Paper layout instead of weblayout ??????????
Could you please tell me what is the problem and How to force the Weblayout or JSP to run ?
Thanks.Hi,
You are running a jsp report through rwservlet. In this case paper layout will be displayed. You have to deploy your jsp as web report to get the web layout. Please refer to the doc below, which describes how to deploy the web report.
http://download-uk.oracle.com/docs/html/B10314_01/pbr_run.htm#1011901
To run the jsp report, URL may look like
http://www.wwt.com/reports/<jsp name>?<parameter list>
Hope this helps
Vinayak -
Reports paper layout and web layout
hi.
i created a paper layout in reports but when i go to the web layout
it is displayed entirely differently. how to get the same layout
as that of paper layout in web layout...? the report is having
four groupings..
any idea ?
thanks in adv.
KrisYou need to update Web Source.
-
Synchronizing Paper and Web Layout
Is it possible to synchronize the change in Paper Layout with the Web Layout. For e.g., if I add an image in Paper Layout it should automatically be added to the Web Layout.
If not, is there any workaround so that I don't have to change the Web Layout each time I change my Paper Layout?
Thanks,
Gandhi.Hello Vijay,
As specified in the Reports Documentation, you can specify only a top-level frame as the source in the rw:include tag. For example, if you have a master-detail report, the outermost frame in the report block, corresponding to the master group in the data model, should be specified as the source.
But note that if you have multiple report blocks in your paper layout model, any/each of them can be included seperately in the web layout, using multiple rw:include tags.
Thanks,
The Oracle Reports Team. -
Producing a Paper Layout as output instead of Web Layout
Hello All,
I've developed a report in Reports 10g and saved it as a jsp file, having both paper & web layout. I've also designed a form in Oracle forms 10g with a list item displaying the list of all reports available. I've written the following piece of code to run the report selected.
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(200);
rep_status VARCHAR2(20);
rep_location varchar2(100);
pl_id paramlist;
d date;
DF VARCHAR2(10);
BEGIN
IF(:rbg=1) then
df:='pdf';
else
df:='htmlcss';
end if;
repid := find_report_object(:REPORT_LIST);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,df);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_devserver');
IF(:report_list NOT IN ('APTC_ANNUAL_RPT')) THEN
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=YES P_USER_CONNECT=ADMIN/PINNET@PINNET P_SERVER_NAME=rep_devserver P_ACTION=http://pin-150:7778/reports/rwservlet?');
v_rep := RUN_REPORT_OBJECT(repid);
ELSE
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=NO P_USER_CONNECT=ADMIN/PINNET@PINNET P_SERVER_NAME=rep_devserver P_ACTION=http://pin-150:7778/reports/rwservlet?');
v_rep := RUN_REPORT_OBJECT(repid);
END IF;
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
/*Display report in the browser*/
WEB.SHOW_DOCUMENT('http://pin-150:7778/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_devserver','_blank');
ELSE
message('Error when running report');
END IF;
END;
Now after this piece of code gets executed I get to see a JSP report in Paper Layout format. But I want the Web Layout to be displayed. Can anyone please tell me what I've to do to get the desired output in Web Layout.
Reagards,
Arun.VHello Francois,
Thanks for the reply. As per my code "df" actually is a variale which stands for the format of the output, which is determined by the users selection(in this case a radio group) in the form. DF stands for either "pdf" or "htmlcss".
The following is the code I've used to determine the users preference which can be found within my original posting.
DECLARE
df varchar2(10);
BEGIN
IF(:rbg=1) then
df:='pdf';
ELSE
df:='htmlcss';
END IF;
END;
Kindly point out to me if there are any errors in the way I've written this code.
Thanks & Regards,
Arun.V -
Paper Layout displayed instead of Web Layout
Hello All,
I've developed a report in Reports 10g and saved it as a jsp file, having both paper & web layout. I've also designed a form in Oracle forms 10g with a list item displaying the list of all reports available. I've written the following piece of code to run the report selected.
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(200);
rep_status VARCHAR2(20);
rep_location varchar2(100);
pl_id paramlist;
d date;
DF VARCHAR2(10);
BEGIN
IF(:rbg=1) then
df:='pdf';
else
df:='htmlcss';
end if;
repid := find_report_object(:REPORT_LIST);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,df);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_devserver');
IF(:report_list NOT IN ('APTC_ANNUAL_RPT')) THEN
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=YES P_USER_CONNECT=ADMIN/PINNET@PINNET P_SERVER_NAME=rep_devserver P_ACTION=http://pin-150:7778/reports/rwservlet?');
v_rep := RUN_REPORT_OBJECT(repid);
ELSE
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=NO P_USER_CONNECT=ADMIN/PINNET@PINNET P_SERVER_NAME=rep_devserver P_ACTION=http://pin-150:7778/reports/rwservlet?');
v_rep := RUN_REPORT_OBJECT(repid);
END IF;
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
/*Display report in the browser*/
WEB.SHOW_DOCUMENT('http://pin-150:7778/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_devserver','_blank');
ELSE
message('Error when running report');
END IF;
END;
Now after this piece of code gets executed I get to see a JSP report in Paper Layout format. But I want the Web Layout to be displayed. Can anyone please tell me what I've to do to get the desired output in Web Layout.
Reagards,
Arun.VHello Francois,
Thanks for the reply. As per my code "df" actually is a variale which stands for the format of the output, which is determined by the users selection(in this case a radio group) in the form. DF stands for either "pdf" or "htmlcss".
The following is the code I've used to determine the users preference which can be found within my original posting.
DECLARE
df varchar2(10);
BEGIN
IF(:rbg=1) then
df:='pdf';
ELSE
df:='htmlcss';
END IF;
END;
Kindly point out to me if there are any errors in the way I've written this code.
Thanks & Regards,
Arun.V -
Landscape Paper Layout - Won't Display on the Web
I am trying to display a report (paper layout only) on the web using desformat=pdf. To test if the report could be viewed via the web, I created a simple version and could view it in my browser w/ no problem; however, after adding some columns and making some formatting changes, including making the report display as landscape, the report will no longer display in my browser. Instead, the browser window just displays a blank white space w/ the little image icon in the top left corner. (The one that's the little box with the red square, black circle and blue triangle in it.)
Again, this is not a web layout, but the paper layout of the report, and is meant to open up as a pdf. It is also a must that I display this report as landscape rather than portrait.
What can I do to make this report display correctly in the user's browser?Hi Brice,
I just tested this with a very simple report in landscape (11" x 8.5"). The report appeared correctly in the browser, and I also printed it to confirm it comes out in landscape. I used Reports 10g.
So I think there may be some other problem with your report. For testing, you can leave the report as is (formatting, data etc), but change the page dimensions to portrait, and see if that comes out properly in your browser.
You can also test this - send the landscape report to file (destype=file) instead of displaying it on the browser (destype=cache), and see if the file come out fine.
What is the Report version you are using?
Navneet. -
Finding Source Field in Paper Layout
Hi Friends,
I want to analyaise 100 reports.
I have the following query in Data model.
SELECT NVL(voyp.ata_date, eta_date) VOY_ARRIVAL
,jh.bol_number JOB_BOL_NUMBER
*,jd.num_units DET_NUM_UNITS*
from job_details jd
Paper layout having around 100 fields, How to find DET_NUM_UNITS is source Field in Paper Layout.
Regards,
KishoreHello,
Normally when you use the report wizard to design the report it keeps the field name as F_DET_NUM_UNITS. So you can know the field and source. But if you designed the report manually. Then you will have to search field by field. Better to run the report and check on the preview. It will be less practice.
-Ammad -
Paper or web layout which is better to use?
Hi again,
I am opening a new report using the wizard and it prompt me to: "choose the type of layout you want to generate"
a.) create both web and paper layout
b.) create web layout only
c.) create paper layout only
My question is when do I use web or paper layout? What is the use of each type or its advantage?
Thanks a lotHello,
http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_run.htm#i1008534
13.3 Deploying Your Reports
Once you've created your report, you can deploy it so that end users can view it.
This section describes how to deploy a report with a paper layout (that is, REP, RDF, XML, or JSP report) and how to deploy a report with a Web layout (that is, a JSP report).
Regards -
Reports9i Builder does not create Graph for Web Source
Hi
I installed the new 9iDS and I'm trying to create a jsp page with a graph. If I create a graph in the paper layout it will run in paper layout only. After checking the web source code there is no <rw:graph ... > tag. If I try to insert the graph in the web source view I get REP-0069: Internal error REP-0: oracle/reports/RWExxception: 1.0. Is there a way to create graph for the web layout?.Hi Nestor,
This should work fine. I assume you created the report using the wizard. Did you by any chance choose to create a paper layout only?
Try the wizard option 'Create Web Layout only' or 'Create both Web and Paper Layout'.
Regards, Christian. -
Hi all,
In report9i, when using the report wizard to create a web layout (or both) it gives you a web source to run the web layout. If i change the paper layout around using the layout editor how do I update the web layout accordingly (the web source file should then be updated in order to run the web laoyout that reflects the changes as in the paper layout)? If I use report wizard to make the change it will mess up the paper layout totally. Does everyone try doing the same thing and has a solution? Thanks.hello,
paper layout and web source are independent. the wizard is able to create both for you but when you change one, the other does not reflect those changes. the paper layout is specialized for paginated output, while the web source is designed for tagged format output like HTML of similar.
if you want to create an HTML representation of your paper layout, you can do that by using the DESFORMAT=HTML or HTMLCSS settings. this will render your paper layout in those formats.
if you want more web-page style output, you would use the web source to create the layout and execute it as a JSP.
regards,
philipp
Maybe you are looking for
-
After my last iOS update my iphone 4 no longer syncs with my macbook. How do I fix that?
-
Configuring Grid Control on 10g R2
Hi Current Envt : Oracle 8.1.7/Win NT. We are going migrate to 10g R2 , In the current 8i environment, we have a EM database which manages RMAN backups of a couple of Other databases. And we monitor these backup jobs through this Enterprise Manager 2
-
Updating an existing podcast video
I have a podcast and I wanted to update an existing video. When I update the video however, and update via itunes. my old podcast video remains the same. So far the only solution I have found was deleting the current video, then "getting" the updated
-
When I installed photoshop CS6 CC on my laptop i got an error message sayting the raw plugins did not install, how do I fix that problem?
-
Prior to 10.6.8 for all 3 of my printers I could chose what page numbers to print. Often used this on documents with hundreds of pages, to print only sections I needed. NOW, in 10.6.8 that functionability is NOT shown, nor available in print... about