Force PDF to open in browser to preserve relative links?

We have thousands of PDF files that are set up to include relative links within the document to other PDF files. The issue we're having is that when people have set up their browser to open the PDF as a separate application, the relative links revert to their C drive/temporary internet files and break (the link looks something like this: file:///C|/Users/callen2/AppData/Local/Microsoft/Windows/Temporary%20Internet%20Files/Cont ent.IE5/purchased_systems.pdf). Is there any way to force the PDF to open within the browser so that the relative links continue to work?
If not, is there a way to do a blanket conversion of the links from a relative link to an absolute link so we don't have to go into each document and link separately?

Hi
You need to set Browser File Handling  to
Permissive.
Open Central Administration -> Manage Web Applications -> Select web application -> General Settings >>
Browser File Handling >> set to Permissive .
Regards, Rajendra Singh If a post answers your question, please click Mark As Answer on that ost and Vote as Helpful http://sharepointundefind.wordpress.com/

Similar Messages

  • I've installed the Adobe Reader Plug In. Yet every time I click to see a PDF, it opens another browser and it is blank. The Browser reads about:blank. How can I fix this so that PDF's open in the browser?

    I've installed the Adobe Reader Plug In. Yet every time I click to see a PDF, it opens another browser and it is blank. The Browser reads about:blank. How can I fix this so that PDF's open in the browser?

    Check your settings in Options > Applications: https://support.mozilla.com/en-US/kb/Opening%20PDF%20files%20within%20Firefox#w_check-firefox-settings
    Also see:
    *https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox
    *http://kb.mozillazine.org/File_types_and_download_actions
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]

  • Blank error message with ? appears and PDF does not open in Browser (IE11) when clicking link to open pdf. PC - IE11 Acrobat 9.0

    Blank error message with ? appears and PDF does not open in Browser (IE11) when clicking link to open pdf. PC - IE11 Acrobat 9.0
    Cannot access in browser PDF files unless blank box is closed and then website address is clicked on again in browser address bar and page reloaded.
    Uninstalled Acrobat 9, reinstalled, still same problem.
    Help please!

    Yes I can it only happens in the browser..
    I reinstalled Windows on my machine and started over a couple of weeks ago.
    When my desktop started up I didn’t have Acrobat installed and clicked on a pdf file and the open with xxx dialogue box came open.
    I chose a different program as Acrobat wasn’t installed yet so it associated pdf files with another program.
    Later Installed Acrobat and couldn’t associate the pdf file with acrobat so I went into Folder Options and manually associated PDF files with Acrobat.
    Ever since then I get the error when something is downloaded and opened in the browser.
    Works fine everywhere else and when I cancel the blank error, highlight the web address and press enter to reload it works 90% of the time.
    Not sure what to do..

  • Disabling JavaScript when pdf is opened in browser

    Is it possible to disable AcroJS when the pdfs are opened in browser?
    The setting  "Enable JavaScript" in Preferences/JavaScript seems to disable JS only for pdfs opened natively.
    Thanks,
    Radu

    OK... I'm still puzzled. There seems to be something else that controls whether Acrobat JavaScript runs or not.
    If I'm loading a pdf stream though a http GET, JavaScript in Acrobat is run even when the setting in Edit->Preferences is disabled.
    <body>
        <iframe height=600 width=400 src = "http://<some servlet that returns a pdf stream>" />
    </body>
    If I'm loading the pdf from a file...
    <body>
        <iframe height=600 width=400 src = "<pdf file path>" />
    </body>
    ... the expected warning (that Adobe javascript is disabled) pops up
    The http response in the first case is something like...
    HTTP/1.1 200 OK
    Pragma: public
    Content-Type: application/pdf
    Content-Encoding: no-compress
    Content-Language: en-US
    Expires: 0
    Accept-Ranges: bytes
    Server: Microsoft-IIS/7.5
    X-UA-Compatible: IE=EmulateIE7
    Content-Disposition: inline;filename=<some UNC file path>
    Server: WebSphere Application Server/7.0
    X-Powered-By: ASP.NET
    Date: Tue, 17 Jun 2014 19:19:09 GMT
    Connection: close
    %PDF-1.6
    %����
    2 0 obj
    <</Metadata 36 0 R/Pages 3 0 R/OCProperties<</D<</RBGroups[]/ON[27 0 R]/Order 26 0 R>>/OCGs[27 0 R]>>/OpenAction 29 0 R/Type/Catalog/AA 31 0 R>>
    endobj
    Do you have any idea why this is happening?
    Thanks,
    Radu

  • Forcing pdf to open in current browser window

    I have a pdf (that is to be viewed through a browser) with
    links that open other pdfs. Currently, when I click on the links in
    this pdf, they open the linked pdfs in a separate browser window.
    Is there a way to force it to open in the same window and just have
    users hit the back button to go back to the previous pdf?
    Thanks!

    The latest version is 11.0.6. Whether that's available to you depends on the version of Mac OS you're running.
    * http://get.adobe.com/reader/enterprise/
    See the following articles.
    * [[PDF files are blank or cause an error message on Mac]]
    * [[Use the Adobe Reader plugin to view or download PDF files]]

  • Chrome on Mac, Reader X, PDFs not opening in browser

    I've found lots of comments on problems with Adobe's Reader in various browsers in Windows.  However, I am thinking of transitioning to Chrome on my Mac, but I can't get Chrome to display PDFs in the browser using Adobe's plugin.  In fact, the plugin does not appear at all in the about:plugin list in Chrome.  I'm searching Chrome forums as well, but thought I'd ask here if anyone had heard of such a thing, and if they had workarounds.
    Thanks,
    Mark

    Currently Chrome is not supported in Adobe PDF Plug-In for browsers in Mac. You can view pdfs in Browser window for Safari Browser only in Mac. If you open pdf file in Chrome browser, it will download the file for you to open this through Adobe Reader.
    Thanks,
    Karan

  • Force PDF to open in a new window from URL

    Is there a way to save a PDF so that it forces IE to open a
    new window when linking to it from a web site? I have no control
    over the HTML code on the site but I need the PDF to not hijack the
    window containing the link.

    Hello justaquestion1112,
    Thank you for your post.
    You should know that these forums are specific to the
    Acrobat.com website and its set of hosted services, and do
    not cover the Acrobat family of desktop products.
    Please visit the following Acrobat forums for any questions
    related to the Acrobat family of desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/
    Cheers,
    Pete

  • Pdf not opening in browser

    Just starting yesterday I am unable to open a PDF file with my browser (Chrome) .
    It wants me to download the file.  Until yesterday I was able to open any file and just view it with the browser with out downloading it as a file.
    What do I need to do to be able to go back to viewing a PDF file with out downloading it?

    Hi toddp96226656,
    It seems that the PDF Viewer plugin has been disabled on Google Chrome.
    Please type " chrome://plugins/  " in the URL of your Google Chrome Browser. You will see a list of plugins there on the page.
    Enable the Chrome PDF Viewer plugin.
    Restart Google Chrome again & it will be working.
    Let me know if you still experience any issue. We  will be happy to help you.
    Regards,
    Aadesh

  • Display PDF on opening new browser

    Hi Experts,
    Requriement: We need to open a new browser for dispalying PDF format converted from custome smartform. Currently I am able to view the PDF format on a new screen with the following code, but user want to see the same PDF format on new browser so that they can toggle between the screens for comparing data.
    Your answers would be really helpful. Please guide me how to achieve this through ABAP, we are using 4.7 version.
    Current code looks like this
    *--- convert OTF data
      IF sy-subrc EQ 0.
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format                = 'PDF'
          IMPORTING
            bin_filesize          = lv_pdf_size
          TABLES
            otf                   = wa_job_info-otfdata
            lines                 = lt_pdf
          EXCEPTIONS
            err_max_linewidth     = 1
            err_format            = 2
            err_conv_not_possible = 3
            OTHERS                = 4.
    *--- convert RAW type to Unicode format - hexadecimal format
        LOOP AT lt_pdf INTO wa_pdf.
          ASSIGN wa_pdf TO <fs_line> CASTING.
          APPEND <fs_line> TO lt_pdf_uc_data.
        ENDLOOP.
    *--- load data to prepare URL
        CALL METHOD gv_html_viewer->load_data
          EXPORTING
            url          = gc_x
            type         = 'application'
            subtype      = 'pdf'
            size         = lv_pdf_size
          IMPORTING
            assigned_url = lv_url
          CHANGING
            data_table   = lt_pdf_uc_data
          EXCEPTIONS
            OTHERS       = 1.
    *--- display smart form
        CALL METHOD gv_html_viewer->show_url
          EXPORTING
            url = lv_url.
    Regards,
    Suman

    What you can do is create a new program just to display the PDF and attached a transaction code to it. In your main program, call the FM ABAP4_CALL_TRANSACTION ... STARTING NEW TASK to call it in the new session.
    You may use the FM DY_IS_EXTRA_IMODE_AVAILABLE before starting a new session to check if any session available.
    CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
      STARTING NEW TASK 'ZZ01'    " << Task Name
      EXPORTING
        tcode                         = 'ZZ01'.  "  << New Tcode
    Regards,
    Naimesh Patel

  • "open a file" hyperlink syntax, relative link

    Hello all,
      I regularly put reports together that consist of 1 report and many "supporting documents", all in PDF format.  Each page of the report has anywhere from 1 to 8 links on it (report comes from SQL Reporting Services).  These links point to their supporting document(s).  The report and supporting documents are burned to a CD to send out to our clients.  The report is opened in Acrobat, and when a link is clicked the supporting document is opened in a new window.
      I have tried every way I can imagine to format a link so that when the report is output to PDF the link shows up as an "open a file" link rather than a hyperlink.
      My question:  Since I know I can make an absolute URL hyperlink work correctly...and relative file links work correctly when I manually link to the files, what is the correct syntax to achieve a relative file link?
      The directory structure burned to CD:
               >CD Drive
                   >Main Folder
                        >PDF Report
                        >Supporting Documents Folder
                             >Document #1
                             >Document #2
    I have tried this javascript inside a SSRS expression:   (Pardon the code, I'm java-stupid)
    "javascript:void(window.open('FILE:\Documents\'" & filename-parameter &"'.pdf'"
    Bottom line:  I'm looking for a way to automatically link one PDF to many PDFs based on the above folder structure, given a variable that comes from SSRS.
    Thanks

    Matt,
      Well, I did end up with a not-so-elegant-but-workable solution.  Here's what makes it tick:
    1.  You'll need to construct the link to the target .PDF file (probably through SSRS).  You said that you are going to burn these files to CD, right?  If so, you'll probably want to construct something like [filename + .PDF], without brackets.  If your SSRS "list of PDF files" already looks like that you're that much further ahead.
    2.  You'll need to use Adobe Livecycle Designer to create a report template.  I ran one of my SSRS reports, rendered it to PDF, and then created a new form template based off that PDF in LC Designer.  If you've never worked with LC Designer, it's not too hard.  Since the layout of my reports are variable in length, I took advantage of the "positioned" and "flowed" subforms.  MAKE SURE THE LC FORM FIELD NAMES MATCH THE SSRS FIELD NAMES.  This is a bit of a pain, but once you have it working you'll be thankful. 
    My links are handled with buttons in LC Designer.  First, make a textbox to contain the text of the link to the target PDF from step 1 (make this in a flowed subform). Then, make a button to go directly over the textbox, remove button's caption, set button to transparent.  THIS PART WILL TAKE SOME TWEAKING depending on how your form is setup.  Add the following to the CLICK event of your button: 
    app.openDoc({cPath:xfa.resolveNode("YourReportName.ReportPage#.YourSubFormName.NumberofSub form.YourLinkText").rawValue,oDoc: this});
    If you already understand how this works feel free to read past it.  The app.openDoc needs two things from you, cPath and oDoc.  cPath is the path to the target PDF.  The xfa.resolveNode("YourReportName.ReportPage#.YourSubFormName.NumberofSubform.YourLinkText" ).rawValue says the link path is the literal value of this textbox, located in this subform, on this page of this report. 
    oDoc is where the relative part comes into play.  If you construct the [filename + .PDF] links as in step 1, and you set oDoc:this, clicking on the link will instruct Acrobat to open the target PDF using the cPath relative to your list o' links report.
    3.  Go back to SSRS, render one of your reports as XML and save it.  This is the data that you'll import into your form template.
    4.  This is where I got tripped up.  For each and every file that you want to open up from a link you will have to set its Disclosed property to True.  I accomplished this through a batch action in Acrobat.  I'm not sure what version you have, but if you're using 10 it is under File>Action Wizard>Create New Action.  These are my settings:
                    Start with: A file open in Acrobat
                    Under "More Tools", select "Execute JavaScript", click on "Options" and paste in this: this.addScript("This Doc is Disclosed", "this.disclosed = true;");
                    Save to:  Same folder selected at start So, all you have to do when preparing your target documents is run that batch action.  Add all of your target PDFs to window that pops up and click run.  AFAIK, once you've disclosed a  PDF, you won't have to re-disclose it. 
    Once you have all that setup the process to create a CD becomes fairly easy. 
    1. Render XML from SSRS
    2. Disclose all target PDFs
    3. Import XML into the template PDF you created with LC. (actual import done via Acrobat, not LC) 4. Read the new comics on XKCD while staring intently at the screen to make the boss think you are still working diligently. 
    Depending on how you want the folder structure to look like on the CD, you might have to change the way you construct your links.  I have used several methods to suit different needs, but for proof of concept, I'd probably just stick to the way I described in step 1 (resulting CD won't have a folder structure, you'll just have your "master" PDF and all of your target PDFs on the CD.  Right now I just set the target PDFs to hidden via right-click>properties before I burn them to CD.  It's lazy, but it works.) I don't know if you use an ISO program like MagicISO, or one of the others, but it will help reduce the number of ruined CDs. 
    There are many places to get tripped up and I'm sure I haven't explained the process fully, so feel free to ask if you run into problems.  Also, not trying to advertise for anyone, but pdfscripting.com was a HUGE help.  Thom Parker runs it, I believe.  They sell a subscription to their website (which I would say is worth it), but they also have a ton of useful freebies. 
    Anyway, I hope this can help.
    Chris

  • Way to force .pdf to open in Reader and not in browser

    I saw where there was an Acrobat action called
    Convert PDF2FDF auto-save Action on the AcrobatUsers.com Action Exchange.
    which didn't work, it came in corrupted and unusable.  Does anyone know of an action or anything that will force a .pdf hosted online to open in the visitor's Reader program and NOT the browser they are in...?  No matter what browser.
    Any help you can give me with this is appreciated.   Looking for a consistent user experience here where they can fill in the information on the pdf form, save it and email it without too much hoopla.
    I am really surprised after all of the work I've put into this that this is not something that is more easily accomplished, but perhaps I am doing something wrong or don't have enough information.
    Thanks!
    Ruth

    Actions can be tricky, Are you aware that the method of encoding Actions or Batch Processes changed between versions 9 and 10 and again between 10 and XI?
    What version of Acrobat are you using?

  • Can't save file from .pdf file opened in browser?

    Before, on my old laptop, with Vista or XP, when I opened up a .pdf link from a browser site, I had the option of saving the .pdf file, printing it, etc.
    Now, I can print the file, but I can't save it.  It looks like Adobe wants me to purchase acrobat.com.
    Is there a way to save the files?  Thanks.

    ronamater60 wrote:
    Do not purchase...  Adobe creating problems everywhere.  Use the trial if
    you must, but let them get things sorted out,  THEY are the problem
    While that may be true for you, it is not a common problem for all users. I use both Reader and Acrobat (along with many other Adobe applications) without issue daily on multiple computers with multiple Operating systems so your statement is way to generalized to be helpful.
    Have you tried getting help in this forum before?

  • Acrobat Javascript button not loading when PDF is opened in browser

    We have a requirement to have a custom print button in Acrobat Reader 9.1.3. We've created this via a JavaScript file stored in the users application data Adobe javascript folder. The button appears when Acrobat is started up normally and works as expected. However when opening a pdf file via Internet Explorer 7  acrobat is loaded inside the browser but the button does not appear automatically. Instead we need to right click on the tool bar and select Add on tools for the button to appear. Once loaded it works as expected.
    Now I was wondering is there a way to make the button to appear automatically when acrobat is launched from within IE as my users are getting a bit annoyed now. I've been searching all over the place and can't find a solution to this.
    Am hoping someone here might have an idea as to what the problem might be. I've attached the code I'm using below.
    Thanks in advance
    app.addToolButton({
    cName: "myToolButton",
    cExec: "printGreen()",
    cEnable: true,
    cTooltext: "Print to Green",
    cLabel: "Print to Green"
    global.objDoc = this;
    printGreen = app.trustedFunction (
    function()
    app.beginPriv();
    var objPrintParams = this.getPrintParams();
    objPrintParams.printerName = "\\\\burns\\prn-cash-copier";
    objPrintParams.interactive = objPrintParams.constants.interactionLevel.automatic;
    this.print(objPrintParams);
    app.endPriv();

    OK... I'm still puzzled. There seems to be something else that controls whether Acrobat JavaScript runs or not.
    If I'm loading a pdf stream though a http GET, JavaScript in Acrobat is run even when the setting in Edit->Preferences is disabled.
    <body>
        <iframe height=600 width=400 src = "http://<some servlet that returns a pdf stream>" />
    </body>
    If I'm loading the pdf from a file...
    <body>
        <iframe height=600 width=400 src = "<pdf file path>" />
    </body>
    ... the expected warning (that Adobe javascript is disabled) pops up
    The http response in the first case is something like...
    HTTP/1.1 200 OK
    Pragma: public
    Content-Type: application/pdf
    Content-Encoding: no-compress
    Content-Language: en-US
    Expires: 0
    Accept-Ranges: bytes
    Server: Microsoft-IIS/7.5
    X-UA-Compatible: IE=EmulateIE7
    Content-Disposition: inline;filename=<some UNC file path>
    Server: WebSphere Application Server/7.0
    X-Powered-By: ASP.NET
    Date: Tue, 17 Jun 2014 19:19:09 GMT
    Connection: close
    %PDF-1.6
    %����
    2 0 obj
    <</Metadata 36 0 R/Pages 3 0 R/OCProperties<</D<</RBGroups[]/ON[27 0 R]/Order 26 0 R>>/OCGs[27 0 R]>>/OpenAction 29 0 R/Type/Catalog/AA 31 0 R>>
    endobj
    Do you have any idea why this is happening?
    Thanks,
    Radu

  • Force PDFs to open in Preview instead of Safari?

    When I click on a .pdf link in Safari, it opens up in the browser as part of Acrobat Professional. How can I instead have it automatically open in Preview (which is much faster, less bloated)?

    Hi
    First open Acrobat Professional. Open Preferences. Change the PDF viewer default.
    Next, go to the Finder: Internet Plug-ins folder in either the main or User Library. Remove the Adobe PDF plug-in. Restart Safari.
    PDF should now open in Safari. If you want to save or print it, right or control click to access the contextual menu. You can also port the PDF to Preview via the Contextual Menu.

  • PDF not opening in browser Reader 10.0.1

    When you click on a link to a pdf a new browser window opens but its gray were the PDF is suppose to be displayed.

    I'm having the exact same problem.  Hopefully at some point there will be an answer????  Also, Adobe reader is not loaded as an add-in in IE.  How does it get loaded?

Maybe you are looking for

  • Satellite A215-S7414 Hard Disk Failure

    Hi. I purchased my laptop 16 months ago and this is the third time I have had hard Disk Failure. The first two times were in the first year and I received a new harddrive after sending it in to Depot for repair. Here we are the Third time and now Im

  • Customer /Vendor line item..

    Hi.. One query..for line item display of GL account we select in GL master "line item display" but for customer and vendor line item display in FBL1N & FBL5N...from where we tick the line item dispaly . Please reply

  • JCo - retrieving images (Urgent)

    Hi, I have to retrieve an image from SAP and render it in the portal. I get the data via Jco as a table and from the table I retrieve a binary stream. When I write the stream to a file the image doesn't display. Funny thing is, if I take the same ima

  • Many applications CRASHING on start up after installing security updates

    I recently ran a software update and installed a bunch of updates, probably 2-3 for Mac OS X (security update) and an iTunes one and all the Final Cut Studio updates. After doing this I've been having a lot of problems with programs crashing on start

  • Error processing a large JPG EXIF

    Hello I encountered an error processing a large JPG EXIF I changed JPEG_Hander.cpp and works ok. How can I report the bug and solution? Regards. Víctor.