Show BLOB (open a pdf) from Report in a new window

I use BLOB Support in Apex 3.2/4.0 (MIMETYPE..) at an IR:
http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/advnc.htm#sthref2199
Because my BLOB (pdf,...) should be opened without asking for download or open I use content_position INLINE.
That works fine, but I would like to get the opened document in a NEW window , not the same window ??
( If I klick the download with "open in a new window" it works fine)
Any idea?
I remembered Link-Attribute target="_blank" (that works fine)
So my first idea was
(1) defining the BLOB column as a Link (type=URL) call APEX_UTIL.GET_BLOB_FILE_SRC and use Link-Attribute target="_blank".
But APEX_UTIL.GET_BLOB_FILE_SRC needs an ITEM ... and what about MIMETYPE...
=>It will not work.
My second idea is
(2) Link from the report to another page having a hidden Item for the linked ID and
create an hidden ITEM (having the BLOB attributes) like described at Dimitrie's BLOG
http://dgielis.blogspot.com/2009/05/using-apexutilgetblobfilesrc-on-public.html
At this page a process on load before header call APEX_UTIL.GET_BLOB_FILE_SRC with these items as parameters
=> Seems to complicated
Any better idea?

Hi,
You know I have to thank you for the solution as by asking your question you provided me with a way to solve my problem .....
As double clicking a pdf file when the application is open with no open document works as I want it to (i.e. showing the new document in the existing acrobat window), so I decided to try out a plain vanilla shell instruction in vba instead of the AVDOC.Open statement ... and ....although not very programmatically aesthetic ....  it works.
rgds

