PDF links (7.11.2.2) and behavior on the web

Hello all,
I'm trying to generate a PDF file (from scratch, using a C++ library - but that's not relevant to my question) that uses links to specify the location of linked files relative to the root of a drive - NOT relative to the PDF file itself (i.e.  I don't want to use ../../).
As best I can tell from the PDF specification (PDF32000_2008.pdf, section 7.11.2.2 and 7.11.2.3) - creating such links should be as simple as using a double forward slash to specify 'no drive'.
e.g.   To link to the file in c:\images\test.jpg from a PDF file you know is also on the c: drive - the links written form is: //images/test.jpg (as per table 43)
This works fine when I access it from my desktop - when both the PDF and JPG are on my c: drive - however if I copy the PDF to my test web server, and put the test.jpg file in a folder called images on the root of my web server - the link fails when executed in the PDF opened on the server (in the Reader loaded inside the browser).
I can see what's happening - and want to know if there is something I can do (or should be doing) to fix it.
What happens is that the 'no drive' path is actually removing too much from the path.
Instead of trying to open http://127.0.0.1/images/test.jpg, the actual link that appears in the browser address bar is http://images/test.jpg.
Any help would be much appreciated,
Thanks
Adam
(I've attached a example.pdf file that contains a link to \images\test.jpg - which works on the desktop, but not in the browser)

Hi Leonard,
First off, thanks a lot for escalating this to the engineering team.  I didn't expect that from a free open forum.  - I'm impressed.
Of course, the engineer is right - I didn't mention it because I was secretly hoping that there would be a solution that worked for both - given the portable nature of a PDF.  (I'm still befuddled as to why a root relative file path is processed the way that it is in the context of a web browser - I expected it to be relative to the root of the site)
I guess, assuming it's possible to detect whether the PDF was opened in a standalone reader vs a browser using Acrobat JavaScript - I could generate link hotspots for both scenarios at publish time - defaulting one set to hidden (or back) - and then switch them when the PDF is loaded using script again. I'm not sure whether any of that will trip a security warning in the default configuration - but don't think so as we already use JavaScript to do multi-link menus.
If nothing else, at least I know it isn't going to work the way it is (so won't keep trying to jiggle things) - and have some ideas on workarounds.
Thanks for all your help,
Adam

