Parameter form for a report portlet
Hi,
What's the best/easiest method of creating a form that a user can enter parameter values which are then used to restrict query in a report portlet?
Is there any way of doing this via the wizards / without coding? The a report portlet generated via the wizard only seems to let a user be able to specify parameter values by them first clicking the "Customize" link on the portlet.
The form portlet wizard does not seem geared to generating a form that is simply used to enter parameters...
Help!
Hi,
You cannot right now make the customization form a portlet. You can use the form to accept parameters and call the report in the success procedure by passing the columns of the form. There are lots of question answered in the forum on passing form field values to a report. That could help.
Thanks,
Sharmila
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. -
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 -
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 -
How do i create 2 parameter pages for 1 report?
Hi,
I want to make a purchase order report. first: i need a parameter page to ask how many items that you want to order. second, once user enters a number(let's say 5), i want to have anoter parameter page show 5 empty fields that user can enter 5 items' barcode#, once they entered barcodes, the report will show these 5 items info.
my difficulty is how do i create 2 parameter page for 1 report?
thank youmy question
1- there is any way to assign the Fetch process to specific region so the process take all item in these region only.
2- how can create manual process to fetch row into specific items in page ( i tray these code
SELECT col1, col2, col3 ....
INTO :P1_ITEM1, :P1_ITEM, :P1_ITEM...
FROM table
WHERE id = :P_id ) but no data retrieve .
I do not think that it is possible to have more than one Automated Row Fetch process in a given page. See the thread:
ORA-01403: no data found : Unable to fetch row multiple automated row fetch
On your second question, the manual process should work provided:
P_ID has a value when the process executes. You can do it this way:
i. Make this process as a on-load After/Before header process
ii. Make sure that P_ID page item has value when the process executes (set it from another page or before the pl/sql process executes) -
Order by in Parameter form for a formula col
Hi,
I have made a report for fast moving products and have ordered by on a formula column. Is there any way to select the order by (ascending or descending) in the parameter form at runtime for the same formula column. Instead of making two different reports one for ascending and one for descending, is there any way the user can select at runtime in the parameter form?
For the same report, how can I specify Top 100, Top 50, Top 25 etc.
Your reply or comments would be highly appreciated.
Thanks
Rgds
Fahad HanifI think by declaring one additional variable in which
u will ask from user in which order he requires the
outpu ascending/descending. and in second variable u
assign the order,
For exp
your query in as
select * from table
&<var 2>
if after parameter trigger of the report mention
if <var1>='asc'
<var2>:='Order by fieldname asc';
else
<var2>:='Order by fieldname desc';
if;
ill solve ur requirement.
Thanks
Shishu PaulHi,
Thanx for your reply but unfortunately it dint work. It dint show me any error as such but the ordering did not take place.
The issue is that I need to do the ordering on the Formula Column. Simply adding an order by statement like ' order by :cf_4 ' shows an error. Though routing it through the variable dint show any error it neither did serve the purpose.
I need to find a way in getting the ordering on the formula column. Then I need is Top n number of products to be displayed based on the order by of the formula column.
Pls help me out on this.
Thanks
Rgds
Fahad Hanif -
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 -
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 -
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 -
Variant / or / parameter Tranaction for a report
I want to create a transaction code for a report .
This transaction code should load a variant ( Protect a parameter field ( Value = xyz & user can not change it ) .
Can someone tell me how to proceed ?
Thanks> Sandra Rossi wrote:
> Maybe I am not clear.
Perhaps I should have been more direct as well - this whole requirement sounds like a nonsense idea and the post which has been awarded the correct answer is questionable.
> Even with the protection, I just wanted to warn that the user could change the value by creating a new variant. Thank you Julius for telling about the authorization object S_PROGRAM + field P_ACTION = 'VARIANT', without it we can't use the SAVE button.
Yes, that is what S_PROGRAM does to prevent the SUBMIT of the program, or protect it using groups of programs for which the authorized users (P_ACTION = 'VARIANT') can both maintain and copy the variants of that program group and also submit the reports via their variants (SM37, SA38, shortcuts, etc), but not from the workbench (for that P_ACTION = 'SUBMIT' is required).
> Another preferrable solution, according to me, is to setup a gui status without the SAVE button.
I don't agree. The bigger problem here is that the report coding is not making the correct checks to determine whether the user can run it for what ever they are requesting. Hidding the selection screen or forcing it is mostly an indicator that the quality of the programming is questionable.
A well designed program should validate any input, return or process only the authorized output and provide messages or logs of that which was not returned or processed (or simply not proceed).
> I agree that we may hide programmatically the parameter with LOOP AT SCREEN, but do it in the AT SELECTION-SCREEN OUTPUT event, not in the INITIALIZATION, because the user may also unhide the field by saving to a new variant (by initializing it from a TVARV(C) variable).
Good comment. The user can be expected to influence or maintain directly their own user variables used in variants which are controlled by PIDs. That is also why variant values in selection screens etc.. should not be used for security purposes when they can be controlled by PIDs - they are not intended for that. They are intended for preferences, reusing the last criteria, etc. The user can influence their PIDs in many transactions and nagivation paths, or directly via transaction SU3.
> What do you mean exactly?
> >
Julius Bussche wrote:
> > - The sy-uname protection for the last person to choose the option.
>
In transaction VARCH (but also via SA38 etc) there is a flag called "User Protection" or similar. This will protect the variant from modifications from anyone other than the user (sy-uname) who last flagged it and saved. Others with access to S_PROGRAM for that variant, will not be able to change the variant.
There is a way of unlocking these though... see OSS notes relating to RSVARENT.
This is a way of personalizing variants. It does not protect the program from being executed by others (also with the same selection criteria - if authorized) but prevents others from changing that specific variant. This can be usefull for variants used in periodic background jobs which should not be changed by someone who is not aware that this will create a potential mess.
There are a number of different designs and approaches one can take, depending on how the batch job administration responsibilities are defined and use of variants is intended.
But missing authority-checks in the necessary places is still a "no-brainer"...
Cheers,
Julius -
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 -
How to use different default parameter value for different report subscriptions
In ssrs is it possible to define different default parameter values for different subscriptions? In the following example I have a report which has two subscriptions with different start date and end date values:
Report name – Testsubscription.rdl
Subscription-1
Input parameter (default values):
start_date = first day of current Month
end_date = till date
Subscription-2
Input parameter (default values):
start_date = first day of current Quarter
end_date = till date
I know an alternative way of doing this would be to copy the rdl file with a different name but I am curious whether this can be done within a single report definition file. I am using SQL Server 2008 R2 Standard Edition.
Thanks!
sppHi sppdba,
As per my understanding, there is a report with two parameter: start_date and end_date, you want to configure subscription for the report, and set different default values for start date and end date. And you want to know if it is possible to achieve you
goal by using a single report definition file.
Since you are using SQL Server 2008 R2 Standard Edition, we need to achieve your goal by configuring two subscriptions for the report. For detail information, please refer to the following steps:
1. In design surface, right click start_date and open Parameter Properties dialog box.
2. In General pane, type Name and Prompt, set Data Type to Date/Time.
3. Click Available Values in left pane, select Specify Values.
4. Click Add button, in Label text box, type “First day of Current Month”, click (fx) button in Value section, then type the expression like below:
=DateSerial(Year(Now()), Month(Now()), 1)
5. Click Add button, in Label text box, type “First day of Current Quarter”, click (fx) button in Value section, then type the expression like below, then click OK.
=DateSerial(Year(Now()), (3*DatePart("q",Now()))-2, 1)
6. Right click end_date and open Parameter Properties dialog box.
7. In Available Values pane, select Specify Values.
8. Click Add button, in Label text box, type “Today”, click (fx) button in Value section, then type the expression =Today(), then click OK.
Now that the parameters are created, we need to configure subscription for the report. For detail information, please follow these steps:
1. Open Report Manager, and locate the report for which you want to create a new subscription.
2. Hover over the report, and click the drop-down arrow.
3. In the drop-down menu, click Manage. This opens the General properties page for the report.
4. Select the Subscriptions tab, and then click New Subscription.
5. Select the delivery extension and data source for the subscription.
6. Select a method of delivery, then choose report delivery options.
7. Specify conditions that cause the subscription to process and delivery to occur.
8. Set start_date to First day of Current Month, end_date to Today, then click OK.
9. Create a new subscription as step4 to 7, set start_date to First day of Current Quarter, end_date to Today, then click OK.
The following screenshots are for your reference:
For detail information about Creating Standard Subscriptions, please refer to the following document:
http://msdn.microsoft.com/en-us/data/ms156307(v=sql.105)
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here. -
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 advanceHi 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
Maybe you are looking for
-
Error while deploying BPEL Process(Error during deployment: Deployment Fail
Hi, when i try to deploying 11.1.1.3 - bpel project with thirdpartyparty adapter from jdeveloper to weblogic server, I got the following error. [04:53:50 PM] Error deploying archive sca_TPASOAProject_rev1.0.jar to partition "default" on server soa_se
-
How to find out the process count for a database during a particular window
Hi Team, I want to find out the maximum process count reached for a database for an interval. Say between 1:00 to 2:00 AM IST. Please help Database version:11.2.0.2 OS:AIX 6.1
-
MBP thunderbolt display problem
I have MBP 13" retina display running 10.10.2 (14C109). I use both the thunderbolt port for external monitor, when i lock display and wake it up, one or both external monitors go grainy(like this tv with out cable). I have to re-connect thunderbolt p
-
Will not restore or connec to itunes - just get the itunes logo and usb cale display on screen
ipod touch will not restore or connec to itunes - just get the itunes logo and usb cable display on screen
-
If oracle can create trigger after commit???
In my problem, I want to refresh a materialized view after I update a field in the table. But in the trigger "after update" on this table, the materialized view only refresh the old data. It maybe the problem of uncommit. So I want to know if I can r