Hyperlink to a bookmark in PDF file

I have a PDF file included in my project help source.
I have added a hyperlink in a topic to open that PDF file.
That is working fine and no problems.
Is it possible to define a hyperlink wthin a topic to open the PDF and go to a bookmark within the PDF?
Basically what I want to do is this:
Have an FAQ topic that provides a list of frequently asked questions with corresponding answers.
The answer must be short and concise but allow the user to click a hyperlink to get "more information".
Some of the content that is the "more information" for the answer is not in a topic, but in the PDF.
I would like to define a hyperlink within a topic that opens the PDF to a specific place WITHIN the PDF file.
I assumed the place in the PDF must have a bookmark (is there any other way?).
I have:
Created the bookmark in a Word document.
Added that bookmark as a bookmark when creating the PDF using Adobe Acrobat.
(This is not ideal as it appears in my PDF as extra bookmarks - I will deal with that after I see if this approach will really work)
I tried doing a standard bookmark hyperlink (e.g., DataDefinitions.PDF#HPI Metrics) but the PDF just opens without going to the specific place within the PDF that has the relevant content.
Is this even possible?
It just seems like it can be, but maybe I am just experiencing wishful thinking.
As always, thanks for any advice/assitance/suggestions.
Michael F Weart

Hi Michael.
There are a couple of ways to achieve this. To link to a specific page by number use:
<a href="http://www.domain.com/file.pdf#page=3">Link text</a>
To link to a named location (destination) use:
<a href="http://www.domain.com/file.pdf#nameddest=TOC">Link text</a>
  The RoboColum(n)
  @robocolumn
  Colum McAndrew

Similar Messages

  • Hyperlinks to XLS, DOC, and PDF files that are included in a .chm file work intermittently.

    SUMMARY
    Hyperlinks to XLS, DOC, and PDF files that are included in a
    .chm file (and the Baggage Files) only work intermittently. The
    only solution appears to be deleting the Temporary Internet Files.
    PROBLEM
    1. I place the XLS, DOC, or PDF file in the Windows
    sub-directory that corresponds to the RoboHelp project sub-folder
    where the topic in which I’ll place the hyperlink exists.
    2. I open the help project in RoboHelp HTML.
    3. I right-click on the project’s Baggage Files
    sub-folder that corresponds to the Windows sub-directory in which I
    placed the XLS, DOC, or PDF file (in step 1).
    4. I import the XLS, DOC, or PDF file.
    5. I open the topic in which I’m going to place the
    hyperlink in the WYSIWYG editor.
    6. I “drag and drop” the Baggage File into the
    topic (in the WYSIWYG editor) to create a link to it.
    7. I save the changes and then generate HTML (.chm) help.
    8. I open the .chm file and click the hyperlink. The XLS,
    DOC, or PDF file may or may not open.
    9. When the hyperlink works correctly, for DOC and XLS files,
    a “File Download – Security Warning” dialog box
    appears asking, “Do you want to open or save this
    file?”. The buttons that are available are
    “Open”, “Save”, and “Cancel”.
    These buttons work then as one would expect. (When the hyperlink
    works correctly for a PDF file, it simply opens the PDF file in a
    new window; there’s no prompt to save, open, or cancel.)
    10. When a hyperlink does NOT work, for DOC, XLS, and PDF
    files, no dialog box or other visual message is displayed. Instead,
    the sound that is associated with the “Exclamation”
    program event is played (the “Windows XP
    Exclamation.wav” file is the WinXP default).
    Other Notes:
    - The hyperlinks ALWAYS work when I view a topic using the
    “View Selected Item” function (Ctrl+W) in the RoboHelp
    HTML project.
    - Once a hyperlink stops working, it will not start working
    again until I delete all the Temporary Internet Files.
    - A hyperlink will stop working even if Internet Explorer
    (iexplore.exe) is closed the entire time.
    WORKAROUND
    Through trial and error, I have discovered that if a
    hyperlink stops working, I can get it to work again using the
    following steps:
    1. Leave the .chm file open.
    2. Open Internet Explorer.
    3. Click Tools>Internet Options….
    4. From the “Internet Options” dialog box, select
    the “General” tab.
    5. Under the “Temporary Internet Files” section,
    click the “Delete Files…” button.
    6. From the “Delete Files” dialog box, select
    “Delete all offline content” and then click
    “OK”. The files are deleted and the “Delete
    Files” dialog box closes.
    7. Click “OK” to close the “Internet
    Options” dialog box.
    8. Without closing Internet Explorer and without re-starting
    the .chm file, all the hyperlinks that didn’t work before
    will now work.
    GENERAL SYSTEM INFORMATION
    - Windows XP Pro, SP2
    - Internet Explorer 6.0.2900.2180
    - RoboHelp X5, 5.0.2 Build 801
    - HTML (.chm) help project files exist on my local machine
    - HTML (.chm) help file is run from my local machine
    - Project is under RoboSource version control
    TEMPORARY INTERNET SETTINGS
    - “Check for newer versions of stored pages” is
    set to “Automatically”
    - “Current location” for the Temporary Internet
    files folder is set to “C:\Documents and Settings\My
    Username\Local Settings\Temporary Internet Files\”
    - “Amount of disk space to use” is set to
    “594” MB
    “View Files…”
    - An XLS or DOC file will be listed here if I click its
    hyperlink and then click either “Open” or
    “Save” from the “File Download – Security
    Warning” dialog box.
    - A file will appear here even if I click “Save”
    and then click “Cancel” from the subsequent “Save
    As” dialog box.
    - If I click “Cancel” from the “File
    Download – Security Warning” dialog box, the file does
    not appear in the Temporary Internet Files folder.
    - When a file does appear in the Temporary Internet Files
    folder, its Internet Address is displayed similar to the following:
    “ms-its:C:\PrimaryProjectFolder\ProjectName.chm::/SubFolderName/FileName.xls”
    “View Objects…”
    Here’s a list of all the program files that appear:
    - “Microsoft Office Template and Media Control”
    (Last Accessed 12/13/06) (Version 12,0,6024,0)
    - “Shockwave ActiveX Control” (Last Accessed
    12/14/06) (Version 10,1,4,20)
    - “Shockwave Flash Object” (Last Accessed
    12/18/06) (Version 9,0,28,0)
    - “Windows Genuine Advantage Validation Tool”
    (Last Accessed 12/14/06) (Version 1,5,722,0)
    - “WUWebControl Class” (Last Accessed 12/13/06)
    (Version 5,8,0,2469)
    Today is 12/18/06 so the only program file that is listed as
    having been “Last Accessed” today is the
    “Shockwave Flash Object”.
    REQUEST FOR HELP
    I really want to include certain PDF, DOC, and XLS files in
    their native format in a .chm file. However, I need a better
    solution to my problem than the one I discovered. What I really
    want is to avoid the entire problem altogether.
    Have anyone seen this before or have any suggestions?

    You wont be able to do that. The embedded objects would appear as images only.

  • Add Bookmark in PDF File

    Hi,
    I have to add bookmark in pdf file, i tried so many ways. But no use.
    i have a PDf with full text information, i want to add few text (Some words with in the PDF) from the content and need to add them in bookmark. i know i can add manulay but my pdf has 1000 to 2000 pages. so manual process is not easy. Is it any possible way to do in java?
    if we need i can get all the word in separate file too. can i read the word from another file and can i add them as a bookmark?
    for example, conside the below text which is available in my PDF. from this i want to add few word which is available in BOLD letters.
    Delta Enterprises said it would contact the customers who bought 600,000 of these cribs to send them additional parts to make the mechanism safer.
    +The other 985,000 cribs under recall, made in Indonesia and Taiwan, use safety pegs in the gate mechanism that customers must install.+
    +The recall is one of the largest in US history and follows another recall of 2,000 cribs, also made in China, which was issued by the CPSC on Thursday. A five-month-old infant suffocated after being trapped between the mattress and the crib side and prompted the recall Playkids USA cribs.+
    hope i explained clearly.
    Please help me.. im struggling lot...
    Thanks in advance.

    It is, but only if you do it using a script, not through the built-in "Open a web link"-action. Add a "Run a JavaScript"-action with this code:
    app.launchURL("http://www.google.com", true);
    Of course, you can change the URL to whatever you want.

  • Acrobat 9.3.4 no longer finds bookmarked non-PDF files (and then launches assoc app)

    I produce a documentation DVD consisting of a one-page PDF file of ~ 1400 bookmarks and a lot of content.  The bookmarks point to the content on the DVD which includes pdf files as well as text, DOC, XLS, and other misc. file types, and a large number of html, swf, flv, .jpg, etc. files which make up 4 complete web sites.  The web sites are entirely contained on the DVD (no extermal internet access is referenced or required)
    Content is accessed by clicking a bookmark which simply opens the file (regardless of type.)  Prior to Acrobat 9.3.4, appropriate warnings popped up for non-PDF files but if allowed by the user, the appropriate app was launched for the requested file.
    Since applying 9.3.4, a "Launch File" warning box pops up showing the file name (which lacks a device) and when the warning's "Open" button is pressed, a Windows error appears with the message "Windows cannot find 'file.txt'.  Make sure you typed the name correctly, and then try again.  To search for a file....  ", and finally an Adobe Acrobat information box pops up and says "Could not open the file 'path/file.txt'  ".
    I have read and re-read about launching external apps, restricted urls and attachments, trust manager preferences, etc. etc.  I've added the files to the privileged locations list under the enhanced security settings and on and on.  It no longer works, yet I tested this DVD on several computers just last week and it worked fine. So, as a shot in the dark, I decided to fire up my laptop and test it there again.
    Once on, the laptop immediately wanted to update about 12,000 software products but I politely said "No, wait until i test this out!"  The test was successful and the DVD's pdf file worked great again!  At that point I let the machine apply the Acrobat 9.3.4 update (and some uncountable number of Windows patches and fixes.)  It's running a current version of Win7.  After the reboot, i tried the DVD again (under Acrobat 9.3.4) and it failed as described above.  Because of Win7 I was able to revert to acrobat 9.3.2 using System Restore.  After doing that, the DVD worked again.
    Most of our user's machines are either Macs or WinXP (current versions) and i haven't had time to figure out if you can even recover from this update under those OS's.  (It says you cannot remove it from XP, however.)  Regardless, even if i can do it for my laptop and get it working again, i cannot do it for all of our users.
    So, my question is if i am not doing something wrong, how do i let someone at Adobe know this release is broken??  If i am doing something wrong on the other hand, what is it and how do i get this to work again??
    Thanks all.

    Thanks.  I did submit a report at the site.  I hope somebody reads it as this is a big problem for us.
    Thanks again.

  • HTML link to bookmark in pdf file

    Hi everyone,
    I use the following suffix on an html link in order to link to a specific page within a pdf file:  #page=15  This works but I need to know go one step further and link to a specific bookmark within the pdf. I use the following suffix to try to do this:  #bookmark name  The above syntax doesn't work because the bookmarks all have spaces in their names. Apparently it's supposed to work if I remove the spaces from the bookmark names but this isn't practical because I'm generating the pdf out of Indesign and the bookmarks in the resulting pdf are just a reflection of the table of contents in Indesign. I can't remove the spaces from the TOC entries just so that there's no spaces in the bookmarks in the pdf.
    So I need some sort of workaround and wondered if anyone would have any suggestions. Is there some acrobat script or any other solution to this problem?
    Really appreciate any help.

    Try %20 instead of spaces. HTML links are URL-encoded, and this is the usual translation of a single space, as for example can be seen in links in Google.
    If it works, you can automatically convert the bookmark name to URL format with the function encodeURI ("Every non-alphanumeric character is encoded as a percent escape").

  • How to get the Bookmarks in pdf file by using pdf.js library

    In my application i am using PDF.js library to view the pdf files. Now i want to fetch the bookmark details which was already set in the pdf page. How could i get the those bookmark details by using pdf.js library. is there any specific methods available in pdf.js library to get that?

    Hi ShantamReddy,
    I asked #pdfjs and we would need you to clarify what you mean by "bookmark"
    This is where the bookmarks in a pdf are populated [https://github.com/mozilla/pdf.js/blob/master/web/viewer.js#L1032] however you will have to customize what to do with them.
    I hope this sheds some light on what you are trying to do.

  • Bookmarks in PDF files added to a portfolio

    How can I preserve the bookmark displays from PDF files added to a portfolio in Acrobat Pro X? Portfolios in Acrobat 9 were able to do so. Some of the viewers of my portfolios will not find it intuitive to scroll through each file in order to see all contents - and may think the file is only 1 page.

    How can I preserve the bookmark displays from PDF files added to a portfolio in Acrobat Pro X? Portfolios in Acrobat 9 were able to do so. Some of the viewers of my portfolios will not find it intuitive to scroll through each file in order to see all contents - and may think the file is only 1 page.

  • Adober reader shows corrupted bookmarks of pdf files

    after upgrading to Mavericks if I open a pdf file with Adobe Reader it will be opened but the bookmarks are somehow corrupted:
    they are listed with a grey area besides it and with a big space to the next entry (see image).
    How can this be fixed?
    In previous Mac OS X version this wasn't a problem, but with Mavericks? .. seems like apple has changed something - and no one knows about it
    Example with Acrobat Reader:
    with Preview now the bookmarks are displayed (new in 10.9?) but otherwise scrolling through a pdf isn't as comfortable as with Adobe Reader:

    As a follow to the above, the problem was related to a file transfer.  The PDFs in question were being transfered from a Unix platform to a Windows Server.  The transfer was defaulting to ASCII or Text and not binary.  Apparently this was never an issue with older versions of Adobe Reader.  Once the transfer was switched to binary, Reader X was able to view the files with no missing pages.  Something was being stripped from the file that Reader X just didn't like.

  • UNABLE TO OPEN AN HYPERLINK INSIDE OF A WEB PDF FILE OPENED INSIDE OF IE 11

    Hello, We have gone to the website
    http://www.salonrenovationmaisonneuve.com/en/exposants
    and download the file to open Inside of IE. Once the file is open, none of the links either e-mail or web site works. However, if we open the same file Inside of Google Chrome, the links work. So, we want to know if we are missing something in IE or a plugin.
    The PDF file opens with no problem but the links are not enabled. The file works in an Apple Machine and Google Chrome. However, if we download the file physically inside of the computer and then open the file with Adobe Reader, the links all work! Any ideas
    how to solve this issue? Thanks Miguel Moreno
    Miguel A. Moreno Alfa Logos inc. Tel. 514-253-2548

    Any ideas how to solve this issue?
    Try using Protected Mode Off.  Then you will be at the same level of security that those other programs are running at.  You could also try elevating the iexplore.exe task.  That would turn off Protected Mode in that task automatically but then
    you would be running also with Administrator level authority which might be excessive.
    Robert Aldwinckle

  • Bookmarking a pdf file by reading excel file

    Hi is it possible to bookmark a pdf by reading the excel in which details of bookmark like page numbers, bookmark level and bookmark name are available?
    I want the code to be in Visual Basic 6.
    Thanx

    > Hi is it possible to bookmark a pdf by reading the excel in which details of bookmark like page numbers, bookmark level and bookmark name are available?
    Yes. Look at the Acrobat JavaScript documentation. You can use the VB - JavaScript bridge.

  • Add bookmarks to pdf file using Excel VBA

    Good morning -
    I have, through internet searches, created an Excel macro that prints numerous workbooks to pdf, combines them into one file and prints that file.  I have been searching for the last piece, which is adding bookmarks, but have not had any luck getting any of it to work.  The following is the code that I am using to add the bookmarks -
    Dim avdoc, pddoc, app As Object
    Dim stFile As String
    Dim btitle As Boolean
    Dim PDBookmark As CAcroPDBookmark
    stFile = "D:\Test\Test.pdf"
    Set app = CreateObject("AcroExch.app")
    Set avdoc = CreateObject("AcroExch.AVDoc")
    Set pddoc = CreateObject("AcroExch.PDDoc")
    pddoc.Open stFile
    Set avdoc = pddoc.OpenAVDoc(stFile)
    Set PDBookmark = CreateObject("AcroExch.PDBookmark", "")
    app.MenuItemExecute ("NewBookmark")
    btitle = PDBookmark.SetTitle("Test Bookmark")
    This code does insert a bookmark on the first page of the document.  The bookmark title displays as Untitled instead of Test Bookmark as the code states.  Can someone answer the following questions -
    1.  Why is the code not changing the bookmark from Untitled to Test Bookmark, and
    2.  How would I nodify the above code to go to a certain page then enter the bookmark.
    All help is greatly appreciated.  Thanks in advance for your time.

    Good morning Reinhard -
    Thanks you very much for the help.  I implemented as follows:
    1.  app.MenuItemExecute ("NewBookmark")
    btitle = PDBookmark.GetByTitle(pddoc, "Untitled")
    btitle = PDBookmark.SetTitle("Total Accessories / Hardgoods")
    I added the "btitle =" due to it erroring out.  However, when I step through the code and get to that line, I get the "Excel has encountered an error and needs to close" error.  Is there a reference that I'm missing that you know of?
    2.  I was able to find the code to get to a specific page number and it is working great.
    Thanks again for all of your assistance.

  • Creating bookmarks in a PDF file

    I know that Adobe Acrobat Professional has the ability to create bookmarks in PDF files. Is there another maybe free solution that I could use to create bookmarks in PDF files? I need to be able to post PDF files on my web site that have bookmarks in them so that users can quickly go to a specific page.
    Looking forward to alternatives that I may be able to use.

    Aw man, I didn't know that. But you're right. It doesn't cause Save to be available and they don't show up in Acrobat Reader. That's lame.
    I never looked into that before because I have Acrobat.

  • Split PDF Files by Bookmarks

    Can anyone please let me know how do I split PDF Files by bookmark using Java Script.
    I am making a Visual Basic utility to read the bookmarks in PDF Files and split them based on the bookmarks. I am able to split the PDF Files by using Arts PDF Split Pro. However since I am already using Adobe Standard, I would like to do it with Adobe itself.
    Thus, I pay license for only one software and not two.
    Thanks
    Rahul

    I couldn't find much information online about this myself, but hammered away until it worked. You should easily be able to adjust it for your needs.
    My sources:
    Adobe IAC Developer Guide
    Adobe IAC API Reference
    Adobe JS API Reference
    Adobe Acrobat and VBA – An Introduction | Karl Heinz Kremer's Ramblings
    UtterAccess Discussion Forums > Splitting Pdf Files
    Private Sub extractBookmark()
    Dim AcroApp As AcroApp, AVDoc As AcroAVDoc, PDDoc As AcroPDDoc, PDBookmark As AcroPDBookmark, AVPageView As AcroAVPageView
    Dim newPDF As AcroPDDoc, mergePDF As AcroPDDoc
    Dim jso As Object, BookMarkRoot As Object
    Dim masterPath As String, testName As String, i As Variant, bookmark As Variant
    Dim startN As Integer, endN As Integer, nPages As Integer, totalP As Integer
    Set AcroApp = CreateObject("AcroExch.App")
    Set AVDoc = CreateObject("AcroExch.AVDoc")
    Set PDDoc = CreateObject("AcroExch.PDDoc")
    Set PDBookmark = CreateObject("AcroExch.PDBookmark")
    masterPath = ActiveWorkbook.Path & "\MasterDocument.pdf"     'Path of the PDF containing the bookmarks to be extracted
    AVDoc.Open masterPath, vbNull
    Set AVPageView = AVDoc.GetAVPageView
    Set PDDoc = AVDoc.GetPDDoc
    Set jso = PDDoc.GetJSObject
    Set BookMarkRoot = jso.BookMarkRoot
    bookmark = jso.BookMarkRoot.Children
    totalP = PDDoc.GetNumPages
    'Loop through the 10 bookmarks in MasterDocument.pdf and get the starting page # of each. This # has to be changed to the # of bookmarks in your pdf. Or write something to count the bookmarks and use that variable. "productName" is a global variable for my specific project... You'll need to revise this for your purpose.
    For i = 0 To 9
        If bookmark(i).Name = productName Then
            PDBookmark.GetByTitle PDDoc, bookmark(i).Name
            PDBookmark.Perform AVDoc
            AcroApp.Exit
            startN = AVPageView.GetPageNum
            If i < 9 Then
                PDBookmark.GetByTitle PDDoc, bookmark(i + 1).Name
                PDBookmark.Perform AVDoc
                AcroApp.Exit
                endN = AVPageView.GetPageNum
                nPages = endN - startN
            Else
                nPages = totalP - startN
            End If
        End If
    Next
    PDDoc.Close
    'This part will also need to be modified. I am inserting the bookmarks into an already made PDF (global variable for me "fName"). You'll want to create a new pdf.
    Set newPDF = CreateObject("AcroExch.PDDoc")
    Set mergePDF = CreateObject("AcroExch.PDDoc")
    newPDF.Open fName & ".pdf"     'This line needs changing for your purpose. Probably could be.... newPDF.Create
    mergePDF.Open masterPath
    newPDF.InsertPages 0, mergePDF, startN, nPages, 0
    newPDF.Save PDSaveFull, fName & ".pdf"
    newPDF.Close
    mergePDF.Close
    End Sub

  • How to display PDF file in OAF page

    Hi All,
    I have an requirement to display a PDF file in OAF page. The PDF file will be stored in custom location in unixbox and when the user clicks on the hyperlink from OAF page, the PDF file should be promted to open or save the file in the local system.
    The pdf file will be stored in $XBOL_TOP and I am not sure on how to link the file directory path from OAF page.
    Please share some information on how to achieve this logic.
    Regards,
    Ram

    Hi,
    Did you find a way to do this.
    Please advise.
    Thanks
    Krishna
    Edited by: user452458 on May 11, 2010 6:53 PM

  • How do I bookmark a pdf? How sort bookmarks in Firefox?

    Since my browser is Firefox, not Safari, this may not be a question easily answered. But I need to bookmark a pdf file, and though the pulldown with correct info showed as usual, it did not appear on my Bookmarks list.
    Also, many times I have followed the Firefox instructions for sorting bookmarks alphabetically, but I simply can't get that to work. Any suggestions?

    This is a Pages forum and nothing to do with either Firefox or Safari, you will have to find an appropriate user group or Forum to answer your question.
    Peter

Maybe you are looking for

  • How to get the 0 in front of a number

    I have a table column with number data type. How to get the column including the 0 in the front. For example: 066666 i want get 66666, not 066666. Thanks.

  • Missing IN or OUT  parameters randomly

    Hi, I got the error "Missing IN or OUT parameters". The bind variable setting was already set according to the suggestion found in the internet. However, the error is persisted. As I checked in the log file, the query executed are different between w

  • What is the minimum file system access needed to run ODI 10.1.3.4.0 client?

    Hi ODI discussion folks, I have a couple of questions from an Oracle partner that I'm trying to find a definitive answer for if possible. The partner is setting up ODI 10.1.3.4.0 for a customer who insists that the absolute minimum amount of access t

  • My lap top wont shut down, i have two mail icons showing in dock and one wont quit??

    i have two mail icons showing on my docking station one is normal the other has number 6 in red.. problem is i try to remove and quit the icon with the number on it and it wont let me it does nothing.. now i cant seem to shut down the lap top as it k

  • Project online / cloud and integration with SharePoint.

    Greetings! I am new user to the project online and trying to understand differences / options for cloud offering. If we need to use Cloud for project and portfolio management, do we use need to purchase project pro with sharepoint cloud. What are the