Creating a print button to call a Report Query and pass filters

If i use the REPORT QUERY option in APEX 4 to create an statement that is the same one used in an interactive report, can I create a link or button to the REPORT QUERY and pass all the session and filter information from the interactive report to the report query?
This way I can have the interactive report screen where the user can do all sorts of modifications and such and then pass those to the REPORT QUERY so I can call that from a custom link or button.
You may ask "why does he need another print button?"
Answer: I am using a view that has some embedded HTML tags to format the output really nicely. The HTML download version created by the interactive reports works beautifully. The customer also wants a PDF version (meh) which does not render the HTML tags and actually echos them as part of the text. I found that I can create another view that uses the CHR function to create all the breaks and such I was doing with HTML and these do render properly in PDF. So, I figured just have 2 reports: 1 Interactive and 1 using a REPORT QUERY. I just want to call the REPORT QUERY version but use the Interactive Search form to set all the parameters.
Or, am I over thinking this and there is an easier method?
I made a previous post where I showed how I got the APEX printing to work and i hoped that helped someone out - fixing this issue would put the whole thing to rest.
Thanks

Is BI Publisher desktop (MS Word add-in) a possibility? This would allow you to use MS Word to create your output template (RTF) that would result in a properly formatted PDF. Of course, you'd have to right an updated version of the query without HTML embedded. Just thinking outside of the box.

