Skip to main content
Skip table of contents

M-Files

The following information details the connectivity and functionality offered by the EzeScan integration with the M-Files ECM solution. It details the available options and how to configure an EzeScan job or Server workflow into the M-Files ECM.

For information on the M-Files ECM solution please refer to the M-Files website - https://www.m-files.com/

For information on EzeScan please refer to the EzeScan website - https://ezescan.com.au

The minimum requirements for M-Files integration with EzeScan are:

M-Files Desktop (2015.3 or above) is required to be installed on the EzeScan PC/Server.

M-Files Web Services (REST API)

Developed for EzeScan Release: 5.0

NOTE

It is assumed that the operator has read about or is familiar with EzeScan Job, KFI and UPLOAD modules. If not please refer to the EzeScan PRO, KFIand UPLOAD guides. It is also assumed that the operator is experienced with the M-Files product.

Configuring Connection Settings

When configuring a Job, KFI or Upload to use M-Files, connection settings panel must be filled in.

  1. Click Admin menu, choose Workstation Options.

  2. Select Connection Profiles tab and add a new profile.

  3. Give the profile a name that will be referenced later in KFI & Upload modules.

  4. Select M-Files in the Connect to list.

  5. Enter the following information:

    1. Service URL - Enter URL of M-Files Web Services (REST API).

    2. Authentication Type - Select Credentials or Windows (SSO).

    3. User – Enter user name used for M-Files if using Credentials authentication.

    4. Password – Enter password for M-Files if using Credentials authentication.

    5. Vault Name – Enter the M-Files Vault Name.

  6. Click on Save button to complete and close the Workstation options screen.

KFI Field Settings

The KFI Field Settings allow the operator to browse M-Files data during KFI indexing so the operator can select a value and other object types to be applied to the document.

NOTE

The following functionality requires that the EzeScan workstation be licensed for the EDRMS as well asKFIand UPLOAD modules.

Enabling browse options


The M-Files settings must be configured before a KFI field can use the browse functionality.

  1. Open the respective KFI (press F7) form.

  2. Click the Integrations tab.

  3. Select the M-Files from the list of available integrations.

  4. Select the connection profile that was configured in Workstation Options.

  5. Click the fields tab.

  6. To enable a field to access M-Files you need to:

    1. Click the edit link under the Properties for the filed.

    2. Click the M-Files tab.

    3. Select the Enable M-Files Browse Button checkbox
      The browse parameters will become active –

  7. Select the Action Type.

Search Vault Objects

Searches the connected vault for objects of a specific type either using a search dialog, or as a drop down list.

Option

Description

Selected Object

This option displays list of Vault Objects available for selection. Select an Object. Values of the selected object will either be available as list or search form on the KFI field.

Display As List

Check this option to display the lookup results as a list of values on the field (or cell in Line Items) for the operator to select from, otherwise leave unchecked to display a search form.

Lookup Vault Object Properties

Search connected vault for objects using property conditions and return the results as a drop-down list.

Option

Description

Object Type

Select an object type to filter results to that type, or leave blank for any object type.

Search Expression

The property expressions to apply when searching the connected vault.

M-Files does not support grouping conditions nor the OR operator.

Property expressions are formatted as p{PropertyID}{Operator}{Value} optionally containing placeholders with multiple conditions concatenated using an ampersand (&). For example, p1030^=INV&p1030=<<F1>>.

Use the browse button to pick from the available Property Definitions in the connected vault.

The operators supported M-Files search are listed below:

Display Value Format

Enter the placeholders to return for each search result optionally including static text. Use the browse button to insert placeholders from the connected vault’s property definitions, or manually enter any of the below built-in placeholders. For example, {ID} - {Name}.

Built-in Placeholders

Hidden Value Format

Enter the placeholders to return for each search result optionally including static text, or leave blank to not use hidden values. Use the browse button to insert placeholders from the connected vault’s property definitions, or manually enter any of the below built-in placeholders. For example, {ID} - {Name}.

Built-in Placeholders

Max Results

The maximum number of results that search can return. Default is 50.


Upload Settings

The UPLOAD module will obtain the KFI output data to pass into M-Files saving the document into the respective location and applying the (KFI’s) metadata information.

NOTE

The following functionality requires that the EzeScan workstation be licensed for the EDRMS as well asKFIand UPLOAD modules.

Configuring connection and property parameters


  1. Open the Upload Form (F8).

  2. Select the M-Files from the list of available integrations.

  3. Select the connection profile that was configured in Workstation Options.

Configuring built-in fields


The common upload fields will appear after choosing the M-Files option in the Upload Properties pane (See screenshot below). To obtain the Class specific upload fields change the Field Value “1 – Other document” to required M-Files class and click Auto Populate button.

The Class upload fields are listed below. Each field can have its input set using the Source Field cell. Please refer to Applying KFI Output Data to the Target Field Data to see how this can be configured to allow data mapping.

Configuring custom fields


The M-Files connector can obtain all metadata fields from a M-Files Class object type.

NOTE

You must have the connection settings configured as well as the Class being used by the Upload.

Click the Auto Populate button at the bottom of the screen.

This will result in the M-Files connector returning a list of custom fields that relate to the respective M-Files Class object type.

It is then a matter of setting the source values of those fields to the target values of the custom fields.

Applying KFI output data to target field data


To pass through the KFI output data into the Upload module the operator is required to set the source field data to the target field data.

  1. In the Upload type, set the Column names from option to the name of the KFI job Type.

  2. In the Field Mappings Grid, the operator can apply the Source Field settings to the Target Field settings.
    In the example below the M-Files Target Field Customer is being populated by the KFI Source Field Customer ID. The M-Files Target Field Age is set to a static value of “15”.

  3. When all the mappings are complete, click Apply.

  4. Click OK to save the changes.

Display Record Number After Saving Record

To enable this setting, please refer to the How to articles.






JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.