Creating Bookmarks with Relative Links

Can anyone suggest a plugin, or post examples of code to create a bookmark in Acrobat programmatically.  And have the bookmark work with RELATIVE links.  Meaning if you have a bookmark for page 15, and you insert 5 pages at the begining of the document, that bookmark would move to page 20.  When you create the bookmark with a javascript "go to page", script...  when you insert the pages, your bookmark would still point to page 15, the wrong page.
Any suggestions, hints, web sites to look at, all appreciated.  Thanks.

"Is that what you meant?"
Yes. You can download the VBA example or I can state it as VBScript.
"Sendkey" may be a problem but you can add some error-traping.
The same you can archieve with "Menuitemexecute", but you have only one problem more.
You have to check the registry (if it is free for use) and finaly you have to send the key {enter} to close the action.
As I said I work with mbtPdfasm for setting bookmarks in a batch. It's much more simple and I can give it to co-worker.
The other acobat based method without using JS or writing a plugin is to use pdfmark.
You have to produce a ps-file with the commands to set up the bookmarks, then you have to send it to the Distiller.
After writing that PDF with bookmarks and necessary blank pages you can replace that with the real pages.
That sounds not only cumbersome. It is - but it works.
So for me mbtPdfAsm is the solution for reading/writing simple bookmarks.
best regards, Reinhard