Similar Messages

  • Opening link in the report in a new window

    Hi,
    I need to have a link in the html report which opens the destination in a new browser window. How can i achieve this? As of now i am using the following code, but the link is not opening in a new window.
    <fo:basic-link external-destination="{.//destination}" show-destination="new">
    <fo:inline>
    <xsl:value-of select=".//heading" xdofo:field-name="heading"/>
    </fo:inline>
    </fo:basic-link>
    Let me know what the problem is, as well as any other way to achieve the same.
    Thanks,
    Shanmuga.

    hi
    there is another way to drill down the report of web intelligence.for that we have to customize in the universe level create a folder in custom hierarchy and add your two objects to that folder, i.e empid. and deptid. the order of these objects should be in the way the drilling happens that means if you want to drill down from empid. to deptid. then empid. should be the first object of the folder,save and export the universe to the CMS.Then it ready to use for webi report.Build the query for the report and enable the drill option in the report.Now the report is ready for your requirement.
    thanks & regards
    Sreekanth K

  • I'm trying to open a PDF from Safari with iBooks, but when I choose "Open with ..." in Safari, only Pages and Dropbox show as options.  I'm running iOS 7.1.2 and iBooks 3.2.  Thanks for any ideas!

    On my iPad, I'm trying to open a PDF from Safari with iBooks, but when I choose "Open with ..." in Safari, only Pages and Dropbox show as options.  I'm running iOS 7.1.2 and iBooks 3.2.  I have rebooted the iPad and that did not help, and reinstalled iBooks, which also changed nothing.  Thanks for any ideas!

    Yup, it was uploaded to our school Wiki as a PDF, and Pages did open it.  I was then able to move it to iBooks, but I'd rather avoid the extra steps.

  • Opening a pdf from a blob

    Hi Guys,
    I know this is a borderline ApEx problem but I have a page whose sole job is to open a pdf from a blob stored in the database.
    This code works for most client machines:
    DECLARE
    l_blob blob;
    BEGIN
    SELECT letter INTO l_blob
    FROM letters
    WHERE lett_id = :P44_LETT_ID;
    -- owa_util.mime_header('application/pdf',false);
    -- tried pdf and octet they work the same?????
    owa_util.mime_header('application/octet',false);
    htp.p('Content-Length: ' || dbms_lob.getlength(l_blob));
    owa_util.http_header_close;      
    wpg_docload.download_file(l_blob);
    END;
    On some machines I get 'Windows cannot open this file ...File: f[7] ...To open this file..........
    On most machines this works fine.
    I haven't got it to fail with Firefox yet, just IE but only a few machines running IE. Client getting annoyed and I starting to stress.
    Many thanks
    Gary

    Have you already tried adding
    htp.p('Content-Disposition:  attachment; filename...as described here?
    http://download.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/up_dn_files.htm#CIHDDJGF
    Maybe it solves the problem, in case IE is a little bit picky. But I really don't know.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Have downloaded both Adobe reader and PDF reader, but when I attempt to open a pdf from a site on safari, it starts to load, then disappears.  Any way to fix this?

    Have downloaded both Adobe reader and PDF reader, but when I attempt to open a pdf from a site on safari, it starts to load, then disappears.  Any way to fix this?

    Try quitting the PDF apps and Safari like I describe below. Then reset the iPad. After it starts try again.
    Double click the Home button to show the screen with running and recently used apps. Each app icon will have a sample page above it. Flick up on the page (not the app icon) and the page will fly away and the app icon will disappear. This quits that app. Then reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • New Mac, fresh install of Mountain Lion When I click to open a .Pdf from a web page,while in Safar, I get a black window Nothing opens in Preview or in Acrobat No option to download

    New Mac, fresh install of Mountain Lion
    When I click to open a .Pdf from a web page,while in Safar, I get a black window
    Nothing opens in Preview or in Acrobat
    No option to download

    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type of copy paste the following:
    /Library/Internet Plug-Ins
    Click Go. If you see this file:  AdobePDFViewer.plugin
    Drag it to the Trash, empty the Trash.
    Quit and relaunch Safari.

  • I am having an issue with my adobe acrobat 9 pro. Every time I try to open a pdf from someone it opens it up with my free adobe reader rather than the Acrobat 9 pro so then I don't have all of the functions of 9 pro. How do I get it to open with 9 pro ins

    I am having an issue with my adobe acrobat 9 pro. Every time I try to open a pdf from someone it opens it up with my free adobe reader rather than the Acrobat 9 pro so then I don't have all of the functions of 9 pro. How do I get it to open with 9 pro instead of the free reader?

    It may depend on the plugin that is loaded into your browser. However, right click on a PDF and select the Open With option and go to the default button to select Acrobat as the default. That might do it.

  • Trouble with permission to open current PDF from one user to another user. what is the cure. i am running nthe current Server and updated Os 10.9.2

    Trouble with permission to open current PDF from one user to another  What is the cure ? I'm running the latest Server and OS 10.9.2.

    I had the same problem.
    Try this.
    https://igppwiki.ucsd.edu/groups/publichelpwiki/wiki/a1538/Howto_Disable_Acrobat _as_the_Safari_PDF_Viewer.html

  • How do I open a PDF from an online site?

    HHow do I open a PDF from an online site

    Hi,
    you might find an answer in How to open PDF documents in Adobe Reader (iPad on iOS 7 version)
    thank you

  • How to open a pdf from pdf target with page no using javascript

    Hi
    How to open a pdf from pdf target with page no using javascript
    Thanks in Advance.

    Hello,
    <p>Web.show_document calling .htm files saved on disk.....</p>
    Francois

  • I can download and open pdfs on my macbook air.  Why can't I open a pdf from a webpage?

    I can download and open pdfs on my macbook air.  Why can't I open a pdf from a webpage?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go > Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Open a pdf from a buffered stream versus file system?

    With the PDF Library SDK is it possible to open a pdf from a stream versus the file system?

    Yes, but not trivially. You would have to implement your own
    ASFileSys, which is a method for accessing "files". This is a
    collection of methods, rather like an object oriented class, but in C.
    You would have to support get, put, open, random access, file naming
    etc.
    Aandi Inston

  • When trying to open a pdf from a shared network folder I get an error

    hello,
    When trying to open a pdf from a shared network folder I get the error: 'there was an error opening this document the document cannot be found'. The share is on a Windows 7 machine and sharing to a OS X 10.7 Machine. Permisson has been given on the share for 'Everyone' read and Write, and is mapped to the 10.7 machine through the 'Connect to Server' in finder with login credentials.
    Can you help please?
    Kind regards,
    Chris

    This is in Internet Explorer 6 (yes, horrible, I know), but we use a standardized image where I work, with pretty intense GPO's.
    Don't know what happens if you right-click the link; but from any other machine (with the same image) the same link will open with all three options "Open", "Save", and "Cancel".  These are not freshly imaged machines, so some setting must of been changed along the way to make this happen on this user's computer.
    Repaired Acrobat, but this resolved nothing.
    Also checked in IE to make sure that Adobe was enabled under the Programs tab.
    Also, the option to view a pdf within the browser is not turned on.
    Any other ideas?

  • Correct pdf from report 9i

    Wanted know as it is correct to get pdf from reports 9i. I necessary to get the report with Cyrillic symbol. Use section [ PDF:Embed ] beside me was not got. I have taken Type1 font from resource Acrobat reader 5.0, made sure by means of program fontview.exe from supply Windows that this font contains Cyrillic symbols, has described his use: "Courier New" = "COM_____.pfm COM_____.pfb". As a result pdf file was got with embedded font, but Cyrillic symbols are don't care displayed not correct. When use [ PDF:Subset ] is got correct displayed pdf, but with use font Type3 that on my not quite well.
    Thanks.

    Hi,
    Using PDF embeding with Type1 fonts will not give you the symbol as the Type1 fonts have characters only upto 256. The way to get the Cyrillic symbols properly is to use PDF subsetting. You need to use either UTF8 or any Cyrillic charcater set and use True Type fonts. Add proper entried to uifont.ali for subsetting. An example would be to add, "courier = courier.ttf". The ttf files location should be included in Reports path. Internaly when doing PDf subsetting, these are converted to Type3 fonts so you will always get that. It works properly with Acrobat reader 5.0 for displaying and printing purpose.
    Hope this helps!
    Thanks,
    Rohit

  • TRYING TO OPEN A PDF FROM E-MAIL

    when I try to open a pdf from an e-mail it goes to office word and is uninteligible to read. please HELP!

    Sounds like some file association is broken; repair the installation (from Help menu), or uninstall/reinstall Reader.

Maybe you are looking for

  • Accessing Dynamic Internal table fields

    Hello All, I have one internal table ep_tabx having 138 columns whose data is getting displayed by using function module reuse_alv_grid_display. Now my query is, i have created one custom button on the appl toolbar to download ep_tabx data. IF the us

  • ERROR: DW050:  - Acrobat Professional: Install failed

    ----------- Payload: {AC76BA86-1033-F400-7760-000000000005} Acrobat Professional 10.0.0.0 ----------- ERROR: Error 1324.The path R嶰up廨er un document num廨is?sur un multifonction.sequ or the volume is invalid. Please enter it again. ERROR: Install MSI

  • Enable data protection in the FDM application

    Hi All, I just added a custom member in HFM and I would like to enable data protection in the FDM application for the particular custom member. Can anyone tell me how to enable the data protection in the FDM application. Regards, Sanjeev

  • Can't install itunes 11.0.1 on windows 7...get a Rolling Back Action message

    Hi...I cannot install iTunes 11 on my Windows 7 PC. The installation goes all the way through and I get a "Rolling Back Action" dialog at the end and the progress bar just goes backwards. Why is this happening?

  • PrE 3.0 help please

    Hi Guys, Spec I have copied the following info from my device manager:-  OS: windows 7 ultimate, 6.1.7600 build 7600, system model: G31M-ES2L, manufact: Gigabyte tech ltd, system type: X86-based PC, pentium(R) dual-core CPU, E5400 @2.70 Ghz, 2700Mhz,