Display PDF in Popup / How to do this?

Hi folks,
I'm trying to establish a popup in one of my WD4As which I want to display a PDF which is stored on the application server. Here is what I do:
1. Collect Data from User Input / Runtime Output of WD4A
2. Send it to a XSLT Transformation and render it into an XML-String
3. XML String is converted into PDF via 3rd party program
4. PDF is stored on the appserver
I've already searched the forum about the possibility of displaying PDFs and always came across Adobe Interactive Forms / Adobe Document Services / UI-Element "Interactive Form". Now I thought I could just read the PDF from appserver into an Xstring and bind it to the Interactive Form UI-Element, but it always requests a "template source". I fail to understand why I have to do this and what I have to enter there.
Bottom line I want it to look like the Payslip application in ESS. Is my approach right? Has anyone ever come across this problem? PDF on appserv --> convert to xstring --> Display in WD4A.
If my Question is too basic because I lack knowledge of a certain point of intersection here, please point me to some tutorials or information material if possible.
regards, Lukas
P.S. We don't have Adobe Document Services

Hi,
first of all, thanks allfor the support
I've done it as Santosh suggested and look-and-feel-wise this is a good solution for us. The via 3rd party Program created PDF is Read in and bound to a context attribute in Xstring. Xstring is Bound to the Download-Element. When I klick on the Download-Element I get "Page cannot be displayed". I'm reading it in like this:
OPEN DATASET lv_helpstring1 FOR INPUT IN BINARY MODE.
    IF sy-subrc = 0.
      READ DATASET lv_helpstring1 INTO lv_pdf_xstring.
    ENDIF.
  CLOSE DATASET lv_helpstring1.
Is this wrong? If I download the PDF from AL11 manually and display it, it works, so I guess I'm somehow serializing it wrong. Any guesses?
EDIT: Also, how would I be able to debug what's happening once I klick on the Download-Link? I don't see any coding behind so I wouldn't know where to set a break-point.
best regards, Lukas
Edited by: Lukas Weigelt on May 9, 2011 12:46 PM

