How to display PDF file in OAF page

Hi All,
I have an requirement to display a PDF file in OAF page. The PDF file will be stored in custom location in unixbox and when the user clicks on the hyperlink from OAF page, the PDF file should be promted to open or save the file in the local system.
The pdf file will be stored in $XBOL_TOP and I am not sure on how to link the file directory path from OAF page.
Please share some information on how to achieve this logic.
Regards,
Ram

Hi,
Did you find a way to do this.
Please advise.
Thanks
Krishna
Edited by: user452458 on May 11, 2010 6:53 PM

Similar Messages

  • How to display Pdf file in iPad site

    Hi
    How to display Pdf file in web page which can able to view in iPad safari?
    Thanks,
    Arun

    You can't really.
    You need to use DHTML in the swf-wrapper HTML file, usually a
    division wrapped iFrame, and load the PDF into the iFrame as an
    overlay to the Flash.

  • How to display flash file in adf pages

    how to display flash file in adf pages need help

    Thanks all,
    It is resolved.
    the code i am using to display a flash is below.
    <f:verbatim>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version
    =10,0,0,0" width="300" height="300" id="11gR1_aniH_grey" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="wmode" value="transparent" />
    <param name="movie" value="mx2004demo.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#4d5c64" />     
    <embed src="../Images/mx2004demo.swf" quality="high" width="300" height="300" name="mx2004demo.swf" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false"
    type="application/x-shockwave-flash" wmode="transparent"
    pluginspage="http://www.adobe.com/go/getflashplayer" />
         </object>
    </f:verbatim>

  • How to display pdf file in windows phone 8 silver light application?

    Hi,
    I am developing windows phone 8 silver light application . For my app I want to display pdf files . Is there any default controls to display pdf files ?
    I don't want to display using launchers , I want to display with in the app.
    any help,
    Thanks..
    Suresh.M

    Probably this should give you a fair idea : How to view PDF file inside an Windows Phone application?
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • How to display pdf file with java code?

    Hi All,
    i have a jsp pagein that page if i click one icon then my backing bean method will call and that method will create pdf document and write some the content in that file and now i want to display that generated pdf document.
    it should look like you have pressed one icon and it displayed pdf file to you to view.
    java code below:
    FacesContext fc = FacesContext.getCurrentInstance();
    ExternalContext ec = fc.getExternalContext();
    HttpServletResponse resp = (HttpServletResponse) ec.getResponse();
    resp.setHeader("Content-Disposition", "filename=\"" + temppdfFile);
    resp.encodeRedirectURL(temppdfFile.getAbsolutePath());
    resp.setContentType("application/pdf");
    ServletOutputStream out = resp.getOutputStream();
    ServletUtils.returnFile(temppdfFile, out);
    out.flush();
    and above temppdfFile is my generated pdf file.
    when i am executing this code, it was opening dialog box for save and cancel for the file, but the name of the file it was showing me the "jsp file name" with no file extention (in wich jsp file i am calling my backing bean method) and type is "Unknown File type" and from is "local host"
    it was not showing me open option so i am saving that file then that file saved as a pdffile with tha name of my jsp file and there is nothing in that file(i.e. empty file).
    what is the solution for this. there is any wrong in my code.
    Please suggest me.
    Thanks in advance
    Indira

    public Object buildBarCodes() throws Exception
    File bulkBarcodes = null;
    String tempPDFFile = this.makeTempDir();
    File tempDir = new File("BulkPDF_Files_Print");
    if(!tempDir.exists())
    tempDir.mkdir();
    bulkBarcodes = File.createTempFile
    (tempPDFFile, ".pdf", tempDir);
    //bulkBarcodes = new File(tempDir, tempPDFFile+"BulkBarcode"+"."+"pdf");
    if(!bulkBarcodes.exists())
    bulkBarcodes.createNewFile();
    Document document = new Document();
    FileOutputStream combinedOutput = new FileOutputStream(bulkBarcodes);
    PdfWriter.getInstance(document, combinedOutput);
    document.open();
    document.add(new Paragraph("\n"));
    document.add(new Paragraph("\n"));
    Image image = Image.getInstance(bc.generateBarcodeBytes(bc.getBarcode()));
    document.add(image);
    combinedOutput.flush();
    document.close();
    combinedOutput.close();
    FacesContext facesc = FacesContext.getCurrentInstance();
    ExternalContext ec = facesc.getExternalContext();
    HttpServletResponse resp = (HttpServletResponse) ec.getResponse();
    resp.setHeader("Content-Disposition", "inline: BulkBarcodes.pdf");
    resp.encodeRedirectURL(bulkBarcodes.getAbsolutePath());
    resp.setContentType("application/pdf");
    resp.setBufferSize(10000000);
    ServletOutputStream out = resp.getOutputStream();
    ServletUtils.returnFile(bulkBarcodes, out);
    out.flush();
    return "success";
    This is my action method which will call when ever i press a button in my jsp page.
    This method will create the barcode for the given barcode number and write that barcode image in pdf file
    (i saw that pdf file which i have created through my above method, This PDF file opening when i was opening manually and the data init that is also correct means successfully it writes the mage of that barcode)
    This method taking the jsp file to open because as earlier i said it was trying to open unknown file type document and i saved that file and opended with editplus and that was the jsp file in which file i am calling my action method I mean to say it was not taking the pdf file which i have created above it was taking the jsp file

  • Display pdf file on web page.

    How can I make my pdf files display 2-up (pages side by side) by default.

    I think you mean the type of pageflip mechanism - for example http://www.pressmo.com
    ...and video tutorial, how to make...

  • How to display pdf in Web Dynpro Page

    Hi Experts,
    I need to display the pdf file in web dynpro page. I am using  Web dynpro 7.1(CE), in that no ui element like Iframe. With Iframe we can display the pdf file in web Dynpro page in 7.0.
    But My problem is how display pdf with out using Iframe.
    Please any one tell how to display with any other UI elements.
    Regards,
    Sunil.

    Hi sunil..
    chk this link..
    <u><b>Pdf</b></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59
    <u><b>Adobe</b></u>
    /people/achim.hauck/blog/2005/02/04/my-struggles-with-the-adobe-document-services-in-was640
    <u><b>Configuration</b></u>
    http://help.sap.com/saphelp_nw70/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/content.htm
    <u><b>Adobe Document services</b></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e4e9afb-0701-0010-f8a8-b8cd093662c2
    <u><b>Configuring Guided procedure of Interactive Forms</b></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b9ea34c2-0701-0010-e2a2-d8e9cd6d85dc
    <u><b>Forum Discussions abt Adobe Document Services</b></u>
    Re: Configuring the Destination URL for the Adobe Document Services
    Hop will this helpful for u..
    Regards,
    GS

  • How to display pdf file in flex application

    hi,
    I am Ibran, I am using Flex4.5, in that i want to display a pdf file like images.
    How can i do it please anyone tell me.
    I have used navigateToURL(url),but this was going into navigation and i can't see my textfield and buttons.
    So without this  navigateToURL(url) how can i display a pdf file in flex without navigation so that i can see my textInputs and buttons.

    Flash does not have the ability to load/display/manipulate PDF files, so you can't open it directly in the flex application.  With clever HTML and javascript, you can make it appear that it is in the same window, but it will actually be in a separate window/div in the browser.  And yes, this has always seemed absurd to me that Adobe doesn't support PDF's......
    Mark

  • How to display PDF file in IE itself?

    hi friends,
    I am displaying payslip as PDF format in IE. in my system it's showing in IE it self.
    But the same thing when i executed in other system the PDF file is opening seperatly instead of opening in IE.
    How can i overcome this problem.
    Any solutions plz....
    Regar

    hi,
    If you dont mine can you give me the steps or i sit possible to make IE settings dynamically when ever users executed this applicaiton.
    Regards,
    Shankar.

  • How to display pdf-files out of a blob

    Hello,
    we want to use pdf to publish our enterprise-informations (jobs, press release...) in the intranet.
    How can a display a pdf-file with Portal that was saved in blob?
    regards
    Ralf Schmitt

    Not entirely. At least we came to the conclusion it doesn't make (much) sense to block the save option of PDFs if you want to allow printing them
    Anyway; there is of course another possibilty: you could always write your own java bean PDF reader; there are plenty of java PDF libraries available:
    Open Source PDF Libraries in Java
    The easiest way would be to choose one which can open a PDF from a URL and render it; I would retrieve the image via mod_plsql using WPG_DOCLOAD and simply use the PDF library to render the PDF. No tempfiles anyway, and if you don't implement it there is also no save button.
    cheers

  • How to display pdf file on curve 8520..

    y is pdf file not displayed on curve 8520.. how to make it happen

    Hi and Welcome to the Forums!
    For the time that a PDF remains an email attachment, you can render it on the BB. Once detached or otherwise not an email attachment, the attachment service no comes into play...and you require a 3rd party app to render it. There are several. I suggest you search AppWorld and other search sources, compare the various alternatives, and select the one that best meets your needs. You will likely find the DataViz apps as well as BeamReader and perhaps others.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to Display PDF File on Oracle Report 10g

    Dears,
    i have a PDF File on the server,
    also i need to display this file into rdf report.(Embed the PDF file into Report)
    Regards

    Dear Inol,
    I have the same problem I want to embded a PDF, word Doc OR Image in report 10g.
    And I put the read from file property YES and File Format OLE2
    and it doesnt work by run_web_report by repport server. while in run report layout it works.
    And my report server on the same Pc "The file path on the same server". or you can say that im working on the server where the path of the file exists and it doesnt work also.
    So what do you think that i have to do to solve this problem.\
    by the way i try to Genarate the report to a file in spacefic path then open it. and it didnt work also.
    any help will be apreciated.
    thanks in advance.
    Ashraf

  • How to display PDF file in a apllication server? challenging question  !!!!

    Hi friends
    I have a requirement. I have a screen there are few buttons in the screen. The purpose of the buttons is , when the user clicks the button it should open pdf files , jpg files which are kept in a application server.  How to achieve this. If sample code is available then it would be of great help
    Thanks in advance.
    Regards
    RAj

    Hello Raj
    Have you had a look at sample report SAP_PDF_VIEWER_DEMO already?
    REPORT SAP_PDF_VIEWER_DEMO .
      data: my_pdf_viewer     type ref to cl_gui_pdfviewer,
            my_main_container type ref to cl_gui_custom_container,
            entry1(100) type c,
            entry2(100) type c.
      data: okcode type sy-ucomm.
      include pdf_demo_event_receiver.
      data: l_event_receiver type ref to lcl_pdf_demo_event_receiver.
      start-of-selection.
      set screen 100.
    *&      Module  pbo_0100  OUTPUT
    module pbo_0100 output.
      set pf-status 'STATUS100'.
      set titlebar  'TITLE100'.
      " running down the pbo for the first time,
      " create the controls and their containers
      if my_main_container is initial.
        create object my_main_container
          exporting
            container_name = 'CUSTOM_CNTL'
          exceptions
            cntl_error     = 1
            others         = 2.
        if sy-subrc <> 0.
          exit.
        else.
        " create PDF Viewer object
        create object my_pdf_viewer
          exporting
            parent              = my_main_container
          exceptions
            cntl_error          = 1
            cntl_system_error   = 2
            others              = 3.
          if sy-subrc <> 0.
            "could not create PDF Viewer
          endif.
        endif.
        data: view_buttons_active type char01.
        if my_pdf_viewer->acrobat_vs_reader = ''.
          view_buttons_active = 'X'.
        endif.
        " create SAP toolbar for PDF Viewer
        call method my_pdf_viewer->create_toolbar
          exporting
            tool_buttons      = 'X'
            view_buttons      = view_buttons_active
          exceptions
            cntl_error        = 1
            cntl_system_error = 2
            others            = 3.
        if sy-subrc <> 0.
          "could not create toolbar
        endif.
        create object l_event_receiver.
        set handler l_event_receiver->on_document_saved for my_pdf_viewer.
        set handler l_event_receiver->on_viewing_finished for
    my_pdf_viewer.
        if not my_pdf_viewer->html_viewer is initial.
          call method my_pdf_viewer->open_document
            exporting
              "url = 'http://p34198/iissamples/default/ReadMe.pdf'.
              url = 'C:\tmp\Reader.pdf'.  " NOTE: wrong URL -> use 'file:///C:\tmp\Reader.pdf' instead
        endif.
      endif.
    endmodule.                 " pbo_0100  OUTPUT
    *&      Module  pai_0100  INPUT
    module pai_0100 input.
      case okcode.
        when 'EXIT'.
          leave program.
        when 'LOADURL'.
          call method my_pdf_viewer->open_document
            exporting
              url = 'http://p34198/myweb/Devfaq.pdf'.
        when 'EVENT'.
          entry1 = l_event_receiver->entry_field1.
          entry2 = l_event_receiver->entry_field2.
      endcase.
    endmodule.                 " pai_0100  INPUT
    Regards
      Uwe

  • How to display pdf file once a program is executed?

    I am writing a program in se80 and i am getting the pdf data in the type FPFORMOUTPUT-PDF.
    Now i want to display the pdf once the user execute the program. Is there a FM to do that? The pdf should open in Adobe so i have would have the option of printing or saving the pdf file.
    Any help will be appreciated.
    Thanks

    hi,
    well i don't think that there is any FM to call pdf but you can always save the pdf in local disk and then use FM GUI_RUN to specify the pdf's path and once the file's printing is done..use gui_delete to delete the same file..
    I hope this might help u.
    regards,
    Gaurav

  • How to display PDF file, inside the SWF file or flash exe file

    I  have create the application for Employee details using flash actionscript 3.0
    This application is to view the organization employee details, iam using the tree component in this application,
    the tree component is to get the dada via xml file, this xml file save in the remote server ,
    I display the PDF file inside the swf file to using " StageWebView" class . Then i goto Publish Setting to change the  player Adobe Air 2.6 and run the flash file using
    ctr-l + Enter . It is work correctly the PDF file is Displayed inside the Swf Output. But I Publish this file to exe . then i run the exe it is not working .
    The application is run The xml data is onely get and displayed the Tree component then i click the tree item employee name the xml data in not display and the pdf file is not open .
    Pls Help...................

    hi i need to display the pdf file inside the swf file or flash exe file .
    I use the navigateToURL class this is open the pdf file on the browser. I want to display the pdf file in the swf window .
    Please suggest.

