Changing the Appearance of Hyperlinks

You can use registry settings to change the appearance of M-Files hyperlinks created with the Get Hyperlink operation. Add the registry settings to HKEY_LOCAL_MACHINE for client-wide settings or to HKEY_CURRENT_USER for user and vault settings, or to both. HKEY_CURRENT_USER is more important when registry settings are added for both.

In HKEY_LOCAL_MACHINE, the key name is: HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common\Settings\Hyperlinks.

In HKEY_CURRENT_USER, the key name is: HKEY_CURRENT_USER\SOFTWARE\Motive\M-Files\<version>\Client\MFShell\<vault>\Hyperlinks.

Add these settings on the target computer to change the way hyperlinks are shown:

Value name: FriendlyNameModeForHTML
Value type REG_DWORD
Description Defines if the object title is a link in the HTML version of the hyperlink. Values from 1 to 3 also define the type of the link.
Value data
  • 0: No hyperlink
  • 1: Desktop hyperlink (default)
  • 2: Web hyperlink
  • 3: Mobile hyperlink
Tip: M-Files also adds the link to your clipboard in the XML Spreadsheet format. This lets you paste the link to a cell in Microsoft Excel. The type of the link is specified in the FriendlyNameModeForHTML value. If its value is set to 0 or is not specified, the link opens the object in M-Files Desktop.
Value name: CanShowSpecificLinks
Value type REG_DWORD
Description Controls if the HTML version of the hyperlink can include client-specific links after the object title.
Value data
  • 0: No client-specific links are appended.
  • 1: Client-specific links are appended as specified in the SpecificLinksMode value.
Value name: SpecificLinksMode
Value type REG_DWORD
Description If CanShowSpecificLinks is set to 1, controls which of the client-specific links the HTML version of the hyperlink contains. Save the value with the decimal base (Base: Decimal).
Note: To use links to the new and classic M-Files Web, the URLs to their home pages must be specified in the vault properties. See Document Vault Advanced Properties.
Value data
  • 0: Automatic (adds all the available client-specific links)
  • 1: M-Files Desktop
  • 2: Classic M-Files Web
  • 3: M-Files Desktop and classic M-Files Web
  • 4: M-Files Mobile
  • 5: M-Files Desktop and M-Files Mobile
  • 6: M-Files Mobile and classic M-Files Web
  • 7: M-Files Desktop, M-Files Mobile, and classic M-Files Web
  • 8: New M-Files Web
  • 9: M-Files Desktop and new M-Files Web
  • 10: New and classic M-Files Web
  • 11: M-Files Desktop, new and classic M-Files Web
  • 12: New M-Files Web and M-Files Mobile
  • 13: M-Files Desktop, new M-Files Web, and M-Files Mobile
  • 14: New M-Files Web, M-Files Mobile, and classic M-Files Web
  • 15: M-Files Desktop, new M-Files Web, M-Files Mobile, and classic M-Files Web
Value name: PlainTextModeForClipboard
Value type REG_DWORD
Description Controls the content of the plain-text version of the hyperlink copied to the clipboard.
Value data
  • 0: All hyperlinks
  • 1: Desktop hyperlink only
  • 2: Web hyperlink only
  • 3: Mobile hyperlink only