How do I render a PDF stored in interMedia object?

I have a pdf stored in an interMedia object and would like to simply render it to the browser. If I drop an <adf:render> tag for it, it creates a hyperlink for it. I'd like it to simply display it.
That is, say I call my page like this:
ShowMeThePDF?Key=<<rowkeystr here>>
How can I get it to simply render it in that page or forward to something to render it, whatever?
CONFUSED.

Hi,
There are a couple of ways to do it, the usual is to use the url from the <adf:render> tag, how like you I've run into the issue where you actually want to redirect straight to the PDF. As yet I haven't found a way to get the rendered URL from the adf:render tag to work.
The solution I've had working for a while is to use a servlet or jsp (servlet recommended) which sends PDF headers and just dumps the bytes to the browser, it's worked wonderfully well, the itext website has examples you can adapt [http://itextdocs.lowagie.com/tutorial/general/webapp/index.html#JSP]
Ideally, I'd like to just use adf's ordDeliverMedia servlet as you're trying to do but I haven't been able to get it working standalone either. I expect the cache id on the rendered urls refers to the memory/session/somethin cache of the file which is created when the tag is encountered on the page. That being the case I'm at a loss on how one can manipulate it from the model pages .. same with the BI Graphs...
It would be really great if oracle put up some more functional examples of ordmedia usage...and let the filename of the downloaded be renamed...

Similar Messages

  • How do I open a pdf stored in a Microsoft Access database using Visual Basic studios 2012

    Currently I am unable to find a valid method of being able to open a pdf stored in a Microsoft Access database using Visual Basic studios 2012. I've tried displaying the entire database on a form, but when I do this all the other columns show up with
    the correct data besides the one containing the pdf's, it just displays <binary data> in each row down the column. I also tried another method with which you use the database as a dataset and can drag and drop the rows and columns into the form, which
    again works for all the other columns besides the one containing the pdf's but this time I'm unable to interact with the column  at all. 
    Not too sure if this is in the correct place, but any answers or help would be appreciated. Cheers.

    Alex,
    This forum is dedicated to Project and Project Server. You might get better response, if you post to a Visual Basic forum. Here are couple I could find. 
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral%2Cvblanguage&filter=alltypes&sort=lastpostdesc
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • How do you Display a PDF stored as a BLOB in Apex?

    We are trying to use Apex for the first time here in our shop. The project we have selected has PDFs stored on the database as BLOBS that we currently are able to display with our forms application. We want to do this using apex, and have them appear on one of the pages in the application. I want the PDF to display on the page, when the page itself is invoked, without the need to click on a download link on the page itself.
    I've seen certain examples displaying images etc, but I haven't found one that specifically refers to the display of a PDF database BLOB on a page (I assuming a report page) within Apex.
    Also, since I've just set up the Apex environment utilizing Oracle HTTP Server in the middle tier, do I need Oracle's BI Publisher in order to display the PDFs in Apex?
    Thanks in advance. Any advice or links would be much appreciated.
    Phil

    Thanks for the quick response, and you are correct. I've seen examples that include a link to specifically display the PDF, but I don't want them to be able to directly go to the PDF outside the context of the page itself. These are letters of recommendation that we store on our DB, and this application, for our med school admissions screeners, will be looking at up to three letters of recommendation for each applicant to which they have been assigned. We want them to click on an applicant, and then through a series of tabs view data on that applicant, some of which will be his/her letters of recommendation.
    Phil

  • How can I open a PDF stored in IXOS and then display it in a BSP

    Hello gurus,
    I have created a PDF icon and an onclick action to open a pdf, that displays on every row of an assignment block in the actions column, but I do not know the technical process to determine how to get a PDF from the IXOS system from the line selected. (even if I know it depends on an ID attribute of that assignment block) I want to to call a transaction launcher with the url for the pdf in the IXOS that has an ID that identifies which line in the assignment block the user has clicked the pdf icon for (does that make sense?)
    Therefore, I am assuming the PDF should correspond to the relance ID of the row in the assignment block, but I would like more information as per the business logic involved in able to achieve the desired results for this particular specification. I already confirmed that the XURL or any other attribute in the BOL object does not contain the URL to use for this. I have looked at the class I was told that it may contain the required business logic for determining which PDF in IXOS to fetch for a particular row, and I am currently trying to reverse engineer the logic through looking at other code and using the debugger, but so far I haven'T had much luck.
    Here are some questions I have now for the functional side in the meantime:
    1) Can we fetch the PDF in IXOS for each line of an assignment block?
    2) Which URL should I call with the transaction launcher? a URL link to the PDF on the IXOS system??
    3) Do we have to configure a transaction in the IMG to be launched?
    4) Do we have to create a logical link there that I will make dynamic to call the right PDF for each table line? 
    5) Are there any existing examples of this or a similar functionality/ logic that I could refer to, preferably in CRM 7 WebUI?
    6) Do you have any code to just display a PDF in a new window? Or prompt a download?
    One possible way I thought of would be for me to have a logical link defined in the IMG, that I could call passing it different attributes (eg. some object id, etc) and then return the PDF and display it in the UI in a new browser window by itself. Alternatively, we can just prompt a download. What do you think would be the optimal behaviour here?
    Please do not hesitate to propose any potential solution. Any partial answers/ links to wikis/ other threads, anything would be much appreciated.
    Thank you in advance.
    Best regards,
    Jonathan Laplante

    Hi,
    I partially answered your question in another posting but I feel that you´re in the wrong forum for your problem. This is for BSP development and you talk about CRM.

  • How can I read a PDF stored on iCloud on my iPhone?

    Dear all,
         I'd like to store and retrieve PDF's on iCloud on my iPhone.  So far I can't figure out how to retrieve a PDF from iCloud and read it on my iPhone.  Is there an app I should down load?  How is this done?  Any help would be great. 
    Thanks,
    John

    Thanks very much for your input!!  I took your advice and now have the App on my iPhone. 
    Cheers!
    John

  • How do I alter a PDF stored in my documents

    I have an IMac.  I created and scanned a resume into my documents.  How do I edit or must I retype

    A PDF file cannot be edited as is. You would need a converter program to convert the PDF into a document that can be edited in a text editor or word processor. There are many such utilities. I use Wondershare PDF Converter Pro 3.5.3 that works quite well in converting PDFs into several formats such as for Word. They also have their Wondershare PDF Editor 3.6.1.
    In reality almost any OCR software that can work on a PDF file could provide a similar service although less elegant.

  • How do I highlight a pdf stored in ibooks on my ipad?

    I know this has been a problem for ages, however has this been worked out?
    Can somebody suggest a cheap app that can do this?
    Thanks for your help.

    It's not currently possible to add to or view your wish list on the iPad, you will need to use your computer's iTunes for it.

  • How to read doc/docx/pdf/jpg files in objective-c?

    Hi am new to  objective-c,here want to read the files from the directory i know how to read the text file but what i need is to read the doc/docx/pdf/jpg files to read,i don't know how to read these files in objective-c if anyone knows about this please help me,
    thanks in advance.

    The same way. You will get a load of binary idata, and you have to handle that yourself. .. What, are you expecting libraries to read and somehow convert a .docx document to your taste? You need to look up what 'file format' means.
    (Oh alright, there /may/ be a standardized way in OS X to read a jpg and convert it into something OS X can use without you having to know the specifics.)

  • How do I open a PDF file stored on the iCloud drive with my iPad?

    How do I open a PDF file stored on the iCloud drive with my iPad?

    This document explains how:
                     Opening PDF Files in Reader for iOS (iPhone and iPad)

  • How do I transfer larger PDF files stored in iBooks to replacement iPad?

    How do I transfer larger PDF files stored in iBooks to replacement iPad?

    Do you sync with iTunes and are the PDF files in your iTunes library? If they are, sync the iPad with iTunes.

  • How can I render PDF file on a Panel or JPanel?

    Hi!
    I am trap into a big problem: I want to render a PDF file in an applet. How can i get it?
    In addition,how can I convert arbitary file into a PDF?
    FIVE DUKE AS REWARD.

    I can't agree any more.
    But I want to find a package which can be employed directly.
    "www.teamprinting.com" can provide conversion service. I am trying to contact them for some help.
    BTW: Can you tell me how can I get a Panel or JPanel which can cover the whole screen? In another word,the panel should be display in full screen mode and transparen. you can see anything under/beneath this panel just like a piece of glass.
    FULL SCREEN,TRANSPARENT are important.

  • How do I combine already pdf files in pack?

    How do I combine 2 pdf files in adobe pack?

    So, if you have a PDF pack account, make sure to log in.
    Online, you would go to https://cloud.acrobat.com/combinepdf, by clicking on the "Combine Files" tab.
    Next, click the large blue button that says, "Select Files to Combine."
    Wait for the shadow-box window to appear, and select the PDF files you want to combine, either by selecting them in your computer's filesystem, from the pop-up window, or by dragging the files into the shadow-box.
    Alternatively, you may switch to Acrobat.com files, and upload any files that you have stored there.
    Click on the blue button stating continue.
    Enter a name in the box with light gray text stating "Enter combined PDF file name"
    When done, press combine.
    You should see a light grey status box in the top right stating the status of the combining, and when finished, you will see the file appear in the section toward the bottom half of your browser stating "Combined Files" - it should be the document to the furthest left-side. (If your lucky, it is already there.)
    Hopefully, this will help you!
    -Alex
    Like what you see? Is it a correct answer? If so, you should vote a correct answer on this answer.
    You, too, can be an awesome user - just remember - see something, say something!@

  • How do I transfer a pdf to my iPad?

    I am running iOS 8.1.2 and in my iMac I have iTunes version 12.0.1 and iBooks 1.1.1 (on my mac)
    I have searched and searched for RECENT information on this topic. None of what I have found so far works.
    I have a .pdf in iBooks on my iMac - I want it on my iPad Air 2.
    I am logged into my iCloud account (the same one) on both devices.
    The support article on this topic says to email the .pdf file to myself and then I can transfer (share) it with iBooks. But when I did that (click on the .pdf attachment in email on my iPad) it takes me to Safari and just seems to lock up. It looks like it has sent me an iCloud link to the .pdf file (it says Attachment available until Feb 28th).
    In the version of iTunes I have 'books' are no longer available - only audio books.
    I can't believe this is so difficult! I used to love my Apple products/devices because they just worked together. But right now I'm not so sure.
    Does anyone have any ideas on how I can get this .pdf file onto my iPad?
    Thanks,
    Tori

    PDFs are not stored in the cloud, so it won't show in the cloud for downloading in iBooks on your iPad. You should be able to sync it to your iPad via your computer's iTunes - connect the iPad to your computer, select its icon towards the top left of your computer's iTunes, and use its Books tab (the tab should show the books and PDFs that you have in the iBooks app on your Mac for selecting and syncing) :
    For the email option, you've attached the PDF to an email on your Mac, not a URL link to the PDF (which would cause Safari to open) ? If it is a PDF then when you press and hold on a PDF attachment then after a couple of seconds or so you should get an popup with a series of options, one being 'open in iBooks'

  • How can I attach a PDF file to an email I am replying to?

    Hi!
    How can I attach a PDF file already saved on my iPad to an existing email I am replying to from my inbox??

    If you have the PDF stored on the iPhone as a separate file you obviously also have a third party app for reading it, so you should be able to e-mail it from there.
    If it's on an existing e-mail, forward the e-mail and just change the contents but include the pdf

  • How can I attach a PDF file to an email?

    I would like to attach a PDF file to an email, how can I?

    If you have the PDF stored on the iPhone as a separate file you obviously also have a third party app for reading it, so you should be able to e-mail it from there.
    If it's on an existing e-mail, forward the e-mail and just change the contents but include the pdf

