Skip to main content
Participant
October 26, 2020
Question

Create hypertext in FM to a MS Word document

  • October 26, 2020
  • 2 replies
  • 406 views

Hi,

 

Does anyone know how to create hyperlink in FM to an msword document?

 

Regards,

 

Arunkumar

    This topic has been closed for replies.

    2 replies

    Legend
    November 2, 2020

    Ah, the difference betwen information and knowledge :-}

    Legend
    October 26, 2020

    According to the helps for FM 2019, you highlight the text you want to use as hyperlink, then use Insert > Hypertext and select "Message client" as the command. Complete the command like this:

    message system c:/hypertextdocuments.docx

    Search for hypertext (not hyperlink) in the online Helps.

    Participant
    October 26, 2020

    Great, thanks a lot

    Bob_Niland
    Community Expert
    Community Expert
    October 26, 2020

    Give some thought to deployment. FieryPantone's example is only going to work on the originating Windows PC (or client PCs) which have the same asset {the .docx} already stored in the C:\ directory.

    It is more commonly the case that the FM document (as PDF, HTML or eBook) will be opened from anywhere, and the linked asset may likewise reside anywhere.

    This means that you normally use a fully qualified URL that works anywhere, such as:

    message URL https://…

    For assets that are assured be local to the client, try to use relative directory references, such as:
    message system ./file-in-same-dir.type
    or {example}
    message system ../../projectname/common/file-in-predictable-dir.type

     

    Another FAQ is how to create a "deep" link to something inside the object. FM can specify those easily in the Marker, but details at the destination can be tricky.