Maybe you are looking for

  • How to find Based on PO item find ProjSt or Common Stock?

    Hi Gurus, How to find based on PO item and line item number find whether Project stock or it's common stock?  It's there any standard report is there? or provide me table name use with SQVI transaction code? Thanks and Regards, Deethya.B

  • How do I clear all of the images in Contacts?

    A while back the facebook app allowed me to sync the photos with my contacts.  Because of this it now seems that the contacts app thinks they are all custom.  I need a way i wiping all of the images.  Even right now (I sync everything with iCloud), w

  • BO Report Mobile - date filter

    Hello! I have a report in BO Mobile developed with web intelligence tool with two fields of sales values​​, one daily and one monthly. I'm having the following problem: when I select a specific date to the monthly values ​​are equal to the daily valu

  • How to import Verizon Cloud contacts to new iPhone 6

    My HTC DNA battery quit working and would no longer boot up. Luckily I had my contacts backed up to Verizon Cloud. I just purchased a new iPhone 6, however, my contacts will not import to the new IPhone 6. What am I doing wrong? It doesn't give me th

  • Spacebar doesn't play

    Hi, I am running the latest version of Final Cut Express 4 on my MacBook Pro and when I press the space bar it doesn't play. I've used Final Cut Express 2 and 3 on a Powerbook G4 and G5 and have never had this problem. I did find out that if the canv