Two pages, two report portlets and parameters

Hi, seriously needing advice!
I have to sql reports which is in two portlets.
I have two pages, and one portlet within each page.
I wan't in page 1 the report 1 to have url links with parameter to open page 2 with results in report portlet based on param from portlet 1.
I have manged:
- Page one portlet has link witch opens the 2nd portlet correct, but not the whole page
- Page 2 can take the parameter I am after.
BUT: I can't "stitch" them together! Any ideas?
Thank,
Kjersti, Norway

PROCEDURE PROC_test IS
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(100);
v_server_length NUMBER;
REP_SERV VARCHAR2(100);
paramlist_id ParamList;
paramlist_name VARCHAR2(10):='tmplist';
Begin
repid := find_report_object('HIST_DISPENSE');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'HTML');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'REP_ORACLEWEB');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no R_ST_DT='||:BLK_A_NUM_GT7_NO_HIS_DISP.FROM_DATE 'paramform=no R_END_DT='||:BLK_A_NUM_GT7_NO_HIS_DISP.TODATE);
v_rep := RUN_REPORT_OBJECT(repid,paramlist_id);
message('vrep is '||v_rep);
rep_status := REPORT_OBJECT_STATUS(v_rep);
message('status is'||rep_status);
v_server_length := LENGTH(GET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER));
message('server length is '||v_server_length );
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
message('REP STATUS IS'||rep_status);
END LOOP;
IF rep_status = 'FINISHED' THEN
/*Display report in the browser*/
WEB.SHOW_DOCUMENT('http://10.20.56.20:7778/reports/rwservlet/getjobid'||
substr(v_rep,v_server_length + 2)||'?'||'server=REP_ORACLEWEB','_blank');
ELSE
message('Error when running report');
message('SQLERRM ' ||SQLERRM);
END IF;
end;
Hi
I'm having problem passing two paramters, Pl helpme by correcting the syntax.
Thx