Maybe you are looking for

  • New effects problem on library loops

    My Logic has been performing close to flawless since I've had it. An update installed today and a new problem has arisen that I can not find a way to fix. Whenever the project tempo is different than the loop tempo, for example, when a drum loop in t

  • Group Policy Client service failed the sign-in

    After doing an OSD with a Windows 8.1 reference image, I get the "The Group Policy Client service failed the sign-in. The Universal unique identifier (UUID) type is not supported." message. It only shows up on the first very first log in, right after

  • How can I get my Pro-100 to print 12x12 page size? It won't let me set that size.

    I use 12x12 paper for scrapbooking.  Every time I set the paper size for 12x12, the printer says to choose the A3 size (11 x 16).  But then there's a wide margin of white left over.  How can I get the printer to print edge to edge?

  • External hard drive won't mount anymore

    Dear all, I have an external HD that would always mount without any problem on my black Macbook. Last month, I upgraded my system RAM from 2GB to 4Gb. It made the Macbook much faster, but also seriously reduced battery life. In a drive to fix this ba

  • Bad CD with Ext USB DVD Drive

    Greetings, Who do I need to contact to get a replacement software CD for the External USB DVD Drive that I just bought. The drive seems to be working but when I put the CD in it sounds like its grinding gravel and it then displays a message that it i