Interactive PDF, open file in new window.

Hello everyone,
I was unable to find this on the net or I could be using the wrong typed search. Created a successful interactive document. I attached a portfolio to this interactive document. I have 3 images. Two are hyperlinked to specific urls which work just fine. I have a sample button which opens the pdf. The only problem I have is that the pdf open in the current pdf window of the past file, so one has to reopen the original file again to access it. I could create a button on the portfolio webpage to go back to the original document, but that would be 20 buttons.
Is there a way for someone to click on the sample button, but open up a new window like you would for a webpage?
Right now the setup in the Buttons and Forms window:
Sample button
Type: button
Name: Sample
Event: On Release or Tap
Open File - Checked
Select File: current path
PDF Options
Description: Portfolio Samples
Printable - Checked.
That is pretty much it.

Not everything can be done in InDesign when it comes to interactivity and forms. I believe you have to use a JavaScript in Acrobat to get the file to open in a new window. I can't provide you a specific reference. Ask on the Acrobat forums.

Similar Messages

  • InDesign Button Action for PDF – Open File (in new window)

    I am using the 'Open File' action on buttons in a document i am making which will eventually be a PDF, but am wanting to specify the button action to open the file (another PDF) in a new window.
    I have found that I can achieve this and add button actions with this specific behavior in Acrobat, but it seems to be missing in indesign's abilities as far as I can see. Is there a way to do this in indesign so that i do not have to tinker in acrobat after I have made my PDF. As if I have changes to the PDF, all buttons then have to be totally re-done each time, and i will have possibly 900 buttons!!
    Thanks.
    (Using indesign CS4)

    Jeff,
    You are correct. I want to have a DVD with multiple PDFs. The main one almost acting as a table of contents for the rest.
    Problem = the 'main one' is 62 pages long, many hundred buttons and every page has at least a few of these links needed.
    Which means, if you are correct (and I believe you are, hope you aren't) that I need to custom code these buttons in Acrobat.
    The method is easy, but x300 = painful. And then the kicker... Boss says, 'Change slide 30' ... which means: Back to InDesign, Export to PDF, Recode ALL BUTTONS.
    *Note, there are some 'interactive' buttons with roll over states. So I don't think replacing the pages would work.

  • With acrobat 7, how do I make links (within the pdf) open in a new window-tab?

    With acrobat 7, how do I make links (within the pdf) open in a new window-tab?

    No love? From anyone?

  • How To Make Links In A .PDF Open In A New Window

    Hello,
    I am using Acrobat Pro 10 to create a fillable employment application. At the top of the main application, I want people to be able to click and be redirected to another .PDF file I have hosted on my site that they will need to fill out in addition. So, I have used the link tool, but this closes the main pdf application and opens up the new pdf in its place. This is very problematic, because it clears out all of their data in the previous main application. So, I need the link to open in a new window and not in the same one as the original form. Is this possible?
    I have tried using the Java work around explained in this article: http://mythinkpond.wordpress.com/2009/11/04/opening-a-link-in-a-pdf-document-in-a-new-wind ow/
    However, when I do this, and upload it to my site the link doesn't do anything. When you click above the word where the link should be, it doesn't show the finger pointer and doesn't do anything when clicked.
    Any ideas? I greatly appreciate any help...

    That makes sense. So I guess it looks like I have 2 options.
    1. Put the JS short code in and have it open the link in a new window if the user opens it in adobe. If a google chrome user opens it in the default viewer, they wont be able to use the link at all.
    2. Leave the link how it is, and it will be usable in both viewers, but will not open it in a new window.
    I am sureprised that opening the link in a new window isn't just an option in Acrobat Pro. I wouldn't think you'd have to make a workaround like this.
    Is there an alternative way to have a page link on the form so that people can go to another .pdf whil keeping the main one open?

  • Opening files in new window

    I'm using Captivate 2 and have linked some Excel files to my
    published movies. The published movies and the Excel files are on
    my Web server in the same directory, but users are having the
    following problems:
    The Excel file does not open and the
    user gets a "page not found" error -- I experienced this myself
    with WinXP SP 2, but if I pressed Control and clicked the button to
    open the file, it opens sometimes. Other Win XP SP2 users report
    that Ctrl + Click does not work for them.
    With Windows 2000, the Excel file
    opens, but takes 5-10 minutes to open - none of the files are very
    large and I am using a high-speed connection
    Does anyone have any suggestions for resolving this?

    ComputerWhiz
    "Make sure the Open new windows in a new tab instead is checked" - it is.
    issue still not solved,
    ps if you click on a pdf on the above link do you get the same problem or is it just me..?
    [Lewis Hamilton]

  • Opening file in new window

    I have a page that shows files.  They include video, music, and documents.  When one is clicked on, it goes to a certain page that is just for that type of file.  The only problem I have is getting the source.  I was thinking about using a session, but was not sure how I could do that.  Could I also use get to get the file name in my URL?
    Thanks.

    future-architect wrote:
    the only thing is, i would prefer to preserve the uploaded file name.  Is there any way to remove the characters, yet show it with spaces/characters?
    Use str_replace() to replace spaces with an underscore when storing the filename. Then use str_replace() to replace the underscores with spaces when displaying the names.
    // when storing
    $file = str_replace(' ', '_', $original);
    // when displaying
    echo str_replace('_', ' ', $file);

  • How to make fileDownloadActionListener to open pdf file in new window

    Hi all ,
    i used the component [ fileDownloadActionListener ] to make download pdf file ,
    my question is
    How make this components to download and open file in new window ?
    Jdeveloper version 11.1.2.3

    Here is a sample http://technology.amis.nl/2011/07/28/adf-11g-show-pdf-in-a-popup/
    or http://mahmoudoracle.blogspot.de/2012/06/genius-adf-buttons.html#.UZygjrVM_Lk
    in General you can use the technique described here http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/ and configure hte browser to püen the doenloaded file using the configured application (pdf reader in your case).
    Timo

  • How to open PDF file in new window as default

    I have .pdf documents into which I have inserted links to other .pdf documents using pdfEdit995
    (I am a 77-year-old pensioner recording monumental inscriptions, not very computer literate and not able to afford expensive applications !) 
    The links in the temp.ps file (which pdf995 creates first) look like :-
    [ /Rect [85 225 107 228]
    /Border [ 0 0 0 ]
    /Action /Launch /File (.\\Another Folder\\TARGET FILE.PDF)
    /Subtype /Link
    /ANN pdfmark
    The links work fine, but open in the same window, which is annoying as it is then neccessry to re-open the original document, scroll down to the required page and find the next link.
    pdf995 support say that perhaps Adobe reader can be set to open in a new window, but I want this to be the default when I circulate my file to interested people, so would prefer to modify the links.
    Can anyone help with a smple solution ? (I also believe in Santa Claus !)
    System: Vista; Reader X 10.1.0

    I don't know if you can change this in the PS file, but if you had Acrobat you could embed the following code into your file, that will make sure the links open in a new window. However, you should be aware that this code will change the preferences at the application level, which some people might not appreciate.
    The code is:
    app.openInPlace = false;

  • Open a generated pdf file in new window

    Dear all,
    I'm using JDev ADF 11.1.1.4.0
    I use the command button method to generate pdf file with JasperReports and I store it into the public folder /reports/test5.pdf. To open this file I can use goLink or goButton with target frame _blank, but how can I open this file automatically after generation?
    I was reading about fileDownloadActionListener, but it's not what I need, I just want to open the file in new window browser.
    Any help will be appreciated.
    Regards,
    Wojtek.

    try this
    HttpServletResponse response = (HttpServletResponse) FacesContext
                                      .getCurrentInstance().getExternalContext().getResponse();
                       ServletOutputStream servletOutputStream;
                       servletOutputStream = response.getOutputStream();
                       byte[] bytes = null;
                       JasperDesign jasperDesign;
                                try {
                                        jasperDesign = JRXmlLoader.load(ios);
                                        jasperReport = JasperCompileManager.compileReport(jasperDesign);                
                                        JRPdfExporter exporter = new JRPdfExporter();
                                        JasperPrint jasperPrint;
                                        jasperPrint =
                                                JasperFillManager.fillReport( jasperReport, parameters, connection );
                                    } catch (JRException e) {
                                            e.printStackTrace();
                                bytes =
                                JasperRunManager.runReportToPdf(jasperReport,parameters, connection);
                       response.addHeader("Content-disposition", 
                       "attachment;filename=sale.pdf"); 
                       response.setContentType("application/pdf");
                       response.setContentLength(bytes.length);
                       servletOutputStream.write(bytes, 0, bytes.length);
                       servletOutputStream.flush();
                       servletOutputStream.close();
                       context.responseComplete();
                            } catch (IOException e) {
                        e.printStackTrace();
                    } catch (JRException e) {
                         e.printStackTrace();
                    }

  • How do you open link to a file contained in a PDF portfolio in a new window?

    I am making a large PDF portfolio with one main document that links to other documents contained inside the portfolio. The problem is when I select a link, it will take me to the document I would like it to but I cannot move back to the main document as easily as I would like to. Is there a fast "back" option, or can I set the link to open in a new window? I know I can move to the list view, hit the back button, re-open the main document, and find the same page again but that is not a very quick method.
    I know how to set the link to open in a new window if I am opening a new file, but that option is not available if I would like to jump to a specific page contained within the document. I tried to "open a file" and select the portfolio but it won't allow me to set the page so that didn't work either. Any help or suggestions would be appreciated.
    Thank you!

    Hi fmalek17,
    Firstly, there is no such 'back' option in a portfolio. You might need to set a link in a similar way in the other document also for going back to the main document in a portfolio.
    Secondly, you need to select 'Go to a page view' option in the Create Link window to jump to a specific page. Unfortunately, there is no such option available in Acrobat via which you can go to some specific page of the same document which gets opened in another window.
    Regards,
    Anubha

  • Target for a .pdf  with the link target _blank does not open in a new window.

    I have a simple html document with links to .pdf documents all set to _blank but only one opens in a new window.  The others open as _self.  Changing the target doesn't seem to make a difference.
    Any idea as to why that is happening?

    The Template .dwt file is only used locally by DW itself, there's no reason to upload it to the server unless you intend to share it with someone. You have to upload each individual page that the Template updates, every time you update the template and propagate that change across the child pages.
    It would probably be better to use a server side include. That way, you could update one file then upload it and all of your pages would automatically carry that update...
    SSI for Apache: http://www.javascriptkit.com/howto/ssi.shtml
    PHP's version: http://www.tizag.com/phpT/include.php
    It's especially handy if your site gets to the point where you have more than about 20 pages.

  • Links to files doesn't open in a new window

    I've noticed that links (that refers to a specific file) created in Adobe Indesign doesn't open in a new window like the links that refers to a website when I autoconverts it in Acrobat Pro X.
    Example:
    LINK1: http://www.acrobat.com/testfile.pdf <--- does not open in a new window when clicked
    LINK2: http://www.acrobat.com/testfolder <--- opens in a new window when clicked
    Are there any way to fix this?
    Will the same problem occur if I create the links in Acrobat instead?
    I'm asking this because I don't want the form to disappear when the links are clicked.
    Best,
    Mikey

    Firefox should divert the new window to a new tab when you check this box in Google's Search Settings:
    "Open search results in a new browser window"
    I can't think of any reason for Firefox to divert a new window back into ''the same tab''.
    In case one of your add-ons is the culprit, could you try Firefox's Safe Mode?
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox using Help>Restart with Add-ons Disabled. Don't check any of the boxes in the [https://support.mozilla.com/kb/Safe+Mode Safe Mode] dialog, just Continue in Safe Mode.
    Does it make any difference?

  • PDF to b opened in a new window or in a download frame

    when using hyperlink in iweb pdf file is opening in the same window. how can i make so the file is opening either in a new window or in a "save as" frame?

    If you upload the pdf file to the server manually and then link to it via the Inspector/Hyperlink pane with the Link to option An External Page (with the checkbox to open in a new window selected) you can have the pdf file open in a new window where it can be viewed or downloaded.
    Click to view full size
    This demo page has an example of that: LinkTestPage . Look for the text box with the following text: This text box is linked to view/download a pdf file". Click on it to view. In the view window there is a download button (second from left).
    OT

  • .pdf file in new window and ...

    I've directed a link to go to a .pdf file.
    Everything is working, the links that is.
    But i have two minor problems:
    1 - is there a way to get a .pdf file to open in a new window?
    I don't see that option in the Inspector, like external pages, etc.
    has.
    2. when i open the .pdf file in the browser, at the very bottom of the page,
    in very small text, is listed the directory hiarchy of
    my computer,where I keep the .pdf file. Something like this:
    "Users/myname/folderrxxx/filexxx/file.pdf"
    All of this information about my computer and where i put the pdf file
    is showing at the bottom of each .pdf page when viewed in the browser.
    Is that normal? or is there a way to get rid of that?
    thanks!!

    You need to place the pdf file on the server/iDisk and link to it as an external page to have it open in a new window. The Inspector/Link window will provide the Open in new window option in that case.
    If you put the pdf file in your iDisk/Web/Sites folder the link to it would be:
    http://web.me.com/myname/file.pdf.
    I put most of those type of files in the iDisk/Pictures folder and the link to one there is:
    http://homepage.mac.com/myname/.Pictures/file.pdf. (note the period before Pictures)
    OT

  • Problem displaying PDF file in new window.

    Using NetBeans 6.5, Internet Explorer 7.
    I am using the code example from BalusC at the site:
    http://balusc.blogspot.com/2006/05/pdf-handling.html
    I am having no problem reading and displaying the PDF file, but it displays it in the same window,
    not a new window and it overwrites the current page, so I can't use the back arrow to fetch the page that is overwritten.
    I am using a commandLink to fetch the file.
    Does anyone know why I am not getting a new window or tab for the display?
    The jsp portion for the link is:
    <h:commandLink action="#{MainPage.linkAction3_action}" id="linkAction3"
              style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bold; left: 280px; top: 0px; position: absolute"
              target="_blank" value="Insurance Document"/>The "MainPage.linkAction_action" method just makes a call to the display function:
        public String linkAction3_action() {
            sb1.setMessage("");
            dsb.setFilePath("C:/");
            dsb.setFileName("Insurance_Summary.pdf");
            dsb.downloadPDF();
            return null;
        }And the downloadPDF() method is basically a cut and paste from the BalusC site;
        public void downloadPDF()
            // Reference:   http://balusc.blogspot.com/2006/05/pdf-handling.html
            // Prepare.
            FacesContext facesContext = FacesContext.getCurrentInstance();
            ExternalContext externalContext = facesContext.getExternalContext();
            HttpServletResponse response = (HttpServletResponse) externalContext.getResponse();
            File file = new File(getFilePath(), getFileName());
            BufferedInputStream input = null;
            BufferedOutputStream output = null;
            try {
                // Open file.
                input = new BufferedInputStream(new FileInputStream(file), DEFAULT_BUFFER_SIZE);
                // Init servlet response.
                response.reset();
                response.setContentType("application/pdf");
                response.setContentLength( (int)file.length());
                response.setHeader("Content-disposition", "inline; filename=\"" + fileName + "\"");
                output = new BufferedOutputStream(response.getOutputStream(), DEFAULT_BUFFER_SIZE);
                // Write file contents to response.
                byte[] buffer = new byte[DEFAULT_BUFFER_SIZE];
                int length;
                while ((length = input.read(buffer)) > 0) {
                    output.write(buffer, 0, length);
                // Finalize task.
                output.flush();
            catch( Exception e )
                System.out.println( "Error displaying file.");
            finally {
                // Gently close streams.
                close(output);
                close(input);
            // Inform JSF that it doesn't need to handle response.
            // This is very important, otherwise you will get the following exception in the logs:
            // java.lang.IllegalStateException: Cannot forward after response has been committed.
            facesContext.responseComplete();
        }

    1) window.open will open a new window and call a servlet.
    window.open ("http://path_to_yourservlet/PDFServlet", "newWindowName");
    if you ant to pass some values from your web page to the servlet you can pass as
    window.open ("http://path_to_yourservlet/PDFServlet?param1=value1&param2=value2", "newWindowName");
    2) The servlet will fetch and display the pdf file.
    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class PDFServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet
         private final static int DEFAULT_BUFFER_SIZE = 1000;
         public PDFServlet()
              super();
         public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
              String fileName = "Insurance_Summary.pdf";
              File file = new File("C:/"+fileName+"");
              response.setContentType("application/pdf");
         OutputStream output = response.getOutputStream();
         BufferedInputStream input = null;
         //BufferedOutputStream output = null;
         try {
         // Open file.
         input = new BufferedInputStream(new FileInputStream(file), DEFAULT_BUFFER_SIZE);
         response.setContentLength( (int)file.length());
         response.setHeader("Content-disposition", "inline; filename=\"" + fileName + "\"");
         output = new BufferedOutputStream(response.getOutputStream(), DEFAULT_BUFFER_SIZE);
         // Write file contents to response.
         byte[] buffer = new byte[DEFAULT_BUFFER_SIZE];
         int length;
         while ((length = input.read(buffer)) > 0) {
         output.write(buffer, 0, length);
         output.flush();
         catch( Exception e )
         System.out.println( "Error displaying file.");
         finally {
         input.close();
    Regards,
    Milind Dhar

Maybe you are looking for