Jump to main content
M-Files User Guide
M-Files
User Guide
Change language/version
  • Introduction
  • Daily Use
  • System Administration
  • FAQ
  • Support
Index
  1. Home
  2. System Administration

    This section, intended mainly for M-Files system administrators, explains how to manage, maintain, and configure the M-Files system.

  3. Configuring M-Files
  4. Customizing Server and Vault Behavior
  5. Configuration Options for Public Links
  • System Administration

    This section, intended mainly for M-Files system administrators, explains how to manage, maintain, and configure the M-Files system.

    • Setting Up and Maintaining M-Files
    • Configuring M-Files
      • Editing the Vault Metadata Structure
      • Managing Users and User Groups
      • Configuring Workflows
      • Named Access Control Lists
      • Installing and Managing Vault Applications
      • Using the Configurations Editor
      • Editing Notification Settings in M-Files Admin
      • Setting Up Web and Mobile Access to M-Files
      • Reporting and Data Export
      • Event Handlers and Scripts
      • Intelligent Metadata Layer
      • Customizing Server and Vault Behavior
        • Enabling Co-Authoring
        • Preventing Users from Toggling the Location of the Metadata Card
        • Setting the Initial State of the Task Area
        • Hiding Properties in M-Files Desktop
        • Disabling the Comment Dialog for Assignments
        • Setting a Primary File Type for Multi-File Documents
        • Setting Character Limit for Inserted Properties
        • Enabling Automatic Updates for Metadata Fields
        • Changing the Appearance of Hyperlinks
        • Configuration Options for Public Links
        • Configuration Options for the "Send and Save to M-Files" Button
        • Disabling the Reference Direction Setting for Grouping Levels
        • Enabling Phonic and Fuzzy Searches
        • Setting Up Synonym Search
        • Disabling the Search for Inflected Forms
        • Disabling the Sorting of Search Results by Their Relevance
        • Configuring Search Facets
        • Configuring Automatic Updates via Registry Settings
        • Modifying PDF Conversion Limitations
        • Defining File Types for Indexing
        • Configuring Mappings Between Incoming Connections and Vaults
        • Specifying Vault-Specific Locale Settings for Server-Side PDF Conversions
        • Preventing Linked Documents from Being Removed
        • Registry Setting for Extending Firebird Usability
        • Settings for Vault Performance Measurement
        • Setting M-Files Services to Use a Managed Service Account

Configuration Options for Public Links

You can use these two procedures to enable or disable the Share Public Link feature. To enable or disable specific sharing options for public links, see the instructions in Configuring the Share Public Link feature with registry settings. For more information on public links, see Sharing Public Links.

Enabling the Share Public Link feature for the classic M-Files Web

For the classic M-Files Web, you can also enable or disable the Share Public Link feature in M-Files Admin. To do this:

  1. In M-Files Admin, go to the Advanced Vault Settings section.
    1. Open M-Files Admin.
    2. In the left-side tree view, expand an M-Files server connection.
    3. Expand Document Vaults.
    4. Expand a vault.
    5. Click Configurations.
    6. In the navigation area, click Advanced Vault Settings.
    7. Open the Configuration tab.
      Result:The advanced vault settings are shown.
  2. In the navigation area, expand Client > Classic Web > Sharing.
  3. In Enable Sharing, select Yes or No.
  4. Click Save.

Configuring the Share Public Link feature with registry settings

To configure the Share Public Link feature with registry settings:

  1. Add or edit this registry setting on the M-Files Server computer:
    Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server\MFServer
    Value name EnableSharedPublicLinks
    Value type REG_DWORD
    Description

    Enables or disables the Share Public Link feature on the server. When disabled, public links cannot be generated with clients or APIs and previously shared public links no longer operate.

    If you disable this feature, make sure that you also specify the same settings for M-Files Desktop and the classic M-Files Web (see the steps 10 to 12).

    Default value

    1

    Valid values

    1

    0

    The Share Public Link option is enabled.

    The Share Public Link option is disabled.

  2. Use Windows Task Manager to restart the MFServer service:
    1. Right-click the taskbar and select Task Manager.
      Result:The Task Manager window is opened.
    2. Open the Services tab.
    3. Right-click the MFServer service and select Restart.
After you have configured the Share Public Link feature for M-Files Server, use Custom Vault Data to configure public links for M-Files Desktop and the classic M-Files Web:
  1. Expand the Custom Vault Data section in Configurations.
  2. Expand Namespace Registry > Configuration.
  3. Click Add Namespace and expand the new namespace node.
  4. In Storage Type, select MFConfigurationValue.
  5. In Namespace, enter this value: M-Files.Core.Sharing.PublicLinks.Settings
  6. Enter values for Group, Namespace Label, and Namespace Description.
  7. In the navigation area, expand Named Values > <namespace group name> > <namespace label> and click Configuration.
    The namespace group name and label are the ones that you set in step 8. For example, Named Values > Sharing Settings > Public Link Sharing Settings.
To disable or enable the Share Public Link feature:
  1. Click Add Named Value and expand the new named value node.
  2. In Name, enter Enabled.
  3. Do one of these steps:
    • To disable the Share Public Link feature, in Value, enter this value:
      false
      Note: If you disable the Share Public Link feature, make sure that you also add the corresponding registry setting for M-Files Server (see the steps 1 to 2).
      or
    • To enable the Share Public Link feature, in Value, enter this value:
      true
      Note: The Share Public Link feature is enabled by default.
To specify whether public links can point to the latest version of the shared files or only to the specific, shared version:
  1. Click Add Named Value and expand the new named value node.
  2. In Name, enter this value: AllowSharingLatestVersion
  3. Do one of these steps:
    • To allow public links to point to the latest version of the shared file, in Value, enter this value:
      true
      or
    • To set public links to always point to the specific, shared file version, in Value, enter this value:
      false
      Note: Public links normally always point to the specific version that the user has shared.
To specify the default expiration time for public links in the classic M-Files Web:
  1. Do the steps from 3 to 9, but use this value in Namespace: M-Files.Core.Client.Settings
  2. Click Add Named Value and expand the new named value node.
  3. In Name, enter this value: DefaultExpireInDays
  4. In Value, enter the expiration time in days. For example:
    10

    In the example, the expiration time for public links is 10 days if the user does not change it in the Share Public Link dialog.

After you have configured the Share Public Link feature, restart the vault so that the changes are taken into use:
  1. Restart the vault.
On this page
  • Enabling the Share Public Link feature for the classic M-Files Web
  • Configuring the Share Public Link feature with registry settings
© M-Files Corporation 2022
Last updated 05/2022
Privacy Policy