I'm sure this must have come up before but I haven't found it. I have bookmarks in a Word document, and that document is a baggage file in the current project. How do I insert a hyperlink in my topic that opens the Word doc at a bookmarked location?
Hey Colum! No I haven't -- where would I do this -- in HTML mode? I don't see where the option is given. I do understand that is the customary way to address a bookmark, but I don't see where RH offers the option to specify that extension to the document name. To me, it looks like a case of "you can't get there from here".
Michael West | Business Improvement | Aurecon
Hi Mike. I have some bad news and some good news!
The bad news: I have to admit to writing that last response without testing my theory. It was more of a hunch that it could work. What I have discovered now I have tested it is that it is not quite as simple as I'd hoped. When you link to a baggage file it doesn't give you the option to select a bookmark. You have to manually add the bookmark to the end of the file path. However when adding the link the additional #bookmark tag is not retained in the hyperlink. The only way I have found to retain it is to manually add the #bookmark tag directly to the HTML and saving the topic before going back to the WYSIWYG view. However even that doesn't seem to work when viewing the output so I'm beginning to wonder if it is possible. Sorry to build up your hopes.
The good news: I remembered that there was a similar post that I helped with some time ago and I've routed it out. It lokks like the solution is to create a PDF of the Word file and then you can link to a page or other destination of the file. You can find the post at the link below:
Hope this helps
Assuming it's even possible to open a Word document at a bookmark, one way to accomplish it and leave the document as a document would be to use a Redirect topic.
Just create a topic that will only be used to open the document. Then add the redirect code to the HTML.
Hopefully this helps. (and works)
Helpful and Handy Links
Europe, Middle East and Africa