Similar Messages

  • Form fields in LiveCycle. I want to allow users to add URLs to a form so that they can be clicked and opened on the web by form reviewers (users). what is the best way to achieve this?

    Form fields in LiveCycle. I want to allow users to add URLs to a form so that they can be clicked and opened on the web by form reviewers (users). what is the best way to achieve this?

    Once the user has entered the URL they want to add to the form. You can use the loadXML function to implement some special text in a label...
    var linkValue = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><exData contentType=\"text/html\" xmlns=\"http://www.xfa.org/schema/xfa-template/2.8/\"><body xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:xfa=\"http://www.xfa.org/schema/xfa-data/1.0/\" xfa:APIVersion=\"Acroform:2.7.0.0\" xfa:spec=\"2.1\"><p style=\"font-weight:bold;text-decoration:none;letter-spacing:0in\">The new link the user have entered is:<a href=\"" + textfield.rawValue + "\">textfield.rawValue</a></p></body></exData>";
      this.resolveNode("lblURL").value.exData.loadXML(linkValue, 1, 1);

  • Users able to build reports and dashboards via the Web browser

    Hi All,
    My requiremts is "Users able to build reports and dashboards via the Web browser and perform ad-hoc queries and analysis online via the internet" .
    Requesting to kindly let us me know  the procedure to get resolve the above requirement.
    Thanks,
    KVR

    Hi,
    Go through the links below
    Designing Microsoft Excel 2007 Chart
    http://charts.jorgecamoes.com/how-to-create-an-excel-dashboard/
    http://dashboardspy.com/dashboards/23/designing-microsoft-excel-2007-charts
    SAP BUSINESSOBJECTS DASHBOARD BUILDER
    http://www.sap.com/solutions/sapbusinessobjects/large/business-intelligence/dashboard-visualization/dashboard-builder/index.epx
    http://www.sap.com/solutions/sapbusinessobjects/sme/reporting-dashboarding/index.epx
    It may help you
    Regards,
    Marasa.

  • I've a Pc with Win7. Is it possible to view the movies I've there (and listening to the music also there) in my TV using Apple TV? And navigate in the web? Can I choose my browser?

    I've a Pc with Win7. Is it possible to view the movies I've there (and listening to the music also there) in my TV using Apple TV? And navigate in the web? Can I choose my browser?
    I'm just starting in this area so please explain in detail.
    Thanks.

    Welcome to the Apple Community.
    You can't browse the web on an Apple TV
    You can view any content that is in your iTunes library on the PC via the Apple TV if it is in the correct format.

  • How to deploy existing forms and reports on the web

    Hi Guys,
    I have 6i forms and reports within our environment, and we are running client/server architecture, by installing forms and reports runtime on each client PC's. We would like to get rid of this by deploying forms and reports on the web, without zero coding. Can any one suggest and guide me through the process with proper security mechanism enabled along with.
    Thanks in advance,
    Aji

    Thanks for the update,
    We have a develpment 10g AS environment setup made,
    1) But we are really confused how to present the forms and reports.
    We have around 250 forms and reports running on client/server architecture. All these forms/reports have been copied to a fileshare and access control is restricted by folder security.
    2) How to deploy forms - entries within formsweb.cfg with Named Configuration sections.
    3) How to deploy reports, as to were to copy the .rep files.
    getting the following error
    REP-110: Unable to open file 'Car_Readings.rep'.
    while trying
    http://kddsvr6.kddc.com:7778/reports/rwservlet?report=Car_Readings.rep&userid=username/passwd@db&desformat=htmlcss
    Thanks in advance,
    AJi

  • Why is my Mac storing graphics and photos from the web in iPhoto?

    How can I prevent my Mac from downloading graphics and photos from the web?   How do I remove the thousands of images that the Mac moved into iPhoto when I browse the web? 

    This has been reported a few time with no definitive cause. It probably is caused by dragging things to iPhoto. Best solution is to load the back up from just before it occurred. Otherwise you neen to use iPhoto to delete them emptying the iPhoto trash every 100 or so
    LN

  • I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    Well the error message is in Swedish but says: The installation program database is damaged. Please contact the Adobe support (which is a hard thing to do!!). I use Windows 7 Home Premium with service pack 1.
    Från: Mylenium 
    Skickat: den 29 december 2014 16:48
    Till: Tony Bohman
    Ämne:  I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    created by Mylenium <https://forums.adobe.com/people/Mylenium>  in Downloading, Installing, Setting Up - View the full discussion <https://forums.adobe.com/message/7050595#7050595>

  • My Wikis and Ical on the WEB  give a Server starting up.. message

    Wikis (and Ical on the WEB) give a Server starting up... message with the turning wheel. They were working perfect, and yesterday started the problem. I have not changed any of the server settings neither permissions. From Mozilla Firefox on windows throes an Mac OS X server message
    500: An internal error occurred trying to process your request. Sorry. Safari gives a Server starting up..
    I checked permissions and look ok, root and admin group have read & write access. to
    /Volumes/DATA HD/ServiceData/Web/Documents/Collaboration folder and up in the path.
    Does anybody know how to solve this?
    I tried updating to OS X 10.6.5 but the problem continues.

    I am having a similar issue as you marktech, with colaboration folder on a different drive.
    My temporary solution is to stop and start web services on the server, and the message goes away and users can log in.  Problem comes back on a server restart.
    Swamped here so have not been able to apply troubleshooting techniques.
    What I have checked is verifying permissions on collaboration folder.  Seems like I had to re-apply permissions after any significant update.
    My final resolution will be to migrate from the ssd hard drive (the extra speed is not any significant impact for us) to a 1TB hard drive and migrate data back over to a single drive in original directory locations.  appologies have not had ample time to research the issues....

  • AWP and "Mark Of The Web"

    I'm trying to add the "mark of the web" to the pages that run
    the web player and it causes the web player not to run for me. All
    I get is an outline box where the player should be. If I take that
    code out, it works as normal. Any ideas?

    > I'm trying to add the "mark of the web" to the pages
    that run the web
    > player
    > and it causes the web player not to run for me. All I
    get is an outline
    > box
    > where the player should be. If I take that code out, it
    works as normal.
    > Any
    > ideas?
    >
    I never found that useful for Authorware content.
    What problem are you trying to fix by using this?
    Steve
    EuroTAAC eLearning 2007
    http://www.eurotaac.com
    Adobe Community Expert: Authorware, Flash Mobile and Devices
    My blog -
    http://stevehoward.blogspot.com/
    Authorware tips -
    http://www.tomorrows-key.com

  • 5002 error. I cant change payment details. I can't purchase anything. always says 5002 or temp error. Help! Itunes is as good as useless. I've deleted caches reinstalled itunes and followed all the web tips. Nothing works!!!

    I cant change payment details. I can't purchase anything. always says 5002 or temp error. Help! Itunes is as good as useless. I've deleted caches reinstalled itunes and followed all the web tips. Nothing works!!! Pls help.

    Bump......
    Nobody has any ideas?? Apple people??

  • Firefox goes off line and cannot search the web

    I use Firefox to run facebook and play Kingdoms of Camelot. i have a number of user scripts downloaded which enable KOC to run when I am at work or sleeping. However most morning when i get up i get the message that Firefox has gone off line and cannot browse the web. I have checked my internet settings and i do not have have power save settings set etc. Also I have left Google chrome running all night as well and I have no problems. It only occurs with Firefox. Any help would be appreciated.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Internal pdf links not working in chrome and firefox

    I have some PDF files that I am adding links to additional PDF files that are located in the same folder on our webserver using Acrobat Pro XI. The links work fine in IE and the other PDF files open up and display well in the IE browser, but the links don't even show up in Chrome and will not open in Firefox. Further, the links in Safari, deliver an error message pop up saying the file could not be opened. If you click OK, the file does open. Also, in Acrobat > Tools > Add or Edit Link, I can change the properties to "Open File" and pick the "Open in New Window" option, but when I save the changes and come back, the option has automatically changed back to "Execute a Menu Item" and of course, the file I'm linking to does not open in a new Window.  These files were originally created in Word by another person and the person who converted them to PDF added fillable form fields throughout the document prior to converting to PDF. The links I am adding are being added using Acrobat Pro XI in the PDF file. Should we insert the above-mentioned links in the Word docs prior to converting to PDF to ensure the links work in all browsers, or are these browser issues common to all internal PDF links?
    Please help!
    Thanks,

    Make sure that you are using the Adobe PDF NPAPI viewer for Chrome and Firefox.  Both Google Chrome and Mozilla Firefox now have their own default PDF viewers.
    To change Chrome's settings use this blog:  Change PDF Viewer back to Adobe’s in Google Chrome « Caveat Lector
    To change Firefox's settings use this:  How to disable the built-in PDF viewer and use another viewer | Firefox Help

  • When I click on a link in an email I always get a message 'General failure URL :.... unable to find file' and seconds later the web address opens. Is there anyway to stop this?

    I get a message saying 'General Failure. The URL was: ".........". The system cannot find the file specified' whenever I click on a link in an email and then seconds later the web site opens. If I open firefox and then click a bookmark or search I don't have a problem

    See this lnk for a fix, it worked for me!
    http://www.pcworld.com/article/200103/fix_outlook_general_failure_error_for_email_links.html

  • List oppenned pdf documents in reader, close one and reopen on the same page

    Hi,
    I am working in TeX and that program creates pdf documents for me. What I need when I creating new one and having old one oppened is to close old one, create new one from tex source code and reopen new one. I wish to get some api best .NET method to list all openned PDF documents, to close selected document and remember page it was oppened on. Then I will create a new pdf file (I know how). And then I want to open file on the page the previous file was closed on.
    If I dont close the file, I can not create new one. I can close all instances of acroread32 but I want only to close my document and be able to know page which was openned on. I tried SDK but dont know what functions I can look on. I also need free solution, not paid one (not some functions in .NET classes shipped with Acrobat instalation).
    Thanks for your reply.

    It looks like this:
    I want to click on the check box and get the corresponding value for f02_000X (or could I refer to the class name if I gave it a class)
    There are several tables with the same format as below so it needs to work out the table id in the reference.
    <table id="report_R1641794306363434600" cellspacing="0" cellpadding="0" border="0" summary="">
    <tbody>
    <tr>
    <td></td>
    </tr>
    <tr>
    <th id="BOX"></th>
    <th id="Name"> </th>
    </tr>
    <tr>
    <td colspan="11">
    <table width="100%" cellspacing="0" cellpadding="1" summary="" style="border-bottom:1px #959562 dotted;">
    <tbody>
    <tr>
    <td valign="top" nowrap="nowrap" style="padding:1px;"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td headers="BOX">
    <label class="hideMeButHearMe" for="f01_0001"> </label>
    <input id="f01_0001_01" class="boxhop" type="checkbox" onclick="if (this.checked) {apex.jQuery('#f01_0001').val('Y');} else {apex.jQuery('#f01_0001').val('');}" value="Y" name="f01_NOSUBMIT">
    <input id="f01_0001" class="boxhop" type="hidden" value="" name="f01">
    </td>
    <td headers="Name">
    Administrator
    <input id="f02_0001" type="hidden" value="2072" name="f02">
    </td>
    </tr>
    <tr>
    <td colspan="11">
    <table width="100%" cellspacing="0" cellpadding="1" summary="" style="border-bottom:1px #959562 dotted;">
    </td>
    </tr>
    <tr>
    <td headers="BOX">
    <td headers="Name">
    Angela Murray
    <input id="f02_0002" type="hidden" value="2082" name="f02">
    </td>
    </tr>
    <tr>
    </tbody>
    </table>

  • I converted and downloaded a pdf to dock however Pages quits and cannot open the docx. Help?

    How do I open a docx document I converted from pdf using cloud adobe in Pages?

    Ask in the forum for the software you used for the conversion
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

Maybe you are looking for