Parameter form in web reports
Hi All !!
I developed developer report(reports 6.0) and deployed it on web.Reports are made in character mode so that it can be stored in ascii format.our requirement is that output can be stored in ascii file on remote client M/C.
If I go to http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile
then as destype is local file so client can store it in notepad on his M/C.
In the case of report is having parameters then I go to URL : http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile+paramform=YES
My problem is :
As destype in parameter form can have one of the four value(cache,file,printer,mail) so I
can't select localfile as a option in this case.
Is there any way to include localfile in the option of DESTYPE system parameter of Developer reports.
Thanks in advance
Hi All !!
I developed developer report(reports 6.0) and deployed it on web.Reports are made in character mode so that it can be stored in ascii format.our requirement is that output can be stored in ascii file on remote client M/C.
If I go to http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile
then as destype is local file so client can store it in notepad on his M/C.
In the case of report is having parameters then I go to URL : http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile+paramform=YES
My problem is :
As destype in parameter form can have one of the four value(cache,file,printer,mail) so I
can't select localfile as a option in this case.
Is there any way to include localfile in the option of DESTYPE system parameter of Developer reports.
Thanks in advance
Similar Messages
-
Hello,
Using rwservlet on the web I can specify paramform=yes and I'll get a parameter form for my reports, which is really handy as it saves me from having to build my own forms. However when I run JSPs directly I cannot seem to get the automated form. Am I missing something obvious or is the parameter form just not available when you run JSPs directly?
Cheerio,
RobertHi Robert,
The description of the command line keyword PARAMFORM in Publishing Reports manual says:
Use PARAMFORM to specify whether to display the Runtime Parameter Form when you execute a report via CGI or a servlet. PARAMFORM is used only to supply parameters to paper layout reports, not Web source reports.
For JSP reports you need to create an HTML parameter form which calls the JSP and submits the parameters selected.
You can find Reports documentation (incl Publishing Reports here):
http://www.oracle.com/technology/documentation/reports.html
Navneet. -
Display Report Parameter Form on Web Browser
I have prepared a report (with a user parameter form )using Report Developer. Then I call the report in a web-based application through the web-browser. the parameter form display normally, except that there are two buttons on the top : submit and return. Also, the layout of the parameter form is not consistent with the style of my application.
1. Can I customized the layout of the parameter form so that it can have consistent style with my web-based program ? If yes, how?
2. Can I suppress the buttons shown on the parameter form ?
(Our Report Server is 9iAS )Hi
Reports built-in parameter form is deliberately fairly simple in capabilities (otherwise, you'd have all the functionality of Forms inside of Reports). However, with JSPs in Reports 9i, you can go farther to create a custom parameter form of your own liking.
Thanks
The Oracle Reports Team -
Parameter Form in Oracle Report!!
Dear Oracle Users' Group:
I have problem with "Parameter Form" in Oracle Report.
The Report that I created has the SQL:
"SELECT A.FIELD1, A.FIELD2
FROM MYDATABASE.MYTABLE A
WHERE
A.FIELD1 = :P_1";
When the report is run, it asks for the parameter
and generates the report based on the runtime
parameter. Works perfect on Oracle8i database's
Report front end.
The PROPERTY PALETTE for the FIELD (Field that
takes the runtime parameter) is:
====================
General Information
Name: PF_P_1
Comments:
Parameter Form Field
Source: P_1
Parameter
Datatype: Character
Width: 40
Initial Value:
Validation Trigger:
List of Values:
(For the list of values, I have put the SQL:
"SELECT DISTINCT A.FIELD1 from
MYDATABASE.MYTABLE A", Also I had
tried with list of fixed values like A, B, C)
Web Setting
Additional Attributes (HTML):
================
But the report does NOT work when called from the Web.
(This is only because of the problem with this Parameter
Form in my report. If I get rid of the parameter form by
changing the last line of my SQL to: "A.FIELD1 = 'Chicago'",
it works fine from the Web).
When accessed the report from the Web, the error I get
is:
Oracle Reports Server CGI - Report Job has terminated with this error.
Reports Server Replies:
REP-0788: Warning: The value of restricted LOV parameter P_1 is not among the selectable values.
I do not know what is the error with this simplest Parameter Form based Report!!
In the Property Palette (above) of the Field, there was a field named "Additional Attributes (HTML)"
under "Web Setting" heading.
Do I need to write something there!!
Please help!!
thanks.
kimmyHi, Kimmy
Try: ¶mform=yes]http://webserver.com:80/dev60cgi/rwcgi60.exe?server=repserver&report=rep1&userid=scott/tiger@orcl&destype=cache&desformat=htmlcss¶mform=yes
I've also sent you an email about key maps.
Enjoy! Web Reporting is a great feature.
Pedro. -
Difference between AFTER PARAMETER FORM and BEFORE REPORT in Reports 6i
Hi Aii,
What is the difference between AFTER PARAMETER FORM and BEFORE REPORT in Reports 6i.
Thanks in Advance,
BaluHi Balu.,
As per my findings the After Parameter is fired after the Parameters are given to the report and Before Report fires when the queries are parsed and data is fetched.
Regards.,
Vijay G -
Web.show_document in calling parameter form of a report(solved)
Hi,
Can you please write which is the syntax of calling a report in Dev10g which has a parameter form.....????
something like ....but i don't know how exactly....
param_form_var:='yes';
URL_VAR:='/reports/rwservlet?server='||rep_server_name_var||'&report=c:\erga\app\odoiporika_mono\sigk_katast_selected_months_.rdf'||'&desformat='||desformat_var||'&destype='||destype_var||'&userid='||username_var||'/'||password_var||'@'||tns_var||' param_form='||param_form_var;
WEB.SHOW_DOCUMENT(URL_VAR,'_blank');
NOT param_form='||param_form_var....
but
paramform='||param_form_var....
Thanks ,
Simon
Message was edited by:
sgalaxyEventually , the report run... when the active thread got the value 1. How is it done...(i mean the value of 1 , instead of 2 when the report started...????) How to secure that the active thread would be 1 if this is the problem...????
However , because the report is 2 page accross.... the report displays the first page and down the other page.... Is it possible to display both pages accross as i see them in report builder env....?????
Thanks , a lot
Simon -
Not getting Reports Parameter Form in web-forms environ
I am not able to get a report parameter form to appear for a
report called from forms via a 'run_product' command. It works
fine in client/server mode. In web-forms the report just goes
ahead and runs without the needed parameters. I have tried
explicitly passing a parameter list with the 'paramform' set to
'yes' and this did nothing. I have this on a NT box with latest
Dev2 patches applied.
1. Is the reports parameter form supposed to work in web-forms
mode?
2. How do you set it up to work, if it is supposed to work?
Thanks for any replies.
nullI guess you have to use web.show_document - I found this article
on DevConnect:
Article-ID: <Note:68647.1>
Circulation: PUBLISHED (EXTERNAL)
Platform: GENERIC Generic issue
Subject: How to show Reports HTML PARAMFORM when
calling Reports
from Forms
Modified-Date: 09-AUG-1999 18:02:04
Document-Type: BULLETIN
Content-Type: TEXT/PLAIN
Impact: MEDIUM
Component: SQLREP
PURPOSE:
This bulletin explains how to overcome the current restriction
of calling an Oracle Report from Oracle Forms and showing a
PARAMETER FORM. This is currently not possible when using the
RUN_PRODUCT built-in with
WEB DEPLOYED APPLICATIONS.
DESCRIPTION:
When you call an Oracle Report from Oracle Forms using
RUN_PRODUCT in Client-server, you can specify an optional
parameter called PARAMFORM to display the parameter form defined
in the Oracle Report.
For web-deployed applications, the PARAMFORM parameter can be
set to HTML to produce a HTML version of the parameter form.
When calling Oracle Reports from an Oracle Form using
RUN_PRODUCT and specifying PARAMFORM=HTML in the parameter list,
the Oracle Reports parameter form doesn't show the in the client
browser. If the Oracle Reports Cartridge/CGI is used and
PARAMFORM=HTML is specified, then the Oracle Reports parameter
form does appear in the client browser.
Oracle Forms does not use either the Cartridge or the CGI with
RUN_PRODUCT, and it's these thin clients that produce the HTML
Oracle Reports parameter form.
As a workaround to this problem, you can use either the
Cartridge or the CGI with the WEB.SHOW_DOCUMENT Oracle Forms
builtin. This does require either the Oracle Reports Cartrige
or the CGI to be installed. Neither of these are necessary if
the parameter form isn't required.
INSTRUCTIONS:
The following items need to be installed:
1. Oracle Reports Multi-tier Server.
2. Oracle Reports Web Cartridge
or
Oracle Reports Web CGI.
Here is a typical URL that can be specified in a browser
to run a report using Oracle Reports Cartridge implementation:
http://your_webserver/r30ows?
server=repserver21+report=emp_30.rep+
destype=cache+desformat=html+userid=scott/tiger@mydb+paramform=ht
ml
For CGI implementation:
http://your_webserver/your_vir_cgi_dir/r30cgi32.exe?
server=repserver21+report=emp_30.rep+destype=cache+desformat=html
userid=scott/tiger@mydbparamform=html
The Oracle Reports parameter form now is shown. This can be
used with WEB.SHOW_DOCUMENT issuing the request to execute the
report to the Oracle Reports Multi-Tier Server instead of using
RUN_PRODUCT.
The following code may be added to a program unit, which then
issues the request to run the report:
IF get_application_property(user_interface) = 'WEB' then
/* Use Cartridge configuration with WEB.SHOW_DOCUMENT. */
WEB.SHOW_DOCUMENT('http://your_webserver/r30ows?
server=repserver21+report=emp_30.rep+destype=cache+desformat=html
userid=scott/tiger@mydbparamform=html', '_self');
/* OR for CGI configuration. */
WEB.SHOW_DOCUMENT
('http://your_webserver/your_vir_cgi_dir/r30cgi32.exe?
server=repserver21+report=emp_30.rep+destype=cache+desformat=html
userid=scott/tiger@mydbparamform=html', '_self');
ELSE
/* use RUN_PRODUCT for client-server with PARAMFORM=Yes. */
Add_Parameter(plid, 'PARAMFORM', TEXT_PARAMETER, 'YES');
RUN_PRODUCT
(REPORTS,'emp_30.rep',SYNCHRONOUS,RUNTIME,FILESYSTEM,plid);
END;
RELATED DOCUMENTS:
Developer/2000: Guidelines for Building Applications, Deploying
Applications on the Web (for detailed instructions on setting up
the Oracle Reports Cartridge and CGI)
Laura (guest) wrote:
: I am having the same problem with Dev 6 on NT. The parameter
: screen for reports works in client/server but not web using
run-
: product. I am getting error REP-0788: Warning the value of
the
: restricted LOV parameter is not among the selectable values.
: Any reports without a parameter screen work fine with run-
: product.
: Any help would be appreciated.
null -
How the show parameter form for the report over the web by using an url ?
hello,
my url to call my report is :
http://server/reports/rwservlet?report=rtm0350.rep&desformat=html&userid=un/pw@hostring&server=rep_server¶mform=yes
but it doesn't show me the parameter form to introduce the parameters and I get :
'FINISH SUCCESSFULLY'
has anybnody any idea ?
thank'sIf this is a 'paper' report then =yes has always worked for me as long you have parameters declared in the report.
Description Use PARAMFORM to specify whether to display the Runtime Parameter
Form when you execute a report through CGI or a servlet. PARAMFORM is used only to
supply parameters to paper layout reports, not JSP-based Web reports.
Syntax PARAMFORM=YES|NO|HTML
Values
■ YES Display the Parameter Form.
■ NO Do not display the Parameter Form.
■ HTML Display the Parameter Form in HTML format.
Message was edited by:
Bob C -
No Parameter form when calling report from Forms 6i webpage
I have my Forms 6i fmx files and Reports rep files runnung off of HP Unix
within the same directory and yet when I call the report with RUN_PRODUCT,
I don't get the Parameter Form popup. I left it as default at first, and then I even tried using ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'HTML') to my parameter pl_id in my RUN_PRODUCT call. Can anyone tell me why I don't get a Parameter form?Actually if you are on the Web then you don't have much control over the format the parameter form is in, so specifying it as HTML doesn't help.
Try paramform=yes when calling teh Report and this "temporarily" should help. The problem that you run into the is that there is nothing happening when you click the parameter form submit button. The reason is that when using Run_Product you are talking to a static HTML file generated into teh Reports temp directory with no services assigned to it.
Check the Whitepaper under http://otn.oracle.com/products/reports/pdf/277282.pdf for the options that you have.
Frank -
After Parameter Form issue - Oracle Reports 10g
Hi All,
I have compiled an .rdf report to an .rep file and when
I run this file I get the "REP-1247: Report contains uncompiled PL/SQL" message.
The issue is I have built the report with dynamic XML customizations in the after parameter form trigger. When I remove this piece of code from the trigger both files .rdf and .rep works fine.
Notice that the .rdf file works fine with the after parameter form XML customization.
Please, can enyone advice me how can I have a .rep file that contains dynamic XML customization (using the srw.add_definition).
Thank you in advance.In Your code there is a line:
add_parameter(pl_id,'PARAMFORM',text_PARAMETER,'NO');
which actually disables the report parameter form.
The line:
WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'|| vjob_id||
'?server=rep_mohahubkpcomp_ORaHOme_IAS'||'&userid=
bedman/bedman@bedman'||'¶mform=yes','_blank');
displays the report to which vjob_id refers. At this point the report is competed so the parameters userid and paramform are useless.
Hope this helps.
Regards
Bekcic Aleksandar -
Returning to the parameter form in a report after closing the report page
hi all,
tell me a way to get the following solution
how can we return back to the parameter form of a "parameterised
report" after closing to the report window.
i ve tried a little bit with "srw_run_report"
reply me as quick as possible
prabhakaranTry using menu options
Tools\Parameter Form Builder
you can either select/deselect any parameter from the list -
JSP HTML parameter form to call report - Dependent drop down list
I have a report parameter form developed using HTML & JSP to call oracle reports6i.
First parameter "STATES", Second Parameter "CITY"
I have a master-detail relation betwen STATE & CITY table.
I want the parameter form drop down lists dependant. ie if the user chang STATE value in the first drop down, the second drop down list CITY shoud
change automatically.
Please help
Thanks
VimalVimal,
This is not functionality that's available in the Reports generated parameter form. In order to do this you'll need to build the parameter form yourself as a true HTML form and code the javascript to link the fields.
Hope this helps,
Danny -
Parameter form problems w/reports server
I'm in the process of trying to make some reports from a forms-
based application available on an intranet via reports server.
If I call the reports without a parameter form (just take the
default parameter values) they work fine, but as soon as I put
in a 'Paramform=YES' I start running into problems.
The entries in cgicmd.dat are in this form:
reptname: server=servername report=reptname.rdf
userid=user/pw@db_name destype=cache desformat=PDF paramform=YES
When I submit the parameter form, no matter what set of values,
I get this error:
Oracle Reports Server CGI - Key "" is unrecognized. Possible
causes: bad URL syntax; key in URL was not found in the key map
file.
Also, on some forms that should have drop-down list boxes, it's
instead displaying a blank text field followed by a long string
of values as plain text below it.hello,
sounds like an issue we had in the early versions of 6i. i would suggest you upgrade to the latest patch.
regards,
the oracle reports team --pw -
Showing Parameter form in web browser
I have created a parameter form which contains some restricted List of values need to be choosed by the user before printing the report.
I done this by putting the keyword ParamForm=Yes in the URL. The parameter form shows with all the parameter fields and the list of values in HTML format together with two buttons : SUBMIT QUERY and RESET which is generated by the report. After all the values has been entered, the SUBMIT QUERY button was press the the report server return an error:
Oracle Reports Server CGI - Key "" is unrecognized. Possible causes: bad URL syntax; key in URL was not found in the key map file
Why this will happen?Hi,
No, I don't think is the problem with the cgicmd file. This problem will only occured when I calling the report paramater form by putting the key PARAMFORM=YES IN in the URL.
But if I by-pass the parameter form by puttinh the key PARAFORM=NO and include all the parameters needed in the URL, the report server can map the key and run the report successfully!
I think the problem is the submit Query button which was generated automatically by the report. How does the submit Query button works?
For eg. I type the report URL with the key that I have created in the cgicmd file :
http://webHost:webPort/cgi-bin/RWcgi60?Key1
and inside the cgicmd.dat file is like this:
Key1: report=Report.rdf userid=eb/eb@eagledb server=Rep60_EAGLEW2K PARAMFORM=YES destype=cache desformat=htmlcss
then, the report server will automactically generate a parameter form in HTML format together with the SUBMIT QUERY button and RESET button to allow user to enter the parameters. Once the parameters has been entered, and the button SUBMIT QUERY button being pressed, the report will return this error.
Any idea?
Thanks. -
Suppressing parameter form when calling report
I use an action button on a Forms module to call a Reports module. This Report has one argument, and the value is provided by the module. When I run the Form and press the button, the parameter form of Reports appears. How can I suppress the parameter Form since the value is provided by the Form?
Set the display property of the parameter to 'No' doesn't work.
I use Designer 6i R4.11I don't know how to set this in Designer, but to your action button you have to add this:
Add_Parameter(plid,'PARAMFORM', TEXT_PARAMETER, 'NO');
plid - parameter list
Maybe you are looking for
-
I can't activate my iphone 3gs
how will i activate my iphone? using my philippines sim
-
FCPX 10.07 crashes on export - H.264
I have been trying to Share my 30 minute video to an Exported Movie file, but to no avail...FCP has done it again. I have tried on at least four othr iMac's with the same software and they all crash. Can someone take a genius from his or her bar and
-
Hi - I am working on some video where I need to remove sensor dust. I have tried the clone stamp stuff in AE CS5, but for this footage the healing brush in photoshop seemed a better proposition (the content aware variant). The method I tried was impo
-
I have downloaded (from http://xiserver:50000/rep/start/index.jsp) - Integration Builder: Design Integration Repository - Integration Builder: Configuration Integration Directory I was really surprised that this is different tools... Do I nee
-
Getting data from a photodetector using LABVIEW
I have an infra red interferometer and I am using an IR photodiode in my setup. I have a connector box and a DAQ card ( model number NI-PCI-MIO-16E1). How can i use labview to get intensity data versus time ?