Jump to main content
M-Files User Guide
M-Files
User Guide
Change language/version
  • Introduction
  • Daily Use
  • System Administration
  • FAQ
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. Intelligent Metadata Layer
  5. Connection to On-Premises Data with M-Files Ground Link
  6. Setting up M-Files Ground Link
  • 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
      • Publishing Vault Content with Classic M-Files Web
      • Reporting and Data Export
      • Event Handlers and Scripts
      • Intelligent Metadata Layer
        • Intelligence Services
        • Connectors
        • Connection to On-Premises Data with M-Files Ground Link
          • Setting up M-Files Ground Link
          • Backing Up and Restoring a Ground Link Proxy
          • Migrating the Ground Link Proxy Database to Microsoft SQL Server
          • Disabling the Ground Link Connection
          • Changing the Location of a Repository Connection
          • Changing the Location of Ground Link Proxy Services
      • Customizing Server and Vault Behavior

Setting up M-Files Ground Link

Before you set up the Ground Link feature, make sure that these prerequisites are completed:
  • gRPC connections are permitted on the on-premises server on which the Ground Link proxy will be configured. This server is later in this instruction called Ground Link proxy server.
If you connect the Ground Link proxy to an on-premises vault, also make sure that these prerequisites are completed:
  • gRPC connections are permitted on the M-Files server.
  • The M-Files server has a valid TLS certificate for the encryption of the gRPC connections.

For more information, refer to the knowledge base document Setting Up M-Files to Use gRPC.

To set up the Ground Link feature, you first install external repository connectors to a Ground Link proxy. Then, you set up repository connections in the vault. After that, you can see and edit the on-premises data directly from the vault.

Enabling Ground Link Connection

Complete these steps to enable the channel connection for Ground Link in a vault:

  1. Open M-Files Admin and go to a vault.
    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.
  2. Click Configurations.
  3. In the navigation area, expand Advanced Vault Settings > Configuration.
  4. Click Ground Link.
  5. On the Configuration tab, set Enabled to Yes.
  6. Click Save.
  7. Restart the vault for the settings to take effect.
    Note: Taking a vault offline should always be done in a controlled manner and the vault users should be notified beforehand.
  8. In the gray navigation area, expand External Repositories > Ground Link and select Configuration.
  9. On the Configuration tab, specify these settings:
    Setting name Description Example value
    Enabled This setting specifies whether Ground Link is enabled or not. Yes
    Remoting Service Shared Secrets

    A shared secret lets a Ground Link proxy authenticate the vault. Make sure that the shared secret is complex and long enough. You can specify one or more shared secrets.

    You must enter the shared secret when you configure the Ground Link proxy.

    Timeouts The timeout values specify in seconds how long remote calls wait for a response. Use the default values.
    Note: These settings are not available for M-Files Cloud vaults.
    Keep Alive Interval This setting specifies in seconds how frequently the vault makes sure that the Ground Link services are connected.

    60 (default value)

  10. Optional: Specify the other settings.
    For more information, select a setting and see the Info tab.
  11. Click Save.
Now that the vault uses Ground Link, you can configure the Ground Link proxy.

Configuring a Ground Link Proxy

Before you start, make sure that these prerequisites are completed:
  • Your Ground Link proxy server has sufficient hardware resources. See the recommended hardware setup.
  • You have M-Files Server and M-Files Admin installed on the Ground Link proxy server. However, a separate license for M-Files Server is not necessary.
  • You are logged in to M-Files Server with a login account that has the System administrator server role. To create a login account, see Creating a Login Account.
  • Your Ground Link proxy server can connect to the on-premises resources (for example, a network folder or an external database) that you want to make available in the vault.