Similar Messages

  • Hello, I was going to have my presentation on my macbook air. But when I putted it up on the big screen it wasn't a normal presentation. There was two pages at the time and a timer came up. How can I fix this as fast as posible? Thank's in advance.

    Hello, I was going to have my presentation on my MacBook Air. But when I putted it up on the big screen it wasn't a normal presentation. There was two pages at the time and a timer came up. How can I fix this as fast as posible? Thank's in advance.

    Your MacBook is using the big screen as the Presenter Display, and the MacBook Air display as the Show display. Tap the 'x' key to swap them during the show.
    Here is more information about using the Presenter Display.

  • How do I reset iBooks settings? Enable Two Pages in view? and Mark all books as New?

    I have made some chages that I am not able to undo like window size/ One page vs Two page view. Also I want to mark my books as new but I am not able to find the option to do so. Is there a way to rest iBooks to default settings?

    BlackBerry smartphone must be security wiped before transferring ownership   
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Setup for two pages/two-​sided for Book

    I have a deskjet F4440, and I want to print a book out using 11x17 paper. I want two pages to be on both the front and the back of the paper, however, if i do it the basic way, the page order doesn't come out right.  Is there a way to set it up so that on one side, page 4, then page 1, and on the other side, page 2 and page 3 print.  pages 2-3 are obvious and easy, the trick i am trying is getting page 4, then page 1 to print on the same side, in that order, so that when I fold it, page 4 is the last page and the seam is on the left, like a normal book.  Any suggestions?

    Dear experts,
    For restricting the data up to two pages in the mainwondow ,I have written the condition SFSY-PAGE LE 2.But still i am getting more than two pages means entire data.Can any one explains why this condition is failed(My main window is in the first page itself).
    Many thanks for your help,
    venkat

  • Add Two Column in report ,Download and Delete

    Hi Friends,
    i have one item File Browser to use browse :P1_file_browser and i have create a Report
    My Table Is
    CREATE TABLE  "ARM_DOC_CER"
       (     "ID" NUMBER,
         "NAME" VARCHAR2(500),
         "MIME_TYPE" CLOB,
         "BLOB_CONTENT" BLOB,
         "SUBJECT" VARCHAR2(500)
    i jus want to add two column in my report
    1--Download
    2--Delete
    When i click on download then download file and when i click on delete then delete corresponding file.
    How can i do this.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    You can use concat function or also '||' to combine two columns.
    1. with concat-
    concat("D4 Product"."P01 Product","D4 Product"."P02 Product Type")
    2. With '||' operator
    "D4 Product"."P01 Product" || '-'||"D4 Product"."P02 Product Type"
    (Remove '-' if not required)
    This should resolve. Hope this helps
    Regards
    MuRam

  • Create Two TS3.5 Reports (XML and ATML)

    I there , I am trying to create Two Reports from one execution. I found a great document with an example sequence file for doing just this on the NI website. This works great when trying to generate a txt report and maybe an xml or html report but I am trying to generate an xml file and an atml file and I want the xml file to be displayed at the end of the execution. All that happens is that my xml report is generated and displayed but no sign of the atml report. (I know it's really an xml report) but everything works fine when using txt and html
    Any ideas ?
    I've attatched my test sequence and a multiple report sequence to be used as the process model.
    Attachments:
    Simple Test.seq ‏23 KB
    CustomSequentialModelMultiReport.seq ‏272 KB

    'm not very well versed in style sheets, so I don't really know if trml.xsl provides an appropriately formatted output.  However, ust from the header,
    - <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:n1="http://www.ieee.org/ATML/2004/01/TestResults" xmlns:c="http://www.ieee.org/ATML/2004/01/Common" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
    it looks like this stylesheet is in conformance with an ieee ATML standard.
    Is there any reason/limitation TestStand won't allow another style sheet to be used instead of trml.xsl.

  • Performance report page vs. report portlet

    Is it normal that it takes a lot more time to show a portlet version of a report than the page version of a report?
    Thx.
    Paul.

    Because of the size limitations in Report Querys, I have to use a procedurewith PIPE ROW.>
    Wont a view work ?
    varad

  • Report destype and parameters

    hi,
    i m running report through following method... but it does take parameters.
    declare
    us varchar2(20);
    pas varchar2(10);
    ser varchar2(10);
    begin
    us := get_application_property(username);
    pas := get_application_property(password);
    ser := get_application_property(connect_string);
    Web.Show_Document('/reports/rwservlet?&report=customer_list.rep&userid='||us||'/'||pas||'@'||ser||'&destype=cache&desformat=PDF');
    END;
    1) how i can view on screen report , not is pdf ?
    2) how i can pass parameter to pdf report and to screen report ?
    thanks

    Hi,
    now i am using following code to run report ... it is not showing parameter form n runs report without asking parameter n show reports columns with no data.
    i am using Oracle Reports 9i ....
    i have tried many time to run report with paraform but useless whether orarep9i destype = pdf supports paraform ?
    declare
    us varchar2(20);
    pas varchar2(10);
    ser varchar2(10);
    begin
    us := get_application_property(username);
    pas := get_application_property(password);
    ser := get_application_property(connect_string);
    Web.Show_Document('/reports/rwservlet?&report=cashrecvd_bwdates.rdf&userid='||us||'/'||pas||'@'||ser||'&destype=cache&desformat=PDF&paraform=yes');
    END;
    thanks

  • Crystal XI Report viewer and Parameters

    Post Author: mnichols1202
    CA Forum: General
    This one is killing me.
    I have a report connected to a SQL 2005 backend.  One subreport. one Parameter.
    I set up the report object (login to the db...set the parameter...etc.)
    If i do a crReportDocument.PrintToPrinter(1, False, 0, 0)  - report prints, works fine ....beautiful.
    Now, I do the exact same thing Same code same evrything except at the end i do this.
    Me.CrystalReportViewer1.ParameterFieldInfo = crReportDocument.ParameterFields
    Me.CrystalReportViewer1.ReportSource = crReportDocument
    The report ignores my parameter and displays the entire recordset!
    No prompts for a value - and if i break..  after
    Me.CrystalReportViewer1.ReportSource = crReportDocument i can see that the paramter has the correct value in it.
    Doesn't seem to mater if its set to a defaultvalue or currentvalue - tried em both - neither works.
    Someone please point me in the correct direction?
    Thanks, Mike
    Oh and it's VS 2005 - vb.net - !

    Hello Julian
    This thread being 4 years old, I'd recommend that you create a new thread. Specify the following:
    Exact version of CR (e.g. CR XI or CR 2008 is not good enough)
    Version of .NET used
    OS
    Is this issue on your development computer or after you deploy the app?
    Database and database connection method
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • How to get the customized value of a Report portlet in a page

    Hi ,
    I have a report portlet and it has a bind variable which users can customize when added to a page. There is a link to a Form page in the report , to which I need to pass the value of bind variable customized by the user. I used :
    portal30.wwv_name_value.get_string( l_arg_names, l_arg_values, '<bind variable>');
    function, it works ok when we run the report alone .But when we add the report as a portlet in page , it does not return any value. How do I get the customized field value in a page.
    null

    SAN.
    I haven't tested but u can try with the below code...
    OATableBean tableBean = ...;
    OATableFooterBean tableFooterBean = tableBean.getFooter();
    if (tableFooterBean != null)
      OATotalRowBean totalRowBean = tableFooterBean.getTotal();
      totalRowBean.getValue("Re-Total");
    }Regards,
    Gyan

  • Automatic reports refresh in a page including other portlets

    Sun SPARC Solaris 2.6
    Portal 3.0.8.9.8
    Oracle 8i
    I am trying to refresh a report in less time than 1 minute, then I try to use the information in Metalink note:130035.1 How to Implement Automatic Refresh in a Report:
    <META HTTP-EQUIV="Refresh" CONTENT="20">
    I add this html code in Header Text -> "Add Text". But this report is included in a page with other portlets and when I am refreshing the report all the page is refreshed although I put html only in Report's Header Text. How could I refresh only the report, not the page with the other portlets?
    myOracle.com portal implements something like this using frames but I don't know how to create an iFrame and include my report in that.
    Thanks in advance,
    Adriana

    You should update to the latest version of Apex (3.2). I don't think this kind of solution works in 2.2. See this example how your requirements can be done:
    http://apex.oracle.com/pls/otn/f?p=31517:119
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Two-page spread for non-Apple printed book

    This is probably going to sound complicated:
    I'm in a small program, and we want to create a yearbook, which we decided to do ourselves since there's so few of us. The book will have pages of events and groups, of course, but also "profile pages" where photos focused on a single person are included.
    Two of the people in the program are married to each other. Naturally, I want their pages to be side-by-side. More than that, though, I want to have a picture right in the middle of their two pages that I got from their wedding. In the picture, they have their arms linked, so the idea is that the gutter of the book will separate the photo with the man on the left (and his "profile page" will then go on the left), and the woman on the right (with her profile page).
    I hope that makes sense so far.
    The question is, how do I ensure I lose as little as possible in the gutter if I'm printing with a service other than Apple? Apple's just a bit too expensive for over a dozen books, so I'm looking at mostly Inkubook or Viovio. I've already set up a custom book in Aperture with the page sizes set to 8.7" x 11.2" (to account for 0.1" trim) and an inside margin of 0.25" (for the gutter).
    Viovio has a suggestion on their website that images overlapping two pages should have a portion duplicated on either page, with the size of that duplication being equal to the size of the gutter (so the right image duplicates 0.25" of the photo on the left and the left duplicates 0.25" of the photo on the right).
    Does that sound like it will work? And then, should I have the same photo on both pages with a duplicated area of 0.5" (the two gutters) or 0.7" (gutters plus trims)? To that end, how do you even measure distances in Aperture - I don't seem to be able to find a ruler of any kind, which makes putting equal spaces between photos and borders on pages very hard as well.
    If that doesn't make sense, which I know it may not, let me know and I'll try to clear it up...

    Two page spreads are tricky and will depend on how the binding is done by the third party printer. If you look closely at the PDF file created by Aperture for books, you'll notice that the individual pages of a two page spread do not absolutely bisect the image you've aligned across the two pages. Rather, the inside binding-side edges will give you a little extra bleed, so that in binding with the book pages spread open, you'll see one continuous image without white space.
    I can't say for certain because I've not used a printer other than Apple, but I would imagine that there is variance from printer to printer w/respect to this center margin.
    Of course, I could be entirely wrong.

  • How to get two-page 11x17 layout into 8.5x11 PDF?

    Good morning,
    I am working on a 11x17 brochure which will be folded to appear as 4 pages.  Naturally, I would also like to have the PDF so it "prints" into 4 separate pages.  However, I just cannot seem to figure out how to accomplish this.  I am using InDesign CS5 and my pages are sized to 11x17 in my document.
    It seems this should be fairly straight forward to do.  If anyone can please explain what I am missing, I would really appreciate it.  At this point I am starting to conclude what I want is not possible to do without re-laying it out in a document with 8.5x11 pages.  Please tell me I am wrong!
    Thank you for your time in advance,
    Brent

    kapriciouz wrote:
    Also, will the 8.5x11 facing page setup allow our printers to print full 11x17's ?  Seems this may cause issues in that regard?
    For 4 pages you have two options for setting up, two two-page spreads (4&1 and 2&3) or page1, then 2&3, and page 4. If you use the first method, be sure to check the "spreads" box in the print dialog. If you do the second, Use File > Print Booklet... to impose into two 11 x 17 pages. This method will allow you to lay out any document in multiples of 4 pages and see them as the reader does, which is MUCH easier when you have more than two spreads.
    If you want to make PDFs for distibution or to hand off to a commercial printer, the second method is also preferred (you get single pages in consectutive order, as long as you don't choose PDF (Interactive), but that's a different discussion that we can have if you need it). If you need to make PDF to print in-house on 11 x 17, tell us about your ID version number and the OS, and we can offer answers for how to do that, too.

  • How to get form fields in a dynamic page as a portlet

    I have a dynamic page(publish as portlet and added to a portal page) with a html form that has many radio button created dynamically (query a table and create as many radio button as records I found) and the name of each radio button is the id of the record from the table it represents.
    When I click the submit button of my form it will recall the same portal page and then I have to check which radio buttons where selected to update the database depending on it.
    The problem is that I can't get the radio buttons inside the dynamic page because they are created dynamically so I can't make them portlet parameters to be associated with page parameters.
    So How can I tell which radio buttons have been selected?
    Please help me.

    Hi,
    Write a procedure which will be called as the form action. This procedure should take an array of parameters like p_arg_names and p_arg_values. For example
    <html>
    <form>
    <input type="checkbox" name="p_radio">
    <input type="checkbox" name="p_radio">
    </form>
    procedure submit_form(p_radio in wwv_utl_api_types.vc_arr)
    begin
    for i in 1..p_radio.count
    loop
    htp.p(p_radio(i));
    end loop;
    wwv_redirect.url(<page_url>);
    end;
    Hope that helps.
    Thanks,
    Sharmila

  • BUG: NEXT BUTTON IN REPORT (PORTLET)

    If I run a report as a portlet and pass a parameter to the page containing the portlet and press the next-button of the report, the parameter is not passed again to the page... My intention is to write my "own" provider implementation to adjust page_url of the portlet_runtime_record in the show_portlet method. Is there an easier workaround available?

    Select customize and set the number of rows to 9999. I'm guessing that it's currently set to 10.

Maybe you are looking for