Similar Messages

  • I've got every time when i open a new site a popup how to remove this

    i've etting evry time when i open a new site a popup? how to remove this pls

    Click here and follow the instructions, or if desired, run Adware Medic; you don't need to download it or any other software to resolve this issue, but may find it easier to do so. Clicking on the second link will normally start downloading it immediately; if you get an error message instead, see this page.
    While Adware Medic is safe to use(it was created by a longtime contributor to these boards), you should avoid downloading software from sources other than the Mac App Store and the developer’s website; this was probably how the adware producing them got onto the computer.
    (116996)

  • PDF Portfolio Cover - how to change this in Acrobat Pro 9?

    Hi all,
    in Windows folders PDF Portfolio files are displayed as follows:
    1. Using common PDF icons (bad, because we cannot distinguish PDF from PDF Portfolio), or
    2. If the folder allows larger pictures, then we see the standards Porfolio cover showing a "book",
    the note about the needed version and a download button.
    Question: is there a way to replace the standard PDF Portfolio cover (and symbol) by an user defined one?
    Such information like needed version and the download button aren't useful for people which
    already use correct versions. Notes like these should only appear on computer which cannot
    corretly display the respective files.
    For a meningfull overview I would like to display own contents. Is this possible?
    Best Regards, Michael

    Ignore the previous posts.
    The thing you're looking at is called the Cover Sheet - it's the page that users will see if their software cannot support Portfolios (or on Windows Explorer thumbnails), and is NOT part of the Portfolio navigator. In fact, the Cover Sheet is the "parent" to the entire document, and is nothing more than a one-page PDF file.
    To view the Cover Sheet in Acrobat, choose View -> Portfolio -> Cover Sheet
    You cannot delete it (as it's the only page in your document!) but you can edit it. For example, you could create your own design, and use the page thumbnails right-click "replace page" tool to swap in your new page. Be careful about the web link though, it needs to stay there to help your non-Adobe recipients.
    If you want to change every Cover Sheet on every Portfolio you make, replace the default "coversheet.pdf" file within the Acrobat install (there will be a series of them in subfolders, one for each installed language):
    C:\Program Files\Adobe\Acrobat 10.0\Acrobat\DocSettings\CombineFiles
    We do it all the time to add company branding to Portfolios created in enterprise installs.

  • Home page weather display will not update how to fix this?

    On my home page, my.Yahoo, I have selected "weather" for one of the displays. In the past this display kept pace with the current day but now it is stuck on a day and will not update to the current day. I have re-booted, terminated FireFox, restarted it, turned the computer off and back on, and the weather still is stuck and will not update.

    A couple more suggestions:
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    "3-bar" menu button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove the site's cookies individually.
    Then try reloading the page. Does that help?

  • When opening PDF-files in full screen mode, the screen becomes transparant and makes the PDF unreadable. How to solve this?

    this only happens in full screen mode. In normal screen nothing is wrong

    Hello Community please can anyone help out with this request, all I need is an answer to whether it can be done or not?

  • Problem displaying PDF stored in BLOB column

    Hello everyone.
    I've been trying to follow this tutorial http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::p11_question_id:232814159006 on displaying PDFs stored in BLOB columns. This is being performed on Apex 4.2, with my DB running 11g. I've got my procedure, which I'll post below:
    create or replace procedure "PDF" (p_id IN gvo_documents.doc_id%type)
    is
        l_lob    blob;
        l_amt    number default 30;
        l_off   number default 1;
        l_raw   raw(4096);
    begin
        select contents into l_lob
            from gvo_documents
             where doc_id = p_id;
    -- make sure to change this for your type!
        owa_util.mime_header( 'application/pdf' );
        begin
            loop
              dbms_lob.read( l_lob, l_amt, l_off, l_raw );
              htp.prn( utl_raw.cast_to_varchar2( l_raw ) );
              l_off := l_off+l_amt;
              l_amt := 4096;           
        end loop;
            exception
               when no_data_found then
                  NULL;
            end;
    end;
    I am trying to run this through a PL/SQL dynamic region and while I don't receive any error's, the content displayed is a huge mess of garbled text and odd characters. I've tried to run this procedure on numerous other document types, including word files and jpeg images, all with the necessary changes in my procedure, and regardless of what I use, I still get a large mess of strange characters. Does anyone have any information or ideas about why this is happening?

    If I understand correctly, your requirements needs to be broken down into two problems:
    1) click link that pops up a window displaying a new APEX page
    2) an APEX page the displays the document, not downloads it.
    I haven't done #1 (yet).
    However, you may be able to generate a URL that points to the new page as part of the SELECT statement for the Report.
    This has a related question, but no answer yet:
    open pdf in popup browser window
    The key is target="_blank" for the anchor tag.
    To generate the URL, you should use the APEX_UTIL.prepare_URL() function.
    If that doesn't work, a Dynamic Action that does some magical JavaScript stuff may be needed.
    For #2, I lost the URL that showed how to display a PDF as part of a "form" page.
    From what I remember:
    Start with a blank page with one blank HTML region (all the Items go in the HTML region)
    Add an Item for the PK/Doc_ID
    part I forgot Create a Data Manipulation Process
    - Automated Row Fetch
    - On Load - After Header
    - (stuff for your table/view)
    part I forgot Create an (I believe) "File Browser" item type. For Settings:
    - Storage Type "BLOB column specified in Item Source" (and place the column name of the BLOB there)
    - MIME Type Column: (column name) -- since you have multiple types, this is a MUST HAVE
    - Filename Column: (column name) -- I highly recommend you have this.
    - Content Disposition == INLINE <-- this is the kicker
    Also, you will need a Browser Plugin for each of the MIME Types (otherwise, the browser may try to 'download' the file)
    Browsers can handle Image types internally. Adobe's plugin can handle PDFs. I don't know about Word/Excel.
    Again, I don't remember the exact details, but that should cover most of it.
    MK

  • How to achive this report.

    Hi,
    Scenario : Some raw materials qty are moving to a series of various machines in work in poress .Here some of materials are rejected Qty by machines and let say xyz reason.
    In OBI,If i pull all required columns into report all columns are pulling correct information expect machines.
    Machine column diplaying all used machines name.. but my requirement is only rejected machines and rejected qty for particular machine should be display in report.
    How to achive this.Kindly let me . Thank you.

    867932 wrote:
    Hi,
    Scenario : Some raw materials qty are moving to a series of various machines in work in poress .Here some of materials are rejected Qty by machines and let say xyz reason.
    In OBI,If i pull all required columns into report all columns are pulling correct information expect machines.
    Machine column diplaying all used machines name.. but my requirement is only rejected machines and rejected qty for particular machine should be display in report.
    How to achive this.Kindly let me . Thank you.Please take the time to explain in more detail - your post is not very precise and you dont describe your data model.
    As a guess, I would start with a filter : rejected Qty > 0 so you only get machines which have had a rejection, compared to "Machine column diplaying all used machines name".
    Hope this helps!
    Alastair

  • Display PDF in Region

    I am trying to grab a pdf from a blob column in a table and display it in a pl/sql dynamic region, with mixed results..
    On the Oracle hosted instance of APEX, under the following credentials:
    Workspace: Homeworld
    User: Demo
    Password: demo
    I have an application called PDF Display Issue (# 74691).  On page 2 of the app I upload a file (hopefully a PDF) to my table (APP_HELP).  On page 3 I have a pl/sql Dynamic Region with the following code:
    {code}
    DECLARE
    v_mime VARCHAR2 (48);
    v_length NUMBER;
    v_file_name VARCHAR2 (2000);
    v_lob_content BLOB;
    BEGIN
        SELECT mime_type,
               blob_content,
               DBMS_LOB.getlength (blob_content)
          INTO v_mime,
               v_lob_content,
               v_length
        FROM APP_HELP;
        OWA_UTIL.mime_header (NVL (v_mime, 'application/pdf'), FALSE);
        HTP.p ('Content-length: ' || v_length);
        OWA_UTIL.http_header_close;
        WPG_DOCLOAD.download_file (v_lob_content);
    END;
    {code}
    However when I run page 3, I get a jumbled mess of characters displayed to the screen versus the PDF that was uploaded earlier..
    Usually I do PDF downloads via a report so I am wondering if the code I am using is not viable in APEX 4.x
    If anyone can take a look and offer up a suggestion I would be appreciative...
    Thank you,
    Tony Miller
    LuvMuffin Software
    Ruckersville, VA

    Hi,
    Yes you can open popup window.
    I did copy your sample page 4 to new ID. Just that I do not mess your examples.
    Then added entry "Display PDF in popup" to your sample page 1 list.
    That list entry url target is
    javascript:apex.navigation.popup.url('f?p=&APP_ID.:5:&APP_SESSION.:::::');
    Regards,
    Jari

  • When I paired my Iphone5-S to car Bluetooth it display my Outlook username, How to change it to Device Name?

    When i connect my Iphone to the car Bluetooth, it display my outlook/system username, whereas the device name & name in my apple ID is different. I want it to display my device name, how to do this?

    As amy_lou said, iTunes will recognize both phones as different devices.  If they have the same name, rename one of them so it is easier to recognize which is which.  This explains how to do this: http://support.apple.com/kb/ht3965.

  • Using add-ins in Word and Excel, I want to create pdfs to display page fit and with bookmark panel displayed. I cannot find how to do this.

    I am trying to create pdfs using add-ins in Word and Excel through Acrobat Pro XI. I cannot set defaults for page size or bookmark display. Does anyone know how to do this?

    Page size is dictated by what is configured for the authoring file. For custom pages sizes you'd make a matching custom page size for Acrobat (see Acrobat's Help).
    For PDF Bookmarks you use Acrobat's PDFMaker with a supported version of Word or Excel.
    You configure the PDFMaker's Preferences such that PDF Bookmarks can be made.
    Coming from Word the default Word Headings are used. You can also configure to used the default Word Styles.
    Coming from Excel you can only use the names of the worksheets within a work book.
    Alternatively you can create Bookmarks for a PDF manually using Acrobat XI (and earlier versions).
    Note that Word "Bookmarks" are in no way the same as PDF "Bookmarks".
    Be well...

  • Neither Safari nor Firefox will display PDF files. Anyone know how to solve this? Safari vs. 5.0.5. MAC User. Thanks

    Since yesterday neither Safari 5.0.5 nor Firefox (latest vs.) will display PDFs in their windows. Black window for Safari, white window for Firefox. Anyone know how to solve this? Thanks

    Quit Safari.
    Go to /Library/Internet Plug-Ins/
    Move these filess to the Trash.
    PDF Browser Plug-in
    AdobePDFVieweer.plugin
    Relaunch Safari. See if that helped.

  • 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 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 detect if the display pdf in browser is checked for Adobe Acrobat 9

    How to programatically detect if the "Display PDF in browser" option is checked/unchecked in the Adobe Acrobat 9 Pro preferences? In earlier version it was possible to determine with navigator.plugins. Please help.

    Please update to the latest version of Adobe Reader i.e. 10.1.2 and enable the double sided printing as in the below figure:
    Hope this helps.
    Ankit

  • How to disable 'display pdf (using Acrobat Pro X) in browser'?  Note:  The option is unavailable to un-check box.

    How to disable 'display pdf (using Acrobat Pro X) in browser'?  Note:  The option is unavailable to un-check box.

    Hi URT301,
    Please see this document: PDF Ownership when Reader X is Installed with Acrobat. You'll find several solutions to this problem in the FAQ section.
    Please let us know how it goes.
    Best,
    Sara