To configure a Ground Link proxy on the Ground Link proxy server:

  1. Open M-Files Admin.
  2. In the left-side tree view, expand a connection to M-Files server.
  3. Click Ground Link Proxies.
  4. On the right-side pane, click New Ground Link Proxy.
    Result:The New Ground Link Proxy dialog is opened.
  5. Enter a name for the Ground Link proxy.
  6. Select the database engine for storing Ground Link proxy data.
    • To use Firebird, select Use Firebird.
      or
    • To use Microsoft SQL Server, select Use Microsoft SQL Server.
    For more information, see Database engine and data storage.
  7. Click Define.
    Result:The settings dialog for the search engine is opened.
  8. Complete one of these options:
    OptionDescription
    On the Ground Link Proxy - Firebird dialog
    1. Click the ... button and select the file location for the Ground Link proxy data.
    2. Click OK to close the dialog.
    On the Ground Link Proxy - Microsoft SQL Server dialog Do the steps from 6 to 10 in Migrating the Ground Link Proxy Database to Microsoft SQL Server.
  9. Click OK to close the New Ground Link Proxy dialog.
  10. Install those external repository connectors that your vault will use to the newly created Ground Link proxy.
    Note: If a valid vault application license is necessary for a connector, the license will be for the vault and for the server that contains the vault.

    For more information, see Installing and Managing Vault Applications.

    Example: To get access to on-premises network folders from M-Files Cloud, install M-Files Network Folder Connector.
    Result:The Ground Link proxy is now ready for configuration.
  11. In the left-side tree view, under Ground Link Proxies, select the newly created Ground Link proxy.
  12. On the Configuration tab, specify these settings:
    Setting name Description Example value
    Enabled This setting specifies whether Ground Link is enabled or not. Yes
    Password Enter a password that you will use when you apply a configuration for a Ground Link service in the vault.
    Channel Network Address Enter the network location of the server to connect to.

    If you connect the Ground Link proxy to an M-Files Cloud, enter the DNS name of the vault.

    aa-consulting.cloudvault.m-files.com
    Port number Enter the port that the server listens. If you connect the Ground Link proxy to an M-Files Cloud vault, the correct port number is 443.

    If you use the gRPC protocol, use the same port number that your M-Files client uses to connect to the server. For more information, see Adding a Vault Connection.

    Make sure that the necessary ports are open in the firewall.

    443 or 7766
    Secure This setting specifies whether a secure (SSL encrypted) channel connection is used. In production environments, insecure connections are not recommended. Yes
    Vault GUID Enter the GUID of your vault.

    To see the vault GUID, right-click the vault and select Properties. The GUID is shown in the Unique ID field in the Document Vault Properties dialog.

    {990827D8-8AF2-4A4EB121­4C1A8AD8ECD0}
    Shared Secret Copy the shared secret from the vault configuration. The channel connection cannot be established if the shared secret does not match one of the shared secrets specified for Ground Link.
    Reconnect Interval This value specifies in seconds how frequently the Ground Link proxy tries to connect when the vault is disconnected.

    60 (default value)

    Keep Alive Interval This value specifies in seconds how frequently the Ground Link proxy makes sure that the connection to the vault operates correctly.

    60 (default value)

    Timeouts The timeout values specify in seconds how long remote calls wait for a response. Use the default values.
    Multi-Server Compatibility Check Compatibility This setting specifies whether the multi-server mode compatibility is checked.

    If you connect the Ground Link proxy to an M-Files Cloud, this setting must be set to Yes.

    Yes (default value)
  13. Optional: Specify the other settings.
    For more information, select a setting and see the Info tab.
  14. Click Save.

The connection between the vault and the Ground Link proxy is established. Next, you can set up the Ground Link services in the vault.

You can see the status of the vault connection on the Dashboard tab.

Configuring External Object Types over Ground Link

This example tells you how to configure M-Files OLE DB External Object Type Connector in a vault as a Ground Link service to update object types to and from an external database. You can also use the external object type (EOT) connector for value lists. For instructions on how to configure other available M-Files EOT connectors, refer to Installing and Configuring M-Files Connector for Salesforce and Installing and Configuring M-Files Connector for Microsoft Dynamics 365 in M-Files Support Portal.

