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.
This is very true. I like to think that everyone is sufficiently scared enough not to move the Tech Pubs files around though. ![]()
I've looked how to put a file reference in and I can not seem to find anything. Would it be:
Message Client
C:\Technical Publications\Document.pdf
or something different?
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.
RoboColum(n) wrote:
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.
OK, I like the sound of this. I think you may over-estimate my ability though.
What commands am I going to use in the Hypertext box?
> 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 ![]()
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.
OK. So I type the following in to a Go to URL Command:
message URL http:\\\192.XXX.XX.X:S:\TechnicalPublications\Documents\TS01090-A.pdf
This then gets re-written as:
message URL \\192.XXX.XX.X:S:echnicalPublications‡ocumentsS01090-A.pdf
What am I doing wrong?
I can't believe it's this difficult to put in a hyperlink. ![]()
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.
New Year, old problems.
I have picked this up again, and this is what I have:
message URL \\192.XXX.XX.X\\shared\\Technical_Publications\\Documents\\TS01090-A_ -_Issue_003.pdf<file://192.XXX.XX.X\\shared\\Technical_Publications\\D ocuments\\TS01090-A_-_Issue_003.pdf
When I hold ctrl+alt and click the link, it does change to a pointing fingure, but still doesn't link to the file.
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?
That's very generous of you, Matt.
I thought I got it workming for a second.
I navigated to the folder of the file in my browser. I then clicked the file I wanted linking to. It showed the file in the browser with the following address:
file://localhost/S:/Technical%20Publications/Documents/TS01090-A%20-%2 0Issue%20003.pdf
I pasted this in the Hypertext pod and now it opens from Framemaker when I click it... but it doesn't work from the pdf. In fact, it can't even see a link.
Yes, yes and yes!
It actually works with the %20, but I didn't check the Generate Acrobat Data box. ![]()
Spot on that, Matt. I'm pretty chuffed with that!
Thanks for your help, I really appreciate it.
EDIT: Just to clarify what I did:
In Explorer, navigate to file containing the document
Copy address from Explorer navigation bar
Paste address in to the browser
Click name of file you want to link to
Copy address from browser address bar
In Framemaker select; Element Tag: <Unstructured>, Command: Go to URL
Paste clipboard after message URL
Click Edit Hypertext Marker.
Don't forget to check the Generate Acrobat Data box in Print Document when printing!
It would also be a good idea to create a character design (say underline and blue) that could be used to show where the link was (cheers, Error7103).
North America
Europe, Middle East and Africa
Asia Pacific