How to display a PDF document in popup window

Hi,
I have a requirement where i need to display a PDF document to be obtained from a virtual repository and then display it on a popup window.
Thanks
DS
PS: any code snippet or link explaining the above will be helpful

Use should the ShowProperty servlet in a link or javascript, e.g.:
<a href="/mywebapp/ShowProperty/path/to/pdf/node
target="someOtherWindow">pdf</a>
pdf
Or, with dyamic node retrieveal (from search or contentSelector,
assuming node is the pdf Node):
<a href="/mywebapp/ShowProperty<cm:getProperty node='<%=node%>'
   name='cm_path' conversionType='url'/>
target="someOtherWindow">pdf</a>
<a href="javascript:window.open(
   '/mywebapp/ShowProperty<cm:getProperty node=<%=node%">"
name="cm_path" conversionType="url"/>',
'SomeOtherWindow',
'height=400,width=400,scrollbars=auto,resizeable=yes');return false;">
pdf</a>
Greg
Sanjay Datta wrote:
Hi,
I have a requirement where i need to display a PDF document to be obtained from a virtual repository and then display it on a popup window.
Thanks
DS
PS: any code snippet or link explaining the above will be helpful

Similar Messages

  • How to display a pdf document in an ADF Task Flow?

    I have a requirement where I need to display a pdf doc in RHS task flow, upon a linked clicked on LHS task flow. Passing the pdf doc name is what I know already. All I need to know is, how to display the pdf doc in a task flow.
    Remember, I don't want to display this as a "POP-UP".
    Appreciate help on this!
    Edited by: Yousuf Baig on Mar 9, 2013 9:01 PM

    try like this...
    <af:panelSplitter id="ps1" orientation="horizontal"
    <f:facet name="first">
    <f:facet name="second">
    <af:panelHeader
    <af:region....(have a fragment and use fileDownloadActionListener)
    </af:panelHeader>
    </f:facet>
    </af:panelSplitter>

  • How to display the return message in popup window

    Hi Experts,
    In WDA i want to display the return message through popup window.
    Regards,
    M.Chella Meenal.

    hi Chella Meenal ,
    you can generate the popup using popup factory class also , look at the below sample code for displaying message in a popup , and you can do your own configurating like visible , enable the buttons you want ..
    data:
        lr_component type ref to if_wd_component,
        ls_conf type wdr_popup_to_confirm,
        lt_texts     type string_table.
      ls_conf-window_position = '1'.
      ls_conf-button_1-text = 'OK'.
      ls_conf-button_1-icon = 'ICON_OKAY'.
      ls_conf-button_1-enabled = 'X'.
      ls_conf-button_1-visible = CL_WD_UIELEMENT=>E_VISIBLE-VISIBLE.
      ls_conf-button_2-visible = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
      ls_conf-button_cancel-visible = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
      lr_component = wd_comp_controller->wd_get_api( ).
      append 'some text' to lt_texts.
      cl_wd_popup_factory=>popup_to_confirm(
          component        = lr_component
          text             = lt_texts
          CONFIGURATION    = ls_conf
          window_title     = 'some title' ).
    Regards
    Chinnaiya P

  • How to display value of variable in popup window

    Hi Experts ,
                   I need to display a variable which imported from call method and i have to display in popup window
               (  need code ) please help

    Hi Neeraj,
    You can use modal dialog box,
    create a view and window also that should be displayed as pop up in the same component and use the following code
    to display it.
    Concept is we are using the window that embeded with view is dispalyed as modal dialog box.
    Before calling the window, you should populate the data that mapped in the view.
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
    DATA lo_api_component TYPE REF TO if_wd_component.
    DATA lo_window TYPE REF TO if_wd_window.
    lo_api_component = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    wd_comp_controller->go_window
    = lo_window_manager->create_window(
    window_name = u2019POPUP_WINDOWu2019
    title = 'welcome'
    close_in_any_case = abap_false
    message_display_mode = if_wd_window=>co_msg_display_mode_selected
    close_button = abap_false
    button_kind = if_wd_window=>co_buttons_ok
    message_type = if_wd_window=>co_msg_type_none
    default_button = if_wd_window=>co_button_ok ).
    Regards,
    Meera

  • Display PDF document in Flex Windows application

    Hi,
    I am creating a flex windows application using action script and mxml script.I need help in displaying a PDF document in that windows application.I tried google search it is giving me some open source projects with IFrames.But,they can be only used for browser applications(web).So,anyone please suggest me how could i accomplish this task with winows application.
    Thanks,
    adi2010

    Hi Everyone,
    I got the solution for my issue.We need to use HTMLLoader to load the PDF documents in Windows aplication for Flex.

  • Display word/pdf document in the HTML region or report

    Hi,
    How to display blob content stored in a table in HTML region or report region.
    I already have a process to display the image content.
    But my question here is how to display word/pdf document within the html region so that the user can read the document without downloading it.
    Any suggestions/solutions would be of great help.
    Thanks in advance...
    Thanks,
    Ramesh P.

    I was dead wrong.
    The display of images from BLOB is a special case because APEX provides a Display Image item type.
    Moreover, HTP/HTF packages also do not provide for handling of BLOB content. So AJAX cannot be used.
    Which implies that the only way to get binary content, other than images, is with the use of a WPG_DOCLOAD.DOWNLOAD_FILE call.
    This in turn implies that it may not be feasible to "inject" the BLOB into an exist HTML DOM in the Browser.
    Regards,

  • Display a PDF Document from a standard transacction

    Hi.
    I need to display a PDF document located in a server outside SAP. The idea is to implement a menu exit and add a new button to a standard transaction. When the user press the new button a PDF document must be displayed.
    I want to know if this solution is possible and if you know any function in SAP to display a PDF document.
    Thanks.
    Diana.

    hi,
    chk out this link..here you can find various ways in displaying PDF..
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=how%20to%20display%20pdf&cat=sdn_all
    thanks
    jaideep
    *reward points if useful..

  • How to display a pdf file

    hello,
    I want to display a pdf document, but I don't find anything which could really help me...
    I want to parse the pdf file into a jpanel or something like that and then displaying that jpanel.
    has anyone please any idea how I could do that? how do I get the pdf file into the jpanel? examples would be very great...
    bye

    You can visit http://itextdocs.lowagie.com/
    perhaps this web can help you to display pdf file..
    and..I find an example for this...
    see the linked:http://itextdocs.lowagie.com/examples/com/lowagie/examples/general/HelloSystemOut.java
    but I don't know if it is really what that you wanna get...
    best regards.

  • I really need someone to help me. I have been trying to figure out how to select a PDF document to convert to a Word doc. When I go to select a PDF file, all that shows up is the WORD docs. does not show ANY of my PDF files... Please help me figure out wh

    I really need someone to help me. I have been trying to figure out how to select a PDF document to convert to a Word doc. When I go to select a PDF file, all that shows up is the WORD docs. does not show ANY of my PDF files... Please help me figure out what is going on? We have it set on auto renewal so I know its not that we haven't renewed this subscription, because we pay automatically.

    Hi olivias,
    It sounds like there may be some confusion on your system about what application should be associated with PDF files. You can reset filename associations by following the steps in these articles (depending on your operating system):
    How to change the default application for a file type | Macworld
    http://windows.microsoft.com/en-us/windows/change-default-programs#1TC=windows-7
    Please let us know if you have additional questions.
    Best,
    Sara

  • How to display a pdf using outlook

    How to display a pdf using outlook

    You would normally right click on the PDF and select to open it with Acrobat. You have to have Acrobat or Reader installed on the machine.

  • I need to know how to edit a PDF document?

    I need to know how to edit a PDF document?

    Preview has limited PDF editing capability.  You can get a lot more on:
    http://www.pdfescape.com/
    or with Wondershare's PDF Editor.
    Adobe Acrobat Pro is the most expensive solution.
    Since you posted under iMac PPC forum, which is for iMacs that can't run any operating system newer than August 28, 2009, I can't say specifically what the capabilities of your version of Preview are.  Go to Apple menu -> About This Mac.  If you have an Intel, you do not have a PPC.  If you have a G5, G4 or G3, you posted to the right forum, and just need to find the version of Preview you have in Applications folder.

  • How to attach a PDF document to work item .---urgent

    Hi EXperts ,
      I am wanted to know how to attach a PDF document to my work item which i will be geneating . Pls let me the Method coding to be done so that I can send the attachment also when the work item is generated ..
    What is need to pass to Workflow container ...
    Regards
    Abhilash

    Ah ok,
    then the only way I know is to get hold of some one with skills in Smart Forms, and alley up with them. Or better yet, use it as an excuse to learn to do it your self
    With a Smart Form, you can parse data into it, create the file, and then use the GOS functionality to attatch it to your BO. All this in back ground!
    Kind regards
    Mikkel

  • How to SaveAs a pdf document?

    How to SaveAs a pdf document via javascripting using "Acrobat 8.0"? Kindly advise me with examples.
    Thanks

    Look at the method saveAs in the Acrobat Javascript API Reference.

  • How to read a pdf document which is saved on icloud

    how to read a pdf document which is saved on icloud

    Greetings jjakri,
    Welcome to the Apple Support Communities!
    It sounds like you have a PDF saved on iCloud Drive and would like to view that on your iPad. To view a PDF on your iPad, you would either need to sync from your computer view it from an email attachment. For more information on these processes, please refer to the attached article. 
    iBooks: Viewing, syncing, saving, and printing PDFs on iPhone, iPad, and iPod touch - Apple Support
    Cheers,
    Joe

  • How to display a pdf file in jsp

    hi,
    How to display a pdf file in jsp iam having a class which will return fileinputstream of the file object. the pdf file is in server.
    regards
    Arul

    A JSP is a combo of HTML and Java, so you can't really "display" a PDF file in a JSP.
    You can provider a href link to the PDF file in your JSP.
    You can use some utility package to read the contents of the PDF, pull certain things out of it, and display that in your JSP as html
    In a servlet you can set the content type to application/pdf and write the binary data of the PDF back to the browser. Once the browser finishes reading in the data it should open the PDF.

Maybe you are looking for