Help - Passing parameter to report using page parameter

I have a SQL Report on a page
The report query is
select * from scott.emp where deptno = :department
The URL for the page containing the report is:
http://developer03.fis:7777/portal/page?_pageid=95,36455&_dad=portal&_schema=PORTAL
I have added a page parameter = departnment
and associated the page parameter to the report bind variable in the Portlet Parameter Values as follows:
department = Page Parameter, department
I displayed the page by going to the above URL
and then added &department=10 to the end of the URL in the browser address.
I expected the report to display records for deptno = 10, but the query didn't return any records.
Anyone know what's wrong??
Thanks Larry

Yes, except you need to add &department=10 to the end of the page URL, not what I had.
Look at
How to pass values from a Page to portlet in Portal.
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=FOR&p_id=335031.996
for a complete description on how to setup page parameters and associate them with bind variables.

Similar Messages

  • Printing parameter on report - using dynamic parameter in XI

    Post Author: jackel
    CA Forum: Formula
    I need to have the following print on the report when using parameter that accepts multiple values:
    1 value selected - prints that value
    2 or more values selected - prints "multiple"
    All values selected - prints "all"
    Example: parameter "Colors"
    Values- blue, green, red, yellow, etc (more may be added/deleted at any time)
    When just blue is selected - "blue" prints
    When just red is selected - "red" prints
    When red and yellow are selected - "multiple" prints
    When all are selected >> "all prints
    Any help would be appreciated.
    - j

    Post Author: jackel
    CA Forum: Formula
    I reduced the formula to (I didn't expect a solution for "all"):
    If count({?parameter}) = 1 or then {?parameter}    
    else
    If count({?parameter}) > 1 then 'Multiple'
    and received this error:  "This array must be subscripted.  For example: Array[i]."
    If count({?parameter}) = 1 then "One"
    else
    If count({?parameter}) > 1 then 'Multiple'
    works fine but I really wanted the value printed when only one is selected.
    Thanks so much for your help - I feel we're on the right track.
    -j

  • Using page parameter causes "form" layout report to become "tabular"

    I did a diff on the HTML generated for the page and found this:
    Page Parameter Used:
    <TH ALIGN="Left" SCOPE="col"><FONT CLASS="PortletHeading1">Employer Auth Treatment</FONT></TH>
    Page Parameter Not Used:
    <TH SCOPE="col" ALIGN="LEFT" VALIGN="TOP"><FONT CLASS="PortletHeading1">Employer Auth Treatment</FONT></TH>
    Notice that the VALIGN="TOP" is missing in the first one. Does anyone know how to fix this?
    Thanks.

    CORRECTION (forgot the "<!-- down1 -->"...but this is just a comment, correct?)
    Page Parameter Not Used:
    <TH SCOPE="col" ALIGN="LEFT" VALIGN="TOP"><FONT CLASS="PortletHeading1">Employer Auth Treatment</FONT></TH>
    <!-- down1 -->

  • Need help passing variables to another jsp page

    I am working in a shopping cart with multiple lines and I am wanting to pass 2 variables to another page which is accessed from a link.
    What I have so far is the following:
    This is on the shopping cart JSP page with the link
    <input type="hidden" name="shopCartReqDate1<%=i%>" id="shopCartReqDate1<%=i%>" value="<%= retVals[9] %>">
    <input type="hidden" name="shopCartExpDate1<%=i%>" id="shopCartExpDate1<%=i%>" value="<%= retVals[10] %>">
    Need it Earlier?
    I am wanting to pass it to the HAC_Help_Text_Need_it_Earlier.jsp page
    Right now on the HAC_Help_Text_Need_it_Earlier.jsp page I have the following code:
    String shopCartReqDate1 = IBEUtil.nonNull(request.getParameter("shopCartReqDate1"));
    String shopCartExpDate1 = IBEUtil.nonNull(request.getParameter("shopCartExpDate1"));
    Do I need to create a function and do a document.getElementById?
    Thanks for the help!

    As far as I understand your question You don't have to use document.getElementById. Just submit the form and then on the next page You'll just pull the variables out from the request object.

  • Custom pagination for APEX 4.2 interactive report using Page Zero

    Hi,
    I want to implement an «Custom pagination for APEX 4.2 interactive report» using a «page zero».
    I recently migrate from Apex 3.1 to Apex 4.2 and my «Custom pagination for APEX 3.1 interactive report» using a «page zero»  is not working any more.
    So now I try to adapt an excellent example of Jari Laine for 4.0 but using a page zero.
    I put the code JavaScript to Page zero but I must create an dynamic action to fire only for an interactive report region.
    It’s a good idea?
    Thank you

    Thought I would try once more with my DatePicker question.
    On the Apex.Oracle.Com website I have created a 1 page application that has an Interactive Report.
    [url http://apex.oracle.com/pls/apex/f?p=15655:1]
    user = 'test'
    password = 'test'
    I have 2 questions :
    (1) In IE7, press 'Actions', 'Filter'. On the Column dropdown list, select 'Order Timestamp'.
    Notice the prompt icon to the right of the 'expression'. This should change to the Datepicker, but in IE7 it does not. Try the samething in Firefox or Chrome and the Datepicker will appear.
    Is this a BUG, or does Apex 4.02 not support IE7 ?
    (2) In Firefox or Chrome, where you can now see the Datepicker, you will notice that it is the new style picker, not the old style ( called 'classic' ). I want to change it so that it shows the 'classic' datepicker not the new, but cannot see how to do it, if indeed you actually can.
    I would really appreciate it if someone could take a look and let me know if I am going mad, or if we need to get all our users onto IE8. We have now gone live with Apex 4.02 and need to resolve these issues.
    Thanks in advance.
    Edited by: DooRon on 10-Mar-2011 05:13

  • Report  using Set parameter & get parameters.

    Hi,
           My requirement is from select query  the list of PO will be display. Now i want when i click on one of the purchase order .
    i want to diaplay PO using CALL TRANSACTION 'ME23N'  with the help of set and get parameters .  or can i do it with interactive report.
    Regards,

    Hi,
    1) Write a Report to show the Output(Use HIDE statment for PO filed while outputing the list).
    2) In the event AT LINE-SELECTION write logic.
    GET CURSOR FIELD field VALUE val.
    SET PARAMETER ID 'BES' FIELD dobj.
    CALL TRANSACTION ME23N.
    Regards,
    J.

  • How to  Use page parameter for 2 grids

    Hi All,
    I have 2 grids for 2 different DB's in a report.In this page view have business dim, user able to choose the
    business.So i'm using 2 prompts for 2 grids in business dim at page view.but user wants only once he gave the
    input.How to pass one grid page parameters to another grid?
    Plzzzz give any suggestions on this................
    Thanks

    Instead of using prompts and the page, you can put the selectable dimension onto the POV of both grids and set it to current user pov on both grids.
    This way it will work, but the drawback is that you cannot make user select multiple members for that dimension, which is possible with prompts.
    hope this helps
    Bulent

  • Batch printing invoice report using a parameter

    Post Author: andrewh
    CA Forum: General
    Hi!
    First time poster.  So I am trying to get my report so that I select a range of reports and then have them "batch print."  Right now my report is setup so that after I refresh it, I use a drop down box parameter to select the static invoice number, and then select okay the report updates, and I print.  I do that for every invoice (60) takes about 45 minutes.  I would like it so that i can select the entire range of invoice numbers, so that crystal brings up the 60 pages and I can just select print and it prints them all.  What would be the easiest thing for me to do in this situtation? 
    Thanks!!

    Post Author: synapsevampire
    CA Forum: General
    Again, group by the invoice, place all fields within that group header, details and group footer, and turn on the reset page number in the group footer.
    The fact that you designed the report initially NOT to allow for multiple invoices doesn't mean the offered solution is inaccurate, it means that you designed prior to understanding the full requirements, so you now need to modify the design.
    -k

  • Help!  Creating a website using Pages... is it possible?!

    Hi,
    I'm created a document in Pages that I exported as HTML anticipating using it as a Website. The formating did not transfer and I'm wondering if it's possible to use this beautiful application to easily make a website. This is the first time I've tried creating a website so any other suggestions would be helpful. The news of our website being available has been published so I'm under the wire to complete it!
    BTW, I looked at the website/homepage option with .Mac but it's not as flexible and I need to use the website at school, not at my home.
    Any suggestions would be most appreciated.
    Robin

    It's possible, but not recommended by those who have tried it. Results have been disappointing, to say the least, as you have found.
    I use Freeway Express by Soft Press, but it is an additional expense. I have seen others suggest the free Nvu or Netscape Composer. Try Google, MacUpdate or VersionTracker to find them.
    Peggy

  • Can u please help in getting this report  "using customer exit."....

    Hi friends.
    can any body pls suggest how this report lay out could be formed.
    when you enter in selection as  0CALMONTH = Nov 2007.
    The report should give the values of a K.F (return rate), in the following manner .
    july     july-aug      july - sep       july - oct         july - nov.
    i.e it should always give the values of that K.F starting from july , then july -aug , then july-sep , july-oct and july -nov ..(it shld show  the cumulated values starting from july )
    The fiscal year  always starts from july and ends with june .
    say if you give  0calmonth  = FEB 2007, THEN THE TREPORT SHOULD FETCH TE VALUES
    july2006      july -aug      july-sep          july -oct         jul- nov       july- dec   jul - jan2007    july2006 - feb 2007
    can you plesae tell me in detail  how to this . if we have to use CUSTOMER EXIT ,pls give me the code how to do this. your answers will be suitably rewarded.

    Hi,
    Try using offset varaiable of calmonth.
    Regards
    siva

  • Passing parameter values to another report using URL actions (reportserver)

    Hi guys,
    I have two reports that I link with eachother. For report A - B everything works perfect. When I try to do the same for report B - A it works, but the parameter value is not filled in.
    =Iif(
    Parameters!PAR_LinksEnabled.Value, 
    Globals!ReportServerUrl & "?" & Replace(Globals!ReportServerUrl, "_vti_bin/ReportServer", "")
    & "Reporting/POS Reporting/Reports/POS Report.rdl&POS_ID=" & Parameters!CONNECTION_ID.Value & "&POS_LANG=" & Parameters!POS_LANG.Value & "&PAR_Date=%5BDate invoice%5D.%5BBonus Calendar - Week%5D.%5BBonus
    week of year%5D.%26%5B" & Left(Parameters!YEAR_WEEK.Label, 4) + "%5D%26%5B" & CInt(Right(Parameters!YEAR_WEEK.Label, 2)) & "%5D",
    Nothing
    Even tho I specify the parameter he has to pass through, the report opens with parameter period : <select a value>. Anyone has an idea why such behaviour happens?
    Thanks!

    Hi Yvanlathem,
    Per my understanding that you want to use the expression above to conditional add the hyperlink to pass the value to the parameter of anpother rreport via the URL in the SharePoint integrated mode report server, right?
    I have check the expression you have provided and the issue can be caused by the wrong way you have write the expression to pass the parameter, please check detais information below to make sure you have pass parameter in the URL correctly:
    Please modify the expression to below structure :
     =Iif( Parameters!PAR_LinksEnabled.Value="Enabled", "URL",Nothing)
    I saw you have use expression like "&POS_ID=" & Parameters!CONNECTION_ID.Value & "" which is incorrect, we need to set a report parameter within a URL, use the following syntax:
     parameter=value(not Value=Parameter)
    If you are using the following syntax like "Parameter1=Parameter2", both parameters and from different report, if you have add the "Go to URL" action from  report2 to Report1, please make sure Parameter1 is from the Report1
    and Parameter2 is from Report2, change the order will not work
    More detail information:
    Pass a Report Parameter Within a URL
    So, In your scenario, please make sure the value is from one report's field (POS_ID) and the the parameter(CONNECTION_ID) is from another report (e.g:"&CONNECTION_ID=" &Fields!POS_ID.Value &"")
    Similar thread for your reference:
    SSRS 2012 Drill Through report cascading Parameters not refreshing
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Passing parameter to a dynamic page portlet

    We need to create a drill-down report using pl/sql, but it's not working when we passed a parameter. We did the following:
    1. Create a package and a store procedure.
    2. The store procedure creates the report and the look-and-feel of the report.
    3. Create a dynamic page with the following code:
    <ORACLE>DECLARE
    BEGIN
    mvdata.interbay_ops_rpts_pkg.ops_detail_procssr_rpt(p_processor);
    END;
    </ORACLE>
    4. Set the parameter to "public" in the "customization form display option".
    5. Create a page group and a page.
    6. Clicked on properties of page and then clicked on the parameter tab.
    7. Added a parameter named "p_processor_code"
    8. We also added the portlet parameter under the "portlet parameter values" and set the parameter to be a page parameter and select the name of the parameter and click OK.
    9. Launch the URL: ttp://iasdev01.bftg.com:7782/pls/portal/url/page/PG_GRP_DEVELOPMENT/PG_OPS_DETAIL_PROCESSOR?p_processor_code=DUBOIS.
    10. When we tried to launch the application we get an empty report(doesn't execute the parameter).
    11. Edit the page and went into layout mode.
    12. Click on the "edit default" of the dynamic page portlet and put the value of the parameter and it works without any problems.
    I don't understand why it doesn't take the parameter with the page url. Any help is greatly appreciated.

    I had more luck with PL/SQL items. Try something like this:
    declare
    zip varchar2(10);
    begin
    zip := portal.wwpro_api_parameters.get_value('zip', 'a');
    if zip='94065' then
       ... do something ...
    end if;
    end;Peter

  • Problem with page Parameter

    Hi,
    My requirement is I am passing a url to page with one parameter which I am assigning it to a calndar which has one one parameter. I mapped page parameter to the calendar parameter.
    In the p/sql code before displaying footer section of the calendar I am using
    get_value('pageparamter') But i am getting null value........................
    How should I retrieve that value......... If Iam using bind variable(calendar parameter) in the display before footer section I am getting error........
    Pls tell me the solution as early as possible...........
    Regards,
    radha

    Hi Radha,
    Sorry, I couldn't reply to your email about the same problem you were asking. Here is the code to get the value of the page parameter:
    declare
    l_val varchar2(10);
    begin
    l_val := portal30.wwpro_api_parameters.get_value
    (p_name => 'v_dt_on_mon',
    p_reference_path => p_reference_path);
    end;
    where 'v_dt_on_mon' is the name of the parameter , so you can replace it with your parameter name.
    Thanks
    -Krishnamurthy

  • Scheduling a Report with Dynamic Parameter Values

    Post Author: etlag
    CA Forum: Publishing
    I have created a report using a parameter that has dynamic values - meaning the user can choose a date from a specific field. It works fine once published in InfoView, but when I schedule the report, when I try to enter the parameter I get promted for a login for the database, even though I have already entered this in the CMC report properties.
    I have other reports that are using static values and they can be scheduled without entering the database login.
    Any ideas what I am missing?

    Post Author: amr_foci
    CA Forum: Publishing
    dear etlag
    its known issues, you've to set the default database connection to this report from the "CMC" web-bases appliaction , find this object click it go to "process" tab and then click the "database" tab,,, set your default database connection there and finally dont forget to set "Use same database logon as when report is run" at the end of the page
    and cilck ok
    try it ,, good luck
    Amr

  • Public Page Parameter does not get value

    I use the following API call to create a URL that will raise an event and send the “facilityId” parameter to the Public Page parameter of a destination page.
    String URLString = EventUtils.constructEventLink(prr,"FacilityInfoPage", linkParams,true,true);
    The link/URL generated by this code is:
    http://ese-ny.its-ese.local/portal/event?_pageid=584,1533923&_dad=portal&_schema=PORTAL&_portlet_ref=584_1533941_584_1533923_1533923&_event_facilityId=36003001001&_eventName_FacilityInfoPage=
    When I click on the link I am taken to the destination page and the following URL shows up in the address bar of the browser:
    http://ese-ny.its-ese.local/portal/page?_pageid=584,1533732&_dad=portal&_schema=PORTAL
    Issue 1: The Public Page parameter of the destination page does not receive the value of facilityId, Why?
    Issue 2: Why is the URL in the address bar truncated after "PORTAL"?
    Any ideas?

    Issue 1: The Public Page parameter of the
    destination page does not receive the value of
    facilityId, Why?The event link sends an event (FacilityInfoPage) to the page with the given parameters if any. In the page's edit tab you can link the event to a page and link the event's parameters to page parameters. This does not happen automatically.
    So probably you haven't linked the event parameters to page parameters.
    Issue 2: Why is the URL in the address bar
    truncated after "PORTAL"?After an event is triggered you are forwarded to the page specified for the event with the specified parameters in event. If none specified I guess you go to the original page with no parameters. The URL is then only the URL of the page.

Maybe you are looking for

  • After update 8.1.2 i had problem with sync my content from ITunes with IPod

    After update 8.1.2 i had problem with sync my content from ITunes with IPod. It stucks on moment when its waiting for implementing changes (step 5 of 5) Hours and hours i'm waiting but still the same. So i cant use my Ipod at all. I restarted Ipod an

  • How to turn off display while connected to external monitor??

    I'm running my macbook into an external monitor, using wireless mouse and keyboard. I want to get full power from my graphics card so would like to know how to turn the macbook screen off while connected to the larger monitor. I have read that simply

  • How to install a printer

    hi, I'm having a hard time installing my printer to my computer...anybody can help?

  • PL/SQL functions

    Hi Everyone Is it possible to print a webpage out from a function? I have a form on a webpage which takes cutsomerID in via a text box. The forms action is the name of the procedure. This procedure calls the function. I want the function to return a

  • HP 1020 used to work! After OS re-install, it doesn't

    Our old Mini Core Solo got sluggish, so today, I re-loaded the system software, which was Tiger (10.4).  Before that, I used SuperDuper to clone the HD to an external drive as a back-up. Once the system was re-installed, I installed combo updates fro