Similar Messages

  • Preview seems having problem with relative link with PDF documents

    Hello,
    I have a PDF file which I've added relative hyperlinks to it (to an html file). I did it with Adobe Acrobat 7.0 (for Windows). I have a link which is a custom action: Open a web link. The link is defined as "../presentation/referencesechelon8.html". I need relative link because the entire web site can be deployed on a DVD instead of on a Web server.
    On Windows with Firefox or IE everything is working flawlessly. On the Mac side, it's working with Safari since it's using Adobe Reader to read the PDF. However, with other browsers using Mac built-in PDF viewer, Preview 3, it is not working at all. In the pdf document Preview 3 is unable to reconstruct the original url from the relative link. Instead it points to http://../presentation/referencesechelon8.html which is not correct.
    Does anyone have an idea? I've googled a lot and did not find anything. My next try will be to use a Javascript to reconstruct the url.
    Thank you in advance!
    Macbook 13"   Mac OS X (10.4.9)   2 Go RAM

    Hello,
    I have a PDF file which I've added relative hyperlinks to it (to an html file). I did it with Adobe Acrobat 7.0 (for Windows). I have a link which is a custom action: Open a web link. The link is defined as "../presentation/referencesechelon8.html". I need relative link because the entire web site can be deployed on a DVD instead of on a Web server.
    On Windows with Firefox or IE everything is working flawlessly. On the Mac side, it's working with Safari since it's using Adobe Reader to read the PDF. However, with other browsers using Mac built-in PDF viewer, Preview 3, it is not working at all. In the pdf document Preview 3 is unable to reconstruct the original url from the relative link. Instead it points to http://../presentation/referencesechelon8.html which is not correct.
    Does anyone have an idea? I've googled a lot and did not find anything. My next try will be to use a Javascript to reconstruct the url.
    Thank you in advance!
    Macbook 13"   Mac OS X (10.4.9)   2 Go RAM

  • Tab region's with relative links?

    At the moment our tabs are being generated with absolute URL's and this is no good since the link uses our internal domain name that is inaccessable to the internet. Is there anyway to make them relative links?
    We have 2 domain names, portal keeps prefixing URL's with the internal one. This is very annoying since we want some users to access the site via the internal domain name and others to use the external one (via reverse proxy). We have been able to work around this for everything except tabs, the only solution I can think of is to use some wacky javascript that modifies the generated hrefs, but I really don't want to do that. Any suggestions would be greatly appreciated. We are using portal 9.0.4.1.

    Thanks for that, but it's of no use to us. For instance:
    http://externaldomain.com/pls/portal/url/page/PAGE_GROUP/OUR_PAGE?p_id=4
    Will be redirected by portal to this:
    http://internaldomain.com:7777/portal/page?_pageid=53,679823&_dad=portal&_schema=PORTAL&p_id=4
    So external users can not access the page like this.
    I've had to add some javascript to the UI template for portal pages that use tabs as a work around. If anyone can come up with a better solution, please let me know. Here is my work around in case you're interested...
    <script>
    function correctURLs(){
         var arrURL = window.document.URL.toString().split("/p");
         var thisDomain = arrURL[0];
         var falseDomain = "http://internaldomain.com:7777";
         if (thisDomain == "http://externaldomain.com") {     
              for (var i = 0; i < document.getElementsByTagName("A").length; i++ ) {
                   document.getElementsByTagName("A").item(i).href = document.getElementsByTagName("A").item(i).href.replace(falseDomain,thisDomain);
    </script>
    <body onload="correctURLs()">

  • Issue while creating location with database link

    Hi all,
    I am using OWB 10.2.0.4.0 (same Oracle DB version). I am trying to create a location using a database link.
    When I select the location which the database link is located (From location drop-down list), I face the following error.
    >
    ENV0036: The selected location is not valid.
    ENV0036: The selected location is not valid.
         at oracle.wh.service.sdk.integrator.RepositoryUtils.createDBLinkWithLocation(RepositoryUtils.java:156)
         at oracle.wh.ui.environment.wizards.DatabaseLinkComponent.init(DatabaseLinkComponent.java:61)
         at oracle.wh.ui.environment.wizards.DatabaseLinkComponent.reload(DatabaseLinkComponent.java:204)
         at oracle.wh.ui.environment.wizards.FromLocationComponent.itemStateChanged(FromLocationComponent.java:111)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1162)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1219)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1266)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
         at javax.swing.JComboBox.setSelectedItem(JComboBox.java:551)
         at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:597)
         at javax.swing.plaf.basic.BasicComboPopup$ListMouseHandler.mouseReleased(BasicComboPopup.java:749)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at javax.swing.plaf.basic.BasicComboPopup$2.processMouseEvent(BasicComboPopup.java:452)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
         at java.awt.Dialog$1.run(Dialog.java:542)
         at java.awt.Dialog$3.run(Dialog.java:569)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:567)
         at java.awt.Component.show(Component.java:1133)
         at java.awt.Component.setVisible(Component.java:1088)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
         at oracle.wh.ui.owbcommon.OWBWizard.initialize(OWBWizard.java:815)
         at oracle.wh.ui.owbcommon.OWBWizard.<init>(OWBWizard.java:168)
         at oracle.wh.ui.owbcommon.OWBWizard.<init>(OWBWizard.java:147)
         at oracle.wh.ui.owbcommon.IdeUtils._doLaunchDefinition(IdeUtils.java:1188)
         at oracle.wh.ui.owbcommon.IdeUtils.showWizard(IdeUtils.java:471)
         at oracle.wh.ui.owbcommon.IdeUtils.showWizard(IdeUtils.java:427)
         at oracle.wh.ui.jcommon.tree.WBRepositoryObjectTree.launchWizard(WBRepositoryObjectTree.java:502)
         at oracle.wh.ui.console.commands.CreateByWizardCmd.showUI(CreateByWizardCmd.java:33)
         at oracle.wh.ui.console.commands.CreateCmd.performAction(CreateCmd.java:76)
         at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    >
    Could you please let me know how to solve this and how to create such location with OMB*Plus?
    Thanks,
    Sebastian

    Hi David,
    Thanks a lot for the tip. Now I was able to use this and using a registered location.
    OMBCREATE LOCATION 'X' SET PROPERTIES (TYPE,VERSION,CONNECTION_TYPE, SCHEMA) VALUES ('ORACLE_DATABASE','11.1','DATABASE_LINK','MY_SCHEMA')
    OMBCREATE CONNECTOR 'REGISTERED_LOC/X SET PROPERTIES (DATABASE_LINK_NAME) VALUES ('MY_DBLINK') SET REF LOCATION 'X'
    OMBCOMMIT
    OMBCC '/MY_PROJECT'
    OMBCAC 'DEFAULT_CONFIGURATION'
    OMBCONNECT CONTROL_CENTER USE 'owb_user/owb_user'
    OMBREGISTER LOCATION 'X' REUSE
    OMBCOMMITBut now my question is the following.
    I am having problems to import the metadata from X.
    When create a module (source), I am able to make "data location" from location 'X' but when I want to import a table from location 'X' is not possible, because it shows as a plausible metadata location as "REGISTERED_LOC"
    Could you please let me know how to use 'X' as metadata location?
    Thanks!
    Sebastián

  • Create icon with embedded link

    I have an image/icon. I have a link. I want to send the link by email in the form of an icon that can be dragged to the desktop, and clicked to access the link.
    Every time I send the image/link combination and it is dragged to a desktop, it defaults to the '@ http' icon - with the name of the full url.
    I know both the icon image and the name can be changed once they are on the desktop - but there must be a way to send the icon/link, and have it retain the form in which it was created.
    I've tried to use the slice tool to embed the link in the image - but without success. Can anyone suggest a route to achieve my goal?
    Thanks

    You have some nice icons there, Vlasta. :)
    As to the free service, how does that work on the Mac? I assume you are aware this is a
    Macintosh forum?
    This service produces a tiny Windows exe file containing the specified icon and the address of a web page. When the application is run, it opens the web page in the default web browser.

  • Creating bookmarks with Illustrator

    I'm a new illustrator user and would like to create a simple bookmark. How would I get started?
    Thanks!

    Close Illustrator, then open Acrobat Pro.
    (Wait-- that is, if you are talking about PDF bookmarks! ... If not, try "File -> New". That'd be a great start.)

  • Issues with using relative links in Captivate 8

    Is anyone else having issues with using relative links in Captivate 8?  These links all used to work in the previous version of Captivate. And I could have sworn this was fixed already once in Captivate 8 but it's popping up again for us. Here is the situation... We have courses that are made up of multiple lessons which as separate Captivate files. Within those lessons are buttons to link to external documents (which live in a shared document folder), demonstrations, etc.  We use relative links because we post these to our amazon servers and we also sell them to clients where they can post them on their own web servers or in their LMS.  SO we can't put in full paths for the links or we'd have to change them constantly.  So an example is that the link for a button might be "../Document/nameofdoc.pdf"  This would be going to a user guide or something that is posted in the "Document" folder that lives at the same level as the lesson's folder. But now, all of the sudden, none of our bazillion links is working. And I've tried buttons, hyperlinks, and even the old click box. Nothing works with relative links. And I did check the permissions on every file and folder on our Amazon server to verify nothing changed there as well.   Any suggestions?

    I have the same issue with relative links using Captivate 8.  I am trying to load Captivate modules into an LMS using relative links to document files within the LMS.  The links work fine during a site page test so not an issue in the LMS, but from the Captivate module they aren't working....
    Help?

  • Print web page to PDF file with live links in PDF file like Apple Safari's pdf prints?

    With Firefox for Macintosh, can I print a web page to PDF in such a manner that when I option the PDF file and click on a link, it is a live link that opens in my system's default web browser?
    With Apple Safari, when I print a web page to a PDF file, the links on that page are "live" and work to open the web browser to their destination. The PDF files I get from Firefox are dead. Clicking on link does not open in browser.
    Is there a way to get FireFox to act more like Safari in this regard?
    Thanks

    Seems the referenced thread is about Lion. I am having this problem in Snow Leopard 10.6.5 with Firefox. Any way to get PDFs with working links in Snow Leopard using FIrefox? I do not really want to have to use Safari for this purpose.
    Going forward when and under what circumstances will future versions of Firefox be able to create PDFs with live links? Are there any circumstances where a current or past version of Firefox can do it under any current or past version of OS X?
    Thanks.

  • Bookmark with Variable screen and UserExit

    Hi
    We're using the bookmarks in portal of N2004s.
    If someone starts a bookmark it's possible to bring the user first to the variable screen. But I recognized that the userexit is not activated for some variables after changing them.
    concret:
    I called a report with time-selection week = 10.2007 - the report has keyfigures which are restricted by a userexit variable which is previous year (calculated by time selection - 1year) - so the report shows me the keyfigures with previous year 10.2006 and 10.2007 - I save this as a bookmark.
    calling the bookmark with this link: &bookmark=46LQ49TMUQ8BRH3O91VEH0XMK&variable_screen=X
    the bookmark shows me first the variable screen. The user can change then the time-selection. But when i change now the time-selection in the variable screen from 10.2007 to 20.2007 I get in the report stll 10.2006 and 20.2007.
    So it seems to me the bookmark doesn't run through the user exit to fill the variable "previous year".
    How can this be activated?
    Thank you for your reply.
    Roger

    Hi
    I debugged now the user exit and it seems as following:
    - calling a bookmark with selection_screen=x but without the parameter clear_variables=x does run through the user exits step 1 to 3 before showing the variable screen. After changing a variable the user exit is only enabled for step 3 and not anymore for step 2 - that's why the previous year is not updated.
    - calling the bookmark with selection_screen=x and clear_variables=x runs user exit with step 1 before selection screen and then after entering variables step 2 and 3 - and the previous year is filled correctly. But this is not useable, because the user want's to have selection variables prefilled.
    Has someone an idea how to bring the bookmark without clear_variables=x to the point to run the step 2 in user exit after changing variables in selection screen?
    Thx
    Roger

  • Excel 2010 changes relative link paths to absolute in files synced with Offline Files in Windows 7

    Hello! I'm wondering if anyone else has seen this problem: I have a large number of Excel 2010 and 2003 files in a folder on my file server. This whole folder is also synced to my computer using Offline Files in Windows 7. I have a lot of references between
    cells in different Excel files, and all referenced workbooks are physically in the same folder. This all works nicely when I create these files at work - all file paths referenced in the cells are created as relative paths and the documents open correctly.
    This is, I understand, the expected and default behavior when Excel creates links. When I edit these files at home, nothing seems odd until I get back to work and sync these files back to the file server. At this point, I discovered that Excel 2010 has, when
    I saved the files while away from the corporate network, changed /all/ the cell references in any offline-edited Excel files to point at absolute paths, and that these absolute paths point to somewhere in my %APPDATA% structure. So whenever I come to work
    and I try to open an Excel file that I have recently worked with offline, I get a bunch of error messages about referenced files that are missing, although clearly they exist in the same folder as the file I've opened, and I must edit all the file references
    again, whereupon they are again created correctly as relative paths (since all files exist in the same folder), which are promptly mangled into absolute C:\....\Offline Files\.....\..... paths whenever I save them at home (and since that works too, I don't
    notice it again until I come back to work and the offline files are synced back to the real network location). This seems to be a case of Windows 7's Offline Files not being able to fool Excel 2010 into believing it is working on a file server - apparently
    Excel 2010 can see through the fakery and decides on it's own to "fix" the problem (which obviously isn't a problem since the paths are relative to begin with) by saving the paths as absolute paths instead. Yes, really clever, Excel. The exepected behavior
    according to MSKB is that links are created as relative paths, so why does it change to absolute whenever Offline Files are involved? I know Offline Files only syncs, it doesn't actually change the files, so I can conclude that Excel is the program at fault
    here. Is there a fix for this, or a known workaround? Because frankly, this bug makes it impossible for me to work in any advanced manner with linked Excel files. The sad thing is that this worked perfectly fine with Office 2003 and Windows XP. Is there a
    patch for this problem that I might have missed (I am running the latest Service Pack and I get Office updates from Microsoft Update). If not, is there a workaround I can use to prevent Excel from corrupting my links when I edit the files offline?

    Hello danceswithwindows,
    Thank you for your post.
    This is a quick note to let you know that we are performing research on this issue.
    Sincerely
    Rex Zhang
    Rex Zhang
    TechNet Community Support

  • Links to PDF files with relative paths from a Captivate 4 project

    I'm creating a presentation in Captivate 4 (I'm making an exe file) with some links to PDF files; the links are buttons with the 'open URL or file' set. The presentation will be distributed in CDs and obviously the links will not work for they point to an absolute path in my PC. Is there another way to display external files? thanks

    "file:\file folder\filename" is not a relative path.  It's still an absolute path because you're specifying the path all the way from the root drive, whether you used a drive letter or not.
    A relative path shows where to find the other file in relation to the file that is calling it.
    Relative paths look like this:
    myDoc.doc (if the file is in the same directory as the file calling it)
    folderName/myDoc.doc (if the file is inside a folder in the same directory as the file calling it)
    ../myDoc.doc (if the file is located in the parent directory above the file that is calling it)
    ../../myDoc.doc (if the file is located two levels above the file that is calling it)
    etc
    Here's a tutorial that explains it better: http://www.communitymx.com/content/article.cfm?cid=230ad

  • Looking for a Status for Bug 12586745 - CREATE BOOKMARK LINK IGNORES REPORT

    Back in May we had opened an SR with Oracle, and
    they assigned our SR to Bug 12586745 - CREATE BOOKMARK LINK IGNORES REPORT PROMPTS
    Where can I find more information on this BUG and possible solutions to it
    Please let me know where can I fidn this information
    Thank ou

    I don't understand what you want. Do you want a link that will download a Dashboard to Excel? Why do you want to replace the "Create Bookmark..." link? What's that got to do with your requirement?

  • Related Link doesnt work with Multiple Helpsets

    Robohelpx4.1 is used as the authering tool to generate our help files in OHW format. We have different projects creating one helpset file each and it is merged in the ohwconfig.xml. Each helpset has its own link,map,index,Toc files created by robohelp. The link file created by robohelp has the linkitem id created in seq order and names as Link01,Link02,Link03..... .
    The link file of other helpset also has the same structure and ids. (The linkitem id's are not unique across the helpsets)
    But the related link doesnt work properly when more than one helpset is configured, for both the options of combined book and separate books. Links get mixed up and shows topics of other links.
    Is there anyway this can work ?

    Link Problem with Multiple Helpsets

  • I have sync linked to my main laptop. I recently wanted to merge my secondary laptop bookmarks with my main laptop bookmarks and when I linked my secondary, the stupid sync feature overrode all the bookmarks I had on the secondary! WHYYYYYY??!!!!!!!! ~ :(

    I have sync linked to my main laptop. I recently wanted to merge my secondary laptop bookmarks with my main laptop bookmarks and when I linked my secondary, the stupid sync feature overrode all the bookmarks I had on the secondary! WHYYYYYY??!!!!!!!!!!!!!!!!!!!!!!!!! ~>:(

    Sync creates a backup before it does anything -> you can restore from the backup -> http://support.mozilla.com/en-US/kb/Backing%20up%20and%20restoring%20bookmarks

  • Replace the link "Create Bookmark Link" for "Download"

    When I execute a report from interactive columns in principal report ( published in the dashboard), I don't download for default, because this link not exist. Is it possible to replace the link “Create Bookmark Link” for “Download” (excel)?, Can I add additional link "Download" or "Export" to Excel?
    Thank.

    I don't understand what you want. Do you want a link that will download a Dashboard to Excel? Why do you want to replace the "Create Bookmark..." link? What's that got to do with your requirement?

Maybe you are looking for