Maybe you are looking for

  • ABAP (Routine) Error in BW Transformations

    Hi Experts, As i am new(Learner) to BW Please advise me on how can i achieve this and update me with Releavent Start Routine and Field Routine....please My Requirment is Employee is Compounded on Location. On Weekly or Monthly basis (dependending on

  • Shared variables update in QuickClient but not in Variable Manager

    Greetings, I am using LV 8.6 Developer with the DSC module installed. Also, I'm using WinXP Service Pack 3. I am trying to create a VI that will interact with an OPC server connected to some equipment. I've created shared variables to read the value

  • Not able to create Schedule Task in OIM 9.1.0.2

    Hi, I created one Java program and created Jar file. Then placed in Schduled Task folder. When I try to create one Schedule Task in OIM web console, I am not able to see the Class File name in the list. Please let me know what could be the reason for

  • Save for web and devices: overlaping slices

    I use Illustrator to design UI for web and applications. In many cases, there are overlapping slices for example the icons on the toolbar: the icons are separate slices with transparent background while the toolbar is a big slice under all of them. E

  • Upgrading Mac Pro boot drive?

    I've got a Mac pro, 8 core, fast, etc. But it has a 300 GB HD which I've done a pretty good job of filling up. Right now, no problems, but I only have 48 GB free on that drive. I also have a one TB data drive (I'm a photographer, lots of RAW images o