On the Ground Link proxy server, make sure that the M-Files OLE DB External Object Type Connector application is enabled:
  1. Open M-Files Admin.
  2. In the left-side tree view, expand a connection to M-Files server.
  3. Expand Ground Link Proxies.
  4. Right-click a Ground Link proxy and select Applications.
    Result:The Applications dialog is opened.
  5. In the list of applications, find M-Files OLE DB External Object Type Connector and make sure that its status is Enabled. By default, the application is disabled.
    To enable the application:
    1. Select M-Files OLE DB External Object Type Connector.
    2. Click Enable.
    3. In the dialog that is opened, click Yes to restart the Ground Link proxy.
  6. Click Close to close the Applications dialog.
  7. On the Ground Link proxy dashboard, make sure that the vault and the EOT connector are connected:
    • Cloud Vault Connection shows a green circle ().
    • In Installed Connectors, M-Files OLE DB External Object Type Connector shows that one or more servers are connected.

      For example:



      Note: After the application is enabled, it can take a few minutes to create the server connection for the EOT connector. If necessary, click Refresh to update the view.
Next, create an object type, that uses the EOT connector, to the vault:
  1. Open M-Files Admin and go to a vault for which you have enabled the Ground Link connection.
    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.
  2. Expand Metadata Structure (Flat View).
  3. Click Object Types.
  4. In the task area, click New Object Type.
    Result:The Object Type Properties dialog is opened.
  5. Specify the information on the General, Advanced, and Permissions tabs. For instructions, see Creating a New Object Type.
Finally, configure the connection to the external database:
  1. In the Object Type Properties dialog, go to the Connection to External Database tab and enable the option Use a connection to an external database to import and modify objects that reside in the external database.
  2. Select Application connection.
  3. In Service, select M-Files OLE DB from Ground Link proxy <name of the Ground Link proxy>.
  4. Click Configure.
  5. If M-Files asks whether you want to create the object type, select Yes.
  6. In the External Object Type Connector dialog that is opened, configure the connection to the external database. For instructions, see Connections to External Databases for Object Types.
  7. After you have saved the configuration, do these operations to make sure that the connection operates without erros:
    1. Click Test Select in the top-right corner of the dialog to test the SELECT statement. If the test is successful, M-Files shows you a summary of the property mappings. If the test fails, errors are shown instead. In this case, edit the configuration and try again.
    2. Make sure that there are no errors on the Local and Server tabs in the lower-left corner of the dialog. If there are errors, use the given information to solve them.
  8. Click Close to close the External Object Type Connector dialog.
  9. In the Object Type Properties dialog, click OK.
The object type is now updated to and from the external database.

Configuring Connectors over Ground Link

This example tells you how to configure M-Files Network Folder Connector in a vault as a Ground Link service. For information on support for other connectors, contact our customer support in M-Files Support Portal or your M-Files reseller.

Before you begin, make sure that M-Files Network Folder Connector is installed to the Ground Link proxy that is connected to your vault.

To configure a connection to a Ground Link proxy:

  1. Open M-Files Admin and go to a vault for which you have enabled the Ground Link connection.
    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.
  2. Click Configurations.
  3. In the navigation area, expand External Repositories.
  4. Click Ground Link.

    On the Dashboard tab, you see the connected Ground Link proxies with the available Ground Link services. Make sure that the service that you want to configure, in this case Network Folder, is online.

  5. In the gray navigation area, expand first the Ground Link node and then the Ground Link proxy whose service you want to use.
  6. In the gray navigation area, select the Ground Link service, in this case Network Folder.
  7. On the Dashboard tab, select Add Connection.
  8. In the confirmation dialog that is opened, click OK.
  9. On the Dashboard tab, click Configure to configure the new connection.
    For more information, refer to Installing and Configuring M-Files Network Folder Connector.
  10. Click Save.
  11. Click Apply.
    Result:The Enter Password dialog is opened.
  12. Enter the password that is defined in the Ground Link proxy configuration.
  13. Optional: Authenticate background users. After you have given the credentials, save and apply the settings again.
    For more information, refer to Installing and Configuring M-Files Network Folder Connector.
  14. Click Save.
  15. Optional: Repeat the steps from 5 to 12 to add more connections.
Now you have access to the on-premises network folders from the vault. The objects in the network folders are shown in M-Files. You can edit them and give them metadata in the same way as objects that are stored in the vault.
On this page
  • Enabling Ground Link Connection
  • Configuring a Ground Link Proxy
  • Configuring External Object Types over Ground Link
  • Configuring Connectors over Ground Link
© M-Files Corporation 2025
Last updated 04/2025
M-Files website
M-Files Customer Support Portal
M-Files Help Center
Privacy policy