Display pdf on an apex page

Hi all,
I am using 10g xe with apex4
I need to display pdf on a page.
How can we do that...
thanks in advance

Hi Jyothi,
This link might be helpful:
[url http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm] Defining and Viewing BLOB Data in Oracle Application Express 3.1
This is a link for Defining and Viewing BLOB Data in Oracle Application Express 3.1, but with little
modifications it is applicable for higher versions of APEX.
Hope it helps!
Regards,
Kiran

Similar Messages

  • 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

  • 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 do I display PDF document as single pages on iPad?

    Hi,
    I have a company catalogue in PDF format, 20 pages long. We use Issuu to allow customer to view the catalogue on their PCs and mobile devices.
    In Issuu you can customise the embed widget to show single pages, and this works fine when viewing the catalogue on a PC. The problem arises when trying to view the catalogue on an iPad. It appears that the iPad automatically sets the PDF to view as a Facing Pages document. It doesn't matter if I'm using Safari, or the Atomic browser we have installed (so that we can hide the URL bar).
    I've created the document in inDesign as a single page document but the iPad still merges pages 2-3, 4-5, 6-7 etc.
    The iPads will be used in our retail stores so it's important that the set up and navigation is as simple as possible. The catalogue is placed within an iFrame on the page so that I can but a navigational banner at the top that easily takes customers back to the main menu page. It's important that the catalogue opens within the page. The Issuu embed widget for Tumblr, etc only creates a preview of the catalogue which then opens in a separate tab, which unfortunately will not be suitable to our needs.
    You can view the page here: http://www.eurocollections.com/block/catalogue.html
    I've tried a number of different options, I've written to Issuu but they were unable to help as it only seems to be an iPad-related problem.
    Any help or suggestions would be greatly appreciated.
    Kind regards,
    Peter

    The PDF viewers on the iPad do not understand customised widgets.  They understand the PDF format, exactly as it was designed by Adobe.  Instead of trying to use a custom solution, use the features which are provided by the PDF format.  Custom solutions work only for the situations that the company that wrote the custom solution wants them to work and they are a corruption of the normal way PDFs are used.
    In your situation I'd remove all dependency on any custom widgets from your PDF document.  Instead you can use links which allow you to click on a piece of text or an image in the PDF and the PDF software will take you to a different page.  This is part of the PDF standard and will work on all software capable of showing PDFs.  It is all your users should need to navigate from one part of your catalogue to another.  Whatever software you're using to create your PDF should give instructions on how to create links in your PDF document.
    Similarly your use of iFrames is a little stange.  If your material is on a web site, put it in web pages where you can use all the features web pages give you, including blue-underlined links to other pages.  If, instead, your material is in a PDF then put all the navigation in the PDF.  Don't try to depend on a strange interaction between the PDF and your web pages.

  • Displaying pdf report in pop page by command button.

    Hi
    I am jdev 10.1.3.3 .I am displaying an pdf report on click of command button like this.
    FacesContext.getCurrentInstance().getExternalContext().redirect("http://www.acme.com/someCustomPath/myFantasticReport.pdf");
    But problem is this.It is displaying on same window.I want to display it in new window or pop window..Probelm is that i am redirecting the page.
    Is there any other way to display in new window.Please help
    any help would be helpful

    Hi,
    check this: http://thepeninsulasedge.com/frank_nimphius/2007/09/11/adf-faces-showing-reports/
    Frank

  • Display pdf newsletter on web page

    I'm currently working on a website for an organization that puts out a bi-monthly newsletter as a pdf. What I would like to do is display the current newsletter on the page itself so viewers can flip through it, and have links to the pdf past newsletters. I've found some info on this but the basic premise of it all is that I can convert a pdf to swf in Illustrator and add that to the page. The problem I'm having with that is it seems Illustrator will only load one page at a time and the newsletters are 4-5 pages on average. Is there an easy way that I can do this myself, or would my best bet be to pay for someone else to do it or for more software? I currently have the CS5 Master Collection and would think that something in there is what I'm looking for.
    This is my first post here but hopefully I explained my issue clear enough that someone can help. Thanks in advance!

    Embedded PDFs do not always show up.  Much depends on browser, preferences, plug-ins and supporting software used by your site visitors.
    For best cross browser results, provide a direct link to your PDF files.  Add a thumbnail image to give users some idea of what the page contains.  This is how Adobe does it:
    http://www.adobe.com/manufacturing/3dpdfsamples/3dsolutions/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • 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 slideshow, without returning to the first page or stall/halt on the last page?

    Hi,
    I want to display PDF's with multiple pages as a slideshow.
    This is possible with a default Adobe Reader and have this working for ONE pdf file.
    But I want do display multiple PDF's as a slideshow, the one after the other.
    In Adobe Reader you can define to return to the first page again or it automatically 'stalls/halts' at the last page.
    But I want Adobe Reader to close after the last page is displayed so it continues (in a simple DOS-script) with a second, third, etc. PDF to be displayed.
    Is this possible?
    What kind of simple DOS-script kan be used or an other reader/utility?
    Thanks in advance!
    Gunther

    Hi Bernd,
    I was looking for ways to script this kind of solution.
    But do not have good results.  There are tools to combine pdf's into one large pdf - but mostly to be selected by hand.
    We need it in a scriptable way to automate.
    Additionally, we want to be able to combine different types of documents to rotate as a slide show (so not only PDF's but also pictures or other output).
    If you or someone else have such scripts, it will be highly appreciated.
    Regards

  • 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.

  • Display pdf

    How to display pdf in jsp of page flow?

    Lots of ways I guess,
              put the pdf file in a frame in the jsp, Third party software.
              Maybe the weblogic FileServlet.
              Can you be a bit more specific?

  • Display PDF file in the Apex query report using HTML Expression

    Hi Folks,
    I have PDFs stored in BLOB columns along with FILE_ID column in the database.
    I want to display these to the APEX user on the page at runtime.
    I have created a SQL Query report page to display FILE_ID column.
    I am using HTML Expression property of the FILE_ID column to pull the image from the table using PROC_DISPLAY_DOCUMENT procedure.
    I typed folowing code int the HTML Expression text area of the FILE_ID column of the report page :
    <img src="#OWNER#.proc_display_document?p_id=#file_id#"/>
    I am using following Procedure code:
    create or replace procedure "PROC_DISPLAY_DOCUMENT"(p_id number) as
    s_mime_type varchar2(48);
    n_length number;
    s_filename varchar2(400);
    lob_image blob;
    Begin
    select MIME_TYPE,dbms_lob.getlength(blob_content),file_name,blob_content
    into s_mime_type,n_length,s_filename,lob_image
    from tbl_upload_file
    where file_id = p_id;
    owa_util.mime_header(nvl(s_mime_type, 'application/octet' ),false);
    --set the size so the browser knows how much it will be downloading
    htp.p( 'content-length: '|| n_length );
    --The file name will be used by the browser if the users does a "save as" 
    htp.p( 'content-Disposition: filename="' || s_filename ||'"');
    owa_util.http_header_close;
    --Download the BLOB
    wpg_docload.download_file( lob_image );
    exception
    WHEN NO_DATA_FOUND THEN
    RAISE_APPLICATION_ERROR(-202121,'Record matching screenfield filename not found, PROC_DISPLAY_DOCUMENT.');      
    end;
    --This is very Important
    --grant execute on PROC_DISPLAY_DOCUMENT to public;
    This code does not work and report does not display PDF image.
    Any help to troubleshoot this code will be appreciated.
    Thank you in advance.
    Jaya

    Hi Dimitri,
    I hope you can see HTML Expression code now. Thank You for responding.
    I have PDFs stored in BLOB columns along with FILE_ID column in the database.
    I want to display these to the APEX user on the page at runtime.
    I have created a SQL Query report page to display FILE_ID column.
    I am using HTML Expression property of the FILE_ID column to pull the image from the table using PROC_DISPLAY_DOCUMENT procedure.
    I typed folowing code int the HTML Expression text area of the FILE_ID column of the report page :
    [!--  img src="#OWNER#.proc_display_document?p_id=#file_id#" ]
    I am using following Procedure code:
    create or replace procedure "PROC_DISPLAY_DOCUMENT"(p_id number) **
    mimetype varchar2(48);
    n_length number;
    s_filename varchar2(400);
    lob_image blob;
    Begin
    select MIME_TYPE,dbms_lob.getlength(blob_content),file_name,blob_content
    into s_mime_type,n_length,s_filename,lob_image
    from tbl_upload_file
    where file_id = p_id;
    owa_util.mime_header(nvl(s_mime_type, 'application/octet' ),false);
    --set the size so the browser knows how much it will be downloading
    htp.p( 'content-length: '|| n_length );
    --The file name will be used by the browser if the users does a "save as"
    htp.p( 'content-Disposition: filename="' || s_filename ||'"');
    owa_util.http_header_close;
    --Download the BLOB
    wpg_docload.download_file( lob_image );
    exception
    WHEN NO_DATA_FOUND THEN
    RAISE_APPLICATION_ERROR(-202121,'Record matching screenfield filename not found, PROC_DISPLAY_DOCUMENT.');
    end;
    --This is very Important
    --grant execute on PROC_DISPLAY_DOCUMENT to public;
    This code does not work and report does not display PDF image.
    Any help to troubleshoot this code will be appreciated.
    Thank you in advance.
    Jaya

  • How to display PDF on a page

    Hi,
    I have a pdf document out on intranet site that I would like to have a APex report link to that document.
    This is how I defined the page:
    Page type - URL
    region source - http://www.xxx.xxx/../xxx.pdf
    It took a long time to bring up the pdf and the document is displayed in the wrong format. Has anyone done it before? How can I display pdf in APEX?
    Thanks,
    Julie

    Hello Julie,
    Here is how I handle making my user's reference manual available from my application. It is a PDF stored like yours.
    1. Define item as: Display as Text (excape special characters, does not save state)
    2. Make your Label something like this: &lt;a href="[http://www.mydomain.com/.../.../.../document.pdf] target="_blank"&gt;System User Manual&lt;/a&gt; (substitute your link info of course)
    target="_blank" opens the document in a new window.
    3. Set Horizontal/Vertical Alignment appropriately (I use Left).
    4. Template: Optional Label
    The remaining items do not matter.
    The things now that will dictate how long to download the PDF are, network speed on your end, network speed on the recipient end, network load, size of the PDF and the other normal things that cause a download to be slow.
    Hope this helps,
    Don

  • Display PDF in Apex Region

    Hi,
    I have a requirement to view the PDF content in the apex page region, I am using Apex 3.2 and Oracle 10 Enterprise edition.
    I Uploaded the PDF file in the shared component under static file. Now i need to view the content of the PDF file.
    Please suggest me method to view the PDF content.
    I saw the link in denes blog here he shows how the PDF is getting displayed. but there is no steps of methods mentioned
    >>http://htmldb.oracle.com/pls/otn/f?p=31517:108:56351399589001:::::
    Please suggest.
    Thanks
    Sudhir

    Hi Sudhir,
    when you look at page 3, region "pdf canvas" then you will see the code:
      <canvas id="the-canvas" style="border:1px solid black"></canvas>
      <!-- Use latest PDF.js build from Github -->
      <script type="text/javascript" src="https://raw.github.com/mozilla/pdf.js/gh-pages/build/pdf.js"></script>
      <script type="text/javascript">
        // NOTE:
        // Modifying the URL below to another server will likely *NOT* work. Because of browser
        // security restrictions, we have to use a file server with special headers
        // (CORS) - most servers don't support cross-origin browser requests.
        var url = '#WORKSPACE_IMAGES#Shilpa.pdf';
        // Disable workers to avoid yet another cross-origin issue (workers need the URL of
        // the script to be loaded, and dynamically loading a cross-origin script does
        // not work)
        PDFJS.disableWorker = true;
        // Asynchronous download PDF as an ArrayBuffer
        PDFJS.getDocument(url).then(function getPdfHelloWorld(pdf) {
          // Fetch the first page
          pdf.getPage(1).then(function getPageHelloWorld(page) {
            var scale = 1.5;
            var viewport = page.getViewport(scale);
            // Prepare canvas using PDF page dimensions
            var canvas = document.getElementById('the-canvas');
            var context = canvas.getContext('2d');
            canvas.height = viewport.height;
            canvas.width = viewport.width;
            // Render PDF page into canvas context
            page.render({canvasContext: context, viewport: viewport});
      </script>
    There you can change the url, I actually already reference your workspace file in there.
    But please give a list of browsers you are trying to support. It all depends on the specifics.
    Cheers,
    Dietmar.

  • Unable to display a PDF image on the page - Mac 10.6

    Hi,
    Running an iMac with 10.6.8 and Indesign 5.0.4. Just wanting to export a PDF as per usual via File > Export function. However, I keep getting the error message, "Unable to display a PDF image on the page'. No idea what this is and have never seen this error before. The only info on the internet reveals error code 0x2511(9489).
    I've deleted prefs, closed down and re-opened Indesign and even restarted the computer. I've also re-linked the images contained in the document and even created a new document and set it up the same, but still the same problem. Investigating further, other Indesign documents still export properly.
    The only ones that don't export are 2 documents, both giving this same error message. Both documents are ones where a client has sent a PDF, I've imported into two of these into an 2-page A4 Indesign document (each PDF is 48MB each) and then just added a text layer (using Times) which is properly installed on the computer. I basically have to 'update' course dates for the client and add PDF to the website, all very basic.
    I've tried importing a jpeg and other PDFs into the file (replacing the existing ones) and they export fine.
    All my software is legal and I've exported this document before now in exactly the same File > Export without any problems (under 10.5 and 10.6).
    OK... I've just imported the offending PDFs into Acrobat, optimized and shrunk the file size, re-imported back to Indesign and the PDF export works fine. So it seems InDesign / PDF Export doesn't like large imported PDFs? I think they were originally exported from Publisher, so maybe that's the problem or a file conflict somehow.
    Any ideas on the culprit? I've googled it, searched these forums and Apple discussions and haven't found anything. Although I've found a workaround, I do get large files to import and then export. Thanks for any help
    Steve

    It does sound like a problem with the original PDF files the client sent you. You can check how they were made in Acrobat Pro from the Additional MetaData button on the Description tab of the document properties dialog. It will be under Advanced at the bottom of the list when the metadata opens.
    You might be able to salvage them by running the optimzer and not changing the size, or just doing a Save As in Acrobat.

  • Installing AcrobatPro after removing Adobe Reader Safari displayed pdf urls only as a black page anymore

    After installing Acrobat Pro it installs in Library/Internet Plugin-ins/AdobePDFViewer.plugin version 11.0.03. Allthough after selecting a PDF-link it leads to a displays it not in Acrobat Pro, it diplays it as a black page in Safari. When I have a look in Acrobat Pro into the preferences/internet/webbrowser-option/PDF to show inBrowser with: isnt checked! And there is still listed/Application/Adobe Reader.app instead of /Applikation/Adobe Acrobat Pro!!
    There is no way to select this Applikation. Having a look at Lbrary/Preferences/com.adobe.acrobat.pdfviewer.plist listed:
    AdobePDFDriver file://localhost/Volumes/Sicherung%20laptop/Applications/Adobe/Adobe%20Acrobat% 209%20Pro/Adobe%20Acrobat%20Pro.app/
    ReaderInstallPath file://localhost/Applications/Adobe%20Reader.app/
    WebBrowserUsePath file://localhost/Applications/Adobe%20Reader.app/
    Has anyone changed the ReaderInstallPath file or WebBrowserUsePath file to the path of Acrobat Pro  and as a result a good diplay of PDF-urls in Arcobat Pro or Safari??
    Thankx, I hope my english isn´t to bad for a german apple-user!

    Thanks for the screenshot, Pat. I think the light bulb went off for me. I was looking over the tips for configuring Firefox at the link:
    http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html
    And I think what confused me the most was this screen shot for plug-ins for Firefox mentioned Acrobat.
    I had Acrobat installed myself, but most of our users do not use Acrobat, since it's not a free product. I uninstalled Adobe Acrobat, and the Adobe Acrobat plug-in was still there, so that forced me to realize that the plug-in that comes with Adobe Reader 11.0.3 is called "Adobe Acrobat".
    I went into Tools->Options->Applications and selected "Use Adobe Acrobat (in Firefox)", rather than "Use Adobe Reader (default)".
    This now allows me to not only view PDFs within a browser window in Firefox, but it also enables the save icon (which "Use Adobe Reader (default)" was not allowing me to do:
    It's a shame that the default setting is not for "in browser", because our customers may have to make a configuration change.
    There is no way to programmatically force a configuration change on a user's browser, is there?

Maybe you are looking for

  • I lost my sync with iCal and contacts on my iPhone 3GS when I upgraded to iCloud.  It worked just fine with Mobile Me.

    I upgraded to IOS5 and iCloud on my MacBook Pro after I upgraded my iMac to iCloud. I keep my phone in sync with my MacBook, but now my Contacts and iCal will not sync with my iPhone3GS.  What have I done wrong?

  • Array Out of Bounds, How?

    Ok so my problem is driving me crazy, I have an array, everytime I click the button it adds another set of objects to the new cells in an array. For Example int x = 0; Array[x] = some stuff; btnClicked; x += 1; Array[x] = some new stuff;My problem is

  • No system bell in X applications

    I have this application that when an alert box pops up it's supposed to ring the system bell. The behavior is preferred. I have a system bell if I run the command `echo -e "\a" > /dev/tty1` which will go to the PC Speaker. I expected and have always

  • LYNC Server 2013 LS User Services error with event ID 32190

    Hi,    I found below error in my front end server, please help to advise how to solve it. thanks Store procedure to replicate data from primary frontend to secondary frontend failed. Error Details: [# [Microsoft][SQL Server Native Client 11.0][SQL Se

  • Strange font rendering in firefox

    I have an svg file which has a very strange rendering in firefox the letters seem to be above each other while they're next to each other. kindly check the link I attached, it includes: 1- the svg file 2-How it shows on firefox 3-How it shows on chro