Skip navigation
Currently Being Moderated

Can you hyperlink to an external document?

Nov 15, 2012 1:37 AM

Tags: #pdf #hyperlink #framemaker_11 #external_document

Hello ,

 

As the title says, can you hyperlink in Framemaker to an external document?

 

The hyperlink will need to be clickable once converted to pdf.

 
Replies
  • Currently Being Moderated
    Nov 15, 2012 3:55 AM   in reply to bowen192

    Sure. References can be file system absolute, fs relative or URL.

     

    The usual question is: where is that target document, and is it always "there" for all readers of your FM doc from random starting locations?

     
    |
    Mark as:
  • RoboColum(n)
    5,356 posts
    Oct 8, 2004
    Currently Being Moderated
    Nov 15, 2012 6:06 AM   in reply to bowen192

    Be weary of using an absolute path like that. If they have mapped or partitioned drives - or if they have control over where your documentation is placed - the link won't work. It would be better to use a relative path. For example if you have the documentation source inside C:\Technical Publications and place the PDF inside a folder called PDFs you'd just need to reference PDFs\document.pdf. This way no matter where the document is located, as long as the PDFs folder is there with it, the link would work. The other option is to use a URL as Error7103 suggested.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 15, 2012 7:11 AM   in reply to bowen192

    > What commands am I going to use in the Hypertext box?

     

    First, ya gotta delimit what text is going to be active for the link. The usual way to do this is to define a character format, say, "Link", which may be "As Is" for everything, perhaps adding Underlined or blue color. Apply ChFmt to text string.

     

    The basic implementation is, click in the text string:

    Special > Hypertext

    Command: Go to URL

    message URL http://nonwww.enterprise_internal/resources/target.pdf or index.html, etc.

     

    You can also insert it via the Special > Marker dialog.

     

    Frame uses the character format to define the extents of the hypertext region.

     

    Now, don't get into deep linking to specific content in target PDFs. That will derail the thread for sure

     
    |
    Mark as:
  • RoboColum(n)
    5,356 posts
    Oct 8, 2004
    Currently Being Moderated
    Nov 15, 2012 7:52 AM   in reply to bowen192

    Assuming your FrameMaker output will not be located on the same server, you'd need to find out the URL of the server and where the PDF is located within it. For example for an internal server address it could be something like:

     

    \\<servername>:<port>\Technical_Publications\document.pdf

     

    BTW I'd also avoid having spaces in your directory / file names. Some servers do not like these. Use an underscore if you are unsure.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 15, 2012 8:11 AM   in reply to bowen192

    no no no - leave out the mapped drive part - the s:\ bit - that's all part of the UNC path - the
    servername\folder\etc\doc<file://
    servername\folder\etc\doc> part

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 15, 2012 9:06 AM   in reply to bowen192

    UNC convention is
    to start & \ for paths within the UNC - so
    server_name\share_name\folder_name\file.pdf<file://
    server_name\share_name\folder_name\file.pdf

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 15, 2012 9:45 AM   in reply to bowen192

    Hmm. Your backslashes are being parsed as FM special characters.

     

    Use forward slashes instead. FM, having been born on Unix, understands those.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 15, 2012 9:39 AM   in reply to bowen192

    1. In dialog boxes, FM uses the "\" character to escape the following character for control, so in order to insert the "\", you need to use "\\". Or else use "/" instead.

     

    2. To test a hyperlink within FM, hold down the ctrl+alt keys and mouse over the link. You should see the pointer change from the arrow to a pointing finger. When you click, it should take you to the specified destination/document.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 3, 2013 7:52 AM   in reply to bowen192

    What is the address that the PDF searches for?

     

    Can a browser find the address that the PDF is looking for?

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 3, 2013 8:13 AM   in reply to bowen192

    Your original question centered on creating a link in the PDF. Since you probably don't care whether one can shortcut from the FM file or not, focus on what is produced in the PDF.

     

    Now that you've set the link within FrameMaker, what is the link in the PDF attempting to open? Once you've tracked down that address, is it valid?

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 3, 2013 8:43 AM   in reply to bowen192

    When I hover over a link in my PDFs I get a tooltip with the address. Do you see the same?pdf-tooltip.gif

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 3, 2013 8:59 AM   in reply to bowen192

    Try your original path, and check the tooltip again.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 3, 2013 9:13 AM   in reply to bowen192

    Navigate to the file via a browser, then (assuming aURL, and not a local mapped drive location) copy/paste that address into the marker.

     

    Take the resulting tooltip in PDF, and replace the / that result in missing or odd characters with //

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 3, 2013 9:18 AM   in reply to bowen192

    This is tough to troubleshoot via email, and I had a client reschedule today. I'd be happy to take a look at it for a few minutes. Would you like me to take a look at it via Connect?

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 3, 2013 9:29 AM   in reply to bowen192

    Almost there...

     

    I believe the %20 characters are spaces, and as Colum mentioned above, those are a bad idea in network paths.

     

    Remove any special characters from the server path and file name, update the marker to reflect the new path & you're done.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points