Similar Messages

  • How to create 2 print buttons on a sql report ?

    hello,
    i work on apex 4 and database 11GR2, i configure bipublisher for advanced printing.
    On a sql report i want to have an excel Button and a Pdf button with redirect URL.
    I don't know how to specify in the URL the format output.
    I see in the help
    "use the output format derived from item option and include the item name and value in your Print URL."
    but i look for an example of URL.
    Best regards
    Jean marc

    So, you have to specify a hidden item which contains the value, then specify in print attributes the item name (mine is P5000_TYPE)
    Then you would have button redirect URLs of:
    javascript:redirect('f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R1483125430108678:::P5000_TYPE:PDF') ;and
    javascript:redirect('f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.:FLOW_XMLP_OUTPUT_R1483125430108678:::P5000_TYPE:XLS')
    to print in pdf and xls respectively.
    Ta,
    Trent
    Edited by: trent on Dec 10, 2010 11:29 PM

  • Shared Components APEX Report Query and Layout

    Does anyone know how to call the report query and layout from the Shared components section from a page within the application?

    mtbdude40 wrote:
    What I need is this:  The ability to create a PDF report with a custom header defining the data (example - select * from emp where deptno = :deptno and the header includes the department name).
    I use this white paper as my source:  http://www.oracle.com/technetwork/developer-tools/apex/learnmore/custom-pdf-reports-1953918.pdf
    You need to build and use a Shared Resource -> Report Queries.
    The Report Query will have two queries associated with it (see below).
    one query will be for the header information, the other will be for the data.
    use the "download" of the "xml data" as your source for Altova/other tools.
    If you add/remove/change queries, You'll have to redo your report (from scratch) as that changes the XML Schema required. (at least, with my experience)
    Once you get the hang of it, 2x queries is easy (Header, data)
    I've experimented with 3x queries (header, master,details) but have been unsuccessful.  I have some ideas though ("link" master->detail info via XPath stuff within Altova) but haven't gotten around to testing it.
    If you want to run the report for multiple departments....That might require some finesse.
    Unfortunately, the Source of the Queries can't be a scalar SQL that returns 1 row of 1 column of data type XMLType....
    MK

  • How Can I Create a Print Button on a PDF Using Acrobat Pro That Will Also Work on iOS?

    I created a Print Button on a PDF document using Adobe Acrobat Pro on my Mac.  The Print button works perfectly on different browsers on my Mac and on Windows (running under Parallels Desktop) as well.
    When I open the document on my iPad the Print button doesn't even appear.  I am guessing that this is a Flash issue but it may be more related to the fact the the action for the button is to access the Print menu item, which doesn't exist under iOS.
    Is there any way to create a Print button using Acrobat Pro that will work on a Mac and Windows but also on iOS?

    In order to initiate printing by clicking a button, the button has to have either an "execute menu item" type action or use the "print" JavaScript method. As you guessed, the former won't work since there are no menu items to execute, and the latter can only work if the particular PDF viewer you're using supports it. I'm not aware of any that do on iOS.
    The button doesn't appear because you're probably opening it in the default PDF viewer, which doesn't support forms at all. If you were to open the form in Adobe Reader, you'd see the button but it wouldn't work.

  • Create a print button to print one frame

    I am trying to create a print button on the last frame that will allow the user to print just that frame.  I've tried using the printjob object, but all that I can get to happen is print a blank sheet of paper.  Here is the code that I have so far:
    function printScore(event:MouseEvent):void
        var printJob:PrintJob = new PrintJob();
        var sprite:Sprite = new Sprite();
        printJob.start();
        printJob.addPage(sprite);
        printJob.send();
    btn_print.addEventListener(MouseEvent.CLICK, printScore);
    If I right-click and choose print while viewing the .swf file, it prints correctly.  What am I missing in order to make my last frame print through my print button?

    I just found my answer on this thread: http://forums.adobe.com/message/57234#57234

  • How do I create a print button to print a specific range of the document.

    How do I create a print button to print a specific range of the document.  I've found JavaScript to print a specific page, but a range or even multiple ranges.  Form is created in Adobe 9 Pro.  Any help would be truly appreciated! 

    Sure, I'll give it a test.  Its just that I have a 128 page form that not all of it needs to be printed.
    Currently,  I have an index page where I want to set up a print button queues per form, however there are several form scattered throughout the document that make up a specific section, but it does not require printing the entire document.  Does that make sense?
    I did find this JavaScript during my reseach, but have not be able to get it to work.
    var pp = event.target.getPrintParams() ;
    pp.interactive = pp.constants.interactionLevel.full;
    pp.printRange=[[1, 1], [3, 4]];
    event.target.print(pp);

  • Can i create the printer button like before instead of the 4 steps now

    My printer button has disappeared. Now going to the menu button it takes 4 clicks to print instead of one. Can I create a print button to eliminate steps?

    Try this add on: [https://addons.mozilla.org/en-US/firefox/search/?q=create+custom+buttons&appver=29.0&platform=windows custom buttons]

  • How to call both xacute query and xml query inside a single applet

    Hi,
    I am very new to XMII. Trying with a simple exercises now.
    1.  I have a Business Logic Transaction which will call external application using web services then it will get an output as xml and storing it in C:\.
    2. Then I created one xacute query which will call the transaction
    3. Then I created a xml query that will read the xml in c:\ and I too created a visual display template(ichart)  for it
    4. Created a html file -- created a applet , called all the 3 inside it. NOt getting any graph in IE
    5. But if I call only xml query and display query its working
    <b>following are my HTML file:</b>
    <html>
    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Order Percent Complete</title>
    </head>
    <body>
    <p>
    <APPLET NAME="MyApplet" WIDTH="640" HEIGHT="400" CODE="iChart" CODEBASE="/Illuminator/Classes" ARCHIVE="illum8.zip" MAYSCRIPT>
    <PARAM NAME="QueryTemplate" VALUE="UserTemplates/POTxnTemplate">
    <PARAM NAME="QueryTemplate" VALUE="UserTemplates/POTemplate">
    <PARAM NAME="DisplayTemplate" VALUE="UserTemplates/POVisual">
    </APPLET>
    </p>
    </body>
    </html>
    6. In POTxnTemplate -- calling Transaction BL
        In POTemplate -- fetching xml from c:\
        In POVisual -- displaying the ichart (using POTemplate)
    Can any one help me with this?
    I am doing in the right path?
    Thanks in Advance,
    Murugappan.

    Hello,
    You can only enter one query template into an applet.  Use the xacute query template.  In the transaction assign the output of the web services results to a transaction property of type xml making sure you select the "Output Parameter?" option.  These results will need to be in xMII format.  Then open the xacute query template and verify that the output parameter you created is selected as an Output on the transaction tab.

  • SAVE & PRINT Button Enable for Graph Report

    Hi All,
    I have developed a report for displaying a graphical hierarchy.But the 'SAVE" & 'PRINT'  button is in disable mode.
    I am using the 'GRAPH_HIERARCHY' function module for displaying the graph.
    Could anyone please suggest me how to enable the 'SAVE' & 'PRINT' button.
    Thanks in advance.
    Best Regards
    Sathish

    Hi Sathish,
    You can create your own PF-Status by copying it from the standard PF-Status of the output list. Then you include the print & save button.
    To get the GUI status of the output list follow menu path SYSTEM => STATUS to get the GUI status & its program.
    Go to SE41(Menu Painter) => enter the Standard Program & status name & click on copy button to copy these to a Z one & then finally use it in your program using SET PF-STATUS statement.
    Please close the thread if it solves your query.
    Regards
    Abhii

  • Print Button in paper Layout reports

    Hi All,
    I have created a paper layout report with desformat = html.Its working fine.
    Now my requirement is to print the report after the report is displayed on the browser.
    Can I keep print button in reports ?
    Please suggest me a solution.
    Regards
    Srini

    Add some javascript to your report to submit the page to the printer. Use one of the report escapes (look at the properties of the report...double click the report in the object navigator). You can actually add some javascript in one of those escapes to submit the print job after the page has been loaded. I have never used one of those report escapes but that should work.
    if you can do that, you should also be able to add an html button to the top of the page to accomplish the same thing or add a hyperlink to the report that submits another report with desformat = pdf which will probably print out much nicer. All of this should work with using report escapes.

  • Is it possible to create a Print Button?

    Is it possible to place a print button on an iWeb page so folks when viewing it online can print the entire contents of the page. The page(s)are quite long so one must scroll down to view it in its entirety, but when attenpting to print from the browser, only the first part of the long page will print. Maybe I answered my own question ... does this mean that iWeb pages should not be set longer that normal letter size?
    Thanks
    John

    You can also copy and paste the text into TextEdit and print that to a PDF. Then, create a button that says "print" and hyperlink that to the PDF. That way, anyone wanting a printout would have a nicely formatted document and you can include contact information in the document as well.
    Most sites I go to just have "print" go to a plain "black text on white background" version of the same text that the user then uses command-p (control-p on PC's) to actually initiate the print, so that'd work as well.

  • How do I create a print button for use in Interactive PDF?

    I have a document created in InDesign CS4 which I will be converting into an interactive PDF (which has various links added on a master page so they appear on every page), one of which I would like to be a "Print" button.
    I know how to do this in Acrobat Pro, but I don't want to have to create a button in Acrobat and then copy/paste it onto all pages in my document. Surely there must be a way to create a button of this type in InDesign CS4. Any help would be greatly appreciated.

    Sorry, no. Print button functionality must be added in Acrobat.

  • Creating a print button to print a page from another document - is this possible?

    Hello,
    My company is designing an interactive pdf with indesign with some great navigation on a side-bar. We've made the dimensions of the navigation pages larger than 8.5 x 11. We are constructing a pdf portfolio that contains a printable version of this document and this interactive version. Would it be possible to have a print button in the interactive document that calls up the corresponding page in the printable document and send it to the printer?

    Flash Catalyst does not directly support printing. You are going to have to add that functionality via Flash Builder and writing ActionScripting. I have not worked with the printing capabilities in Flex, so there is not a lot I can offer past this in terms of advice.I would suggest browsing the Flex forums for some guidance on how to assemble your state for the printer.
    Good luck!
    Chris

  • Problem with Print button in the BI reports integrated in portal

    Hi,
    We have some BI reports integrated into portal.and we have a Print button,which is a standard SAP functionality,doesnot work.When we click that print button it takes forever to load the page and print it.
    Please help me in resolving this issue and points will be rewarded for sure
    Bala

    Solved myself.
    The answer lies in this link:
    http://help.sap.com/saphelp_nw70/helpdata/en/76/489d39d342de00e10000000a11402f/frameset.htm
    See the following two properties under Paging:
    Columns Scrolled for Each Step (BLOCK_COLUMNS_STEP_SIZE)
    Rows Scrolled for Each Step (BLOCK_ROWS_STEP_SIZE)
    The values of these two properties have to be changed in the Web Template you are using for your BI Reports.
    Regards,
    Ankur

  • Create a Print button to Print a specific PDF File

    Hi,
    Need help with scripting. I'm creating a Menu Page where in I list the PDF files and right beside it put a PRINT BUTTON which of course will print that specific PDF file. Is this doable or not?
    Thanks.
    VicZam

    For more information on the print method, see: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.511.html
    Note the nStart and nEnd parameters in particular.

Maybe you are looking for

  • Why does Soundbooth stop immediatly on playback

    I have a Mac Pro 2 x 2.26 GHz Quad-Core Intel Xeon with 32  GB memory.  I've recently purchased and installed Adobe Master  Collection CS4. After  loading a mp3 track into Soundbooth CS4, I click  the playback control  and it stops every time after j

  • ¡URGENT! Problems with OCX in "runtime mode"

    Hello everyboy, I have a problem with OCX. When I am developing, I have no problem inserting the OCX, but when I run the application, the OCX disappears, not exists. I am using the Forms Builder [32 bits] Versión 6.0.8.25.2 ... Ah, in the previous ve

  • "scan from string" to timestamp doesn't work for 18:00:00 (6PM)

    I just found a strange issue in LabVIEW.  I hope I'm doing something silly, but I just may have found an unusual bug. run the snippet below with the following for the input string: 03:00:00,18:00:00,17:00:00 Time converts fine for just about any othe

  • Can I Find A Specific Image From an iPhoto Backup?

    I have some video and pictures I accidently deleted a while ago and I wanted to see if I could locate them in a Time Machine back up of iPhoto. I've never done this before but any help would be great.

  • PDK plugin with jdev 10.1.3

    Hello, Please i want to know how executing a portlet application developed with a plugin wizard in jdev10.1.2. I Know that the plugin for jdev 10.1.3 not exist but i have try to import the project and the reference library from jdev 10.1.2 to jdev 10