M-Files User Guide
M-Files User Guide
M-Files User Guide
User Guide
M-Files | Contents | ii
Contents
1. Introduction..............................................................................................5
1.1. About This User Guide................................................................................................................ 5
1.2. Accessing This User Guide......................................................................................................... 6
1.3. Conventions Used in M-Files User Guides................................................................................. 6
1.4. M-Files Terminology.....................................................................................................................7
1.5. Getting Started with M-Files...................................................................................................... 11
1.6. Contacting Support.................................................................................................................... 12
2. Daily Use................................................................................................ 12
2.1. Accessing M-Files...................................................................................................................... 12
2.1.1. Accessing M-Files Desktop.......................................................................................... 13
2.1.2. Accessing M-Files Web................................................................................................13
2.1.3. Accessing M-Files Mobile............................................................................................ 14
2.2. Using M-Files Desktop User Interface.......................................................................................15
2.2.1. Listing Area.................................................................................................................. 18
2.2.2. Metadata Card..............................................................................................................19
2.2.3. Document Preview....................................................................................................... 20
2.2.4. Pinned Content.............................................................................................................21
2.2.5. Task Area..................................................................................................................... 23
2.2.6. Customizing M-Files Desktop User Interface...............................................................24
2.2.7. Keyboard Shortcuts in M-Files Desktop.......................................................................24
2.3. Managing Content...................................................................................................................... 25
2.3.1. Adding Content to Vault............................................................................................... 25
2.3.2. Removing and Archiving Content.................................................................................57
2.3.3. Editing Content............................................................................................................. 58
2.3.4. Object Relationships.....................................................................................................74
2.3.5. Document Collections...................................................................................................76
2.3.6. Using M-Files Desktop Offline..................................................................................... 78
2.3.7. Using M-Files Aino....................................................................................................... 80
2.4. Sharing Content......................................................................................................................... 82
2.4.1. Sharing to M-Files Users............................................................................................. 84
2.4.2. Sharing to People without Access to M-Files.............................................................. 84
2.5. Finding Content..........................................................................................................................87
2.5.1. Searching......................................................................................................................87
2.5.2. Using Views................................................................................................................106
2.6. User Settings............................................................................................................................120
2.6.1. M-Files Desktop Settings........................................................................................... 120
2.6.2. Setting Your Home Tab............................................................................................. 133
2.6.3. Setting Default Tab for Object................................................................................... 133
2.6.4. Editing Notification Settings in M-Files Desktop.........................................................134
2.6.5. Managing Vault Applications in M-Files Desktop....................................................... 138
2.6.6. Substitute Users......................................................................................................... 138
2.6.7. Changing the Software and Vault Language............................................................. 139
2.6.8. Changing the M-Files Password................................................................................ 140
2.6.9. Clearing the Local Cache of the Vault....................................................................... 140
2.6.10. Show Status............................................................................................................. 141
2.6.11. Refreshing External Objects.....................................................................................141
2.6.12. Updating M-Files...................................................................................................... 142
M-Files | Contents | iii
4. FAQ....................................................................................................... 626
4.1. Daily Use of M-Files................................................................................................................ 627
4.1.1. Can I do the same stuff with M-Files Mobile as with M-Files Desktop?..................... 628
4.1.2. How can I add a new item to a value list?................................................................ 631
4.1.3. How can I add a new property to a class?................................................................ 631
4.1.4. How can I create a document that is only visible to me?...........................................631
4.1.5. How can I create a new view in which the objects are displayed by customer?.........631
4.1.6. How can I find the documents I have created myself?.............................................. 632
4.1.7. How do I change the name of my computer without interfering with M-Files
functionality?.................................................................................................................... 632
4.1.8. Why can't I edit a document that has been checked out?......................................... 632
4.1.9. How does the duplicate detection feature work?....................................................... 632
4.2. Administration of M-Files......................................................................................................... 633
4.2.1. How can I add a new item to a value list?................................................................ 633
4.2.2. How can I add a new user to a vault?.......................................................................633
4.2.3. How can I add a new property to a class?................................................................ 634
4.2.4. How do I change the login account of a user?.......................................................... 634
4.2.5. How do I format the date in M-Files?........................................................................ 635
4.2.6. How do I import e-mail messages from a specific IMAP folder?................................636
4.2.7. What is the difference between a user and a login account?.................................... 636
4.2.8. Why are there objects with the same ID in the vault?............................................... 637
4.2.9. Why does the intelligence service not extract metadata from some of the files?........638
4.3. Maintenance of M-Files............................................................................................................638
4.3.1. How do I maintain the M-Files server machine?........................................................638
4.3.2. Why is my M-Files not as fast as it used to be?........................................................644
4.3.3. How do I migrate my document vaults to a new server?........................................... 650
4.3.4. How do the automatic updates work?........................................................................654
4.3.5. How much disk space do encrypting file data and taking backups require?.............. 654
4.3.6. How often should I make backups?...........................................................................655
4.3.7. How often should I reboot the M-Files server machine?............................................656
4.3.8. What is not included in the backups?........................................................................ 656
4.3.9. What kind of operations can I schedule to be run at specific intervals in M-Files?..... 657
4.3.10. How do I check the location of the active search indexes?..................................... 657
4.3.11. How do I check the full version number of M-Files Desktop and M-Files Server...... 658
4.3.12. How do I save a copy of M-Files errors in the Windows Application event log.........658
4.4. Common Problems for Document Vault Users........................................................................659
4.4.1. Why can't I access the document vault?................................................................... 659
4.4.2. Why can't I convert a document to PDF format or annotate a document?................. 660
4.4.3. Why can't I find the Checked Out to Me view?........................................................ 661
4.4.4. Why can't I save an email message as an Outlook message to M-Files?..................662
4.4.5. Why did a file with a grayed-out icon appear on the M-Files drive when I saved a
new document in Microsoft Word?..................................................................................662
4.4.6. Why do document timestamps have the wrong time?............................................... 662
4.5. General Questions................................................................................................................... 662
4.5.1. Where can I find more information when I need it?................................................... 662
4.5.2. What are the hardware requirements and recommendations?.................................. 663
4.5.3. What's new in this M-Files version?.......................................................................... 663
4.5.4. How do the automatic updates work?........................................................................663
4.5.5. Can I use M-Files programmatically?........................................................................ 664
4.5.6. How do I write VBScript code for M-Files purposes?................................................ 664
4.5.7. What is the difference between a named access control list (NACL) and a user
group?.............................................................................................................................. 669
Index.............................................................................................................................. 672
M-Files | 1. Introduction | 5
1. Introduction
This section contains common M-Files terminology and information about this user guide.
®
The M-Files knowledge work automation platform helps you easily store, organize, and access all kinds
of documents and information. Our revolutionary approach organizes content based on what something is
(and what it relates to) instead of where it is stored.
Instead of the traditional folder-based method, you have instant access to all of your content with search
or dynamic views. It is simple, dynamic, and flexible. From managing a wide variety of content to ensuring
regulatory compliance, M-Files has you covered.
Figure 1: M-Files organizes content based on what something is (and what it relates to) instead of where it is stored.
You can deploy M-Files on-premises, in the cloud, or a hybrid of both. For more information, see System
Overview.
In this chapter
In addition to the M-Files user guide, there are separate guides available for M-Files Web, M-Files
Hubshare, and M-Files Manage, each designed to help users get the most value out of these products.
You can find all the user guides from the M-Files User Guides page.
Refer to the Product Support section in M-Files Community for a full list of useful resources for users,
admins, and developers.
In M-Files Community, you can interact with other users, ask questions, share tips and best practices, and
ask help from M-Files experts. M-Files Help Center is a great resource especially for new M-Files users.
The M-Files knowledge base is a comprehensive collection of product guides for administrators who set up
and manage M-Files solutions or need technical information about the product. The knowledge base has
configuration instructions for the official M-Files add-ons and extensions.
The product guides tell you everything you need to know to set up and maintain an M-Files environment
best suited for your organization. The knowledge base includes detailed instructions and information
about a wide range of topics, such as collaboration, compliance, connectors, intelligence services, M-Files
clients, searches and indexing, security, permissions, authentication, server installation and maintenance,
and user synchronization.
You can find the product guides also in M-Files Support Portal. In the portal, you can also explore support
articles for useful tips, recommendations, and answers to previously asked questions. If you need more
help with your question, contact our customer support or your M-Files reseller.
If you are a developer or an M-Files system administrator, visit M-Files Developer Portal to find guides,
tutorials, and samples for software development.
You can also open the user guide with the M-Files icon on the Windows notification area, and with help
buttons in M-Files.
The user guide is also available as a PDF version. You can download it from the PDF icon in the
upper right corner of the web user guide.
Convention Description
<version> Indicates that you must replace the text enclosed in angled brackets
with information specific to your installation or environment. For
example, in the registry path HKEY_CURRENT_USER\SOFTWARE
\Motive\M-Files\<version>\Client, replace <version> with
the version number of your specific M-Files installation.
File > Save The > symbol indicates that you need to select an item from a menu.
For example, Settings > Applications indicates that you must open
the menu bar and select the Applications item from the Settings
menu.
Optional Indicates that a step in a task is optional and up to the users to
decide if they will complete the step.
Info Highlights important information related to a specific step in a task.
This information is always under the related step.
Example Highlights an example of how a given step is completed. This
information is always under the related step.
Result Highlights a description of the expected results after you have
completed a task step.
Bold Bolded text indicates user interface elements, such as buttons, menu
items, and dialog names.
Examples:
Click OK to continue.
Term Definition
M-Files software The M-Files document management software consists of the following components:
M-Files Desktop, M-Files Admin, M-Files Desktop Settings, Show Status and M-Files
Server. You can also use M-Files with a web browser (see Accessing M-Files Web) or
a mobile device (see Accessing M-Files Mobile).
File vs. document An example of a file is a memo created using Microsoft Word and saved on the C:
drive. The file becomes a document only after you have associated metadata with it.
Once you have installed M-Files and start transferring existing files to M-Files, you
add metadata to the files to make them documents.
In addition to documents, an M-Files vault can also store other types of objects, such
as customers, assignments, or project data.
M-Files | 1. Introduction | 8
Term Definition
Multi-file A multi-file document is a special M-Files document type that can contain more than
document one file. The files share one set of metadata.
Typical uses include linking of an electronic document with its signed and scanned
counterpart, an email and all its attachments, or any such case where files need to be
linked together and treated as one unit.
Metadata Metadata consists of information about the document's properties, such as the parties
of a contract or the recipient of a letter. Metadata is used to, for example, search for
and organize documents.
Document Each document can be assigned permissions to specify the access rights of a user or
and object user group. The permissions can be either allowed or denied separately.
permissions
One user can have allowed or denied permissions in two different ways: the
permissions have been specified for that particular user, or the user belongs to a
user group for which the permissions have been specified. If no permissions have
been specified for a user, the user cannot view the document or access it in any
way. If certain permissions have been allowed, the user can perform the procedures
determined by these permissions.
Vault A vault is a centralized storage location for documents and other objects. Its physical
location is on the server running M-Files Server. Regardless of the physical location,
all users see the document vault as a directory on their local computer's M-Files drive.
This means that using a document vault is similar to using a local hard drive.
View Views are locations in which the documents and other objects are listed based on the
metadata they contain.
Virtual folder The objects and documents in the views include virtual folders (property folders).
Virtual folders enable sorting documents in the view into categories.
Traditional folder You can create traditional folders in M-Files. These folders do not have the additional
properties provided by views. Traditional folders are comparable to, for example,
folders on your C: drive and can be used for importing files to M-Files. Traditional
folders allow you to retain the original folder structure of the imported files.
Client A client is the regular M-Files user's computer or mobile device and the software
installed on it. The regular user performs operations like creating documents and
exploring the document vault.
M-Files | 1. Introduction | 9
Term Definition
Object type By defining object types, you can create different types of objects. Document is one of
such object types, one that every vault contains. In addition, the M-Files administrator
can create other object types for the vault, such as customer, contact, and project.
This way, you can use M-Files to, for example, store the company's customer and
project databases.
Object The term object refers to instances of various object types – that is, individual objects
created using object types. For example, one contact person in the document vault is
an object.
Most functions are identical for documents and for other objects. This user guide often
represents operations as being performed on documents, but the same operations
are available for document sets and other objects. An individual document can
therefore also be thought of as an object.
Document Document collections are collections of individual documents in the document vault.
collection Each collection member document has its own metadata. In addition, the document
collection has a collective set of metadata independently of member documents
(compare with multi-file document).
Each document in the collection can still be accessed as an individual document but
also through the document collection.
Relationships You can also define the relationships between objects. Using relationships you can,
for example, indicate that two documents are related. Relationships enable easy
tracking of all documents related to an issue.
Template You can use another object as a template for creating a new object. When you select
a template from the list, the metadata card adjusts itself to the specifications of the
template object.
Workflow The M-Files Workflow feature enables modeling object lifecycles according to real
world processes. The workflow is grouped into states that correspond to the working
stages of the document or other object. The M-Files administrator can easily define
workflows to meet company requirements. For more information on workflows, see
Configuring Workflows.
Server M-Files Server runs on a server computer. Clients connect to the server and retrieve
data so that the contents of the document can be viewed on the clients. The server is
the physical location of the document vault.
M-Files | 1. Introduction | 10
Term Definition
Login account Login accounts are server-level (or in some cases vault-level) accounts that are used
for authenticating users to M-Files Server. A login account can be associated with
multiple users, but only one user per vault. Compare with users.
User Users are vault-level objects that store user-specific settings and user history and
that have permissions to perform specific operations in a vault. A user is linked to one
login account. Compare with login accounts.
Managed object A managed object is either an internal M-Files object stored in a document vault or
a promoted external repository object. Managed objects have metadata in M-Files
and can be managed using various M-Files functionalities, such as version history or
workflows. A managed external repository object can be demoted to an unmanaged
object by removing its metadata.
Compare with unmanaged object and see Unmanaged and Managed Objects.
Compare with managed object and see Unmanaged and Managed Objects.
Repository A repository is any accessible place where information can be stored and accessed,
such as an M-Files document vault, or an external location such as a network folder
or a SharePoint site.
External A repository that is other than an M-Files vault and the contents of which are
repository displayed and can be edited via the M-Files user interfaces.
Term Definition
Connector A vault application that lets an external repository to be shown and accessed with M-
Files.
Intelligence An intelligence service is a vault application that attempts to understand vault content
service the way humans do. They can, for instance, be used to analyze file content and
existing metadata for automatically categorizing content or for providing end users
with metadata suggestions.
Vault application Vault applications are pieces of software that are installed to a document vault to
extend the functionality of the vault. See Installing and Managing Vault Applications
for more information.
Quick view area The area on the left side of the home screen, containing a number of quick views,
such as Recently Accessed by Me, Assigned to Me, and Checked Out to Me.
The table given here contains links to help you get started with the use of M-Files. Many of the linked
sections put focus on the use of M-Files Desktop, but many of the concepts and procedures are usable in
all M-Files clients. There is a separate user guide for M-Files Web.
You can also log in to M-Files Support Portal to create a support ticket. For instructions on the details to
include in the ticket, refer to the article Basic Information to Submit for M-Files Support. If you purchased
your M-Files subscription from an M-Files reseller or partner, contact the reseller instead.
If phone support is included in your subscription, you can call our customer support. See the phone
numbers at https://www.m-files.com/about/contact.
For information about our support scope, service availability, response times, and priority levels, refer to
https://www.m-files.com/product-support-policy.
2. Daily Use
This section gives information about the day-to-day use of M-Files.
This section tells you how to access M-Files, use M-Files Desktop, and manage, share, and find content in
M-Files. You can also find information about the user settings in M-Files Desktop.
If you are a new M-Files user, we recommend that you visit M-Files Help Center to learn the basics of M-
Files.
In this chapter
• Accessing M-Files
• Using M-Files Desktop User Interface
• Managing Content
• Sharing Content
• Finding Content
• User Settings
You can access M-Files with M-Files Desktop, M-Files Web, and M-Files Mobile.
In this chapter
When M-Files Desktop is installed and your vault connections are set up, you see all the vault connections
on your M-Files drive in File Explorer. To use M-Files, click the icon on your desktop. You can also use the
Microsoft Windows start menu or the M-Files drive in File Explorer.
Logging in
To log in, double-click a vault on the M-Files drive. To log in as a different user, right-click the vault and
select Log In as. If M-Files cannot use your Windows credentials for the login, the system asks you for
your credentials when you open the vault.
Logging out
To log out, click your initials in the top-right corner of the user interface and select Log Out.
You can go to M-Files vaults also with M-Files Web. M-Files Web is a browser-based M-Files client that
lets you use the basic M-Files functions.
There are two versions available: the classic M-Files Web and the new M-Files Web. The user interfaces
for the two versions are almost the same as in M-Files Desktop. With the classic M-Files Web, see the
Using M-Files Desktop User Interface section for more information about the user interface components.
The new M-Files Web has its own user guide.
You can get the address of M-Files Web in your organization from your system administrator.
In M-Files Web, you can use M-Files Web Companion to edit content with desktop applications. With the
classic M-Files Web, you can use the M-Files for Chrome extension.
1. In your web browser, go to the M-Files Web address given by your system administrator or an M-Files
consultant.
If the name of your vault is Sales Tracker, the address can be https://sales-tracker.cloudvault.m-
files.com for cloud-based deployments or http://sales-tracker.mydomain.com for on-premises
vaults. In your corporate network, the connection protocol can be HTTP instead of HTTPS.
2. Enter your login credentials or select Log in with current Windows credentials.
M-Files | 2. Daily Use | 14
3. Optional: If you have access to many vaults, select the vault to which to connect.
If you have access to only one vault, you are automatically connected.
M-Files is also available as a mobile application for iOS and Android devices.
You can download the latest version of the mobile applications from your application store:
Application language
For information about editing Office 365 documents with M-Files Mobile, refer to Editing Office Documents
in M-Files Mobile with O365 Integration in M-Files Support Portal.
1. Contact your vault administrator or an M-Files consultant to get the login information of the vault.
3. On the login screen, enter the full server address, your username, and password.
If the name of your vault is Sales Tracker, the address can be https://sales-tracker.cloudvault.m-
files.com for cloud-based deployments or http://sales-tracker.mydomain.com for on-premises
vaults. In your corporate network, the connection protocol can be HTTP instead of HTTPS.
For cloud vaults hosted in M-Files Cloud, M-Files recognizes the server address even if you only
enter the sales-tracker part. However, to make sure that the correct protocol and address are
used, we recommend to always use the full server address.
5. Optional: If you have access to many vaults, select the vault to which to connect.
If you have access to only one vault, you are automatically connected.
You can add a vault connection for M-Files Mobile with a QR code shown in M-Files Desktop and in M-
Files Web.
1. Open M-Files Desktop or M-Files Web and the vault to which you want to connect with M-Files Mobile.
M-Files | 2. Daily Use | 15
2. Click your initials in the top-right corner of the user interface and select Use with M-Files Mobile.
a. Long-press the M-Files app icon on your mobile device and select Scan Barcode.
or
b. Open the M-Files app on your device and start to add a new vault connection. Tap the QR code icon
( ) in Server address.
5. Tap Connect.
For more information, refer to Easy M-Files Mobile Vault Connection with a QR code from M-Files Desktop
and Connecting to Vaults with QR Codes in M-Files Mobile in M-Files Support Portal.
1. Top area
M-Files | 2. Daily Use | 16
2. View navigation
3. Listing area
4. Right pane
5. Task area
Top area
• M-Files logo
• Connection status
• Navigation path
• Search field and search options
• Object creation icon
• Link to M-Files Help Center
• User menu icon
M-Files logo
Click the M-Files logo to go to your home tab. To change which tab the logo link opens, see Setting Your
Home Tab.
Connection status
The connection status icon ( ) shows the status of your connection to the vault. The connection is
measured with the round-trip time to the server that hosts the vault. Click the connection status icon to
open the Connection Status dialog. If your connection is slow or there is no connection to the server,
contact your M-Files system administrator. Click Refresh to refresh the information of your connection
status or Analyze Connection to see details about your connection.
Navigation path
The navigation path shows you where you are. In practice, it contains the name of the current view and of
all its parent views. The path can be, for example, Sample Vault > Documents > By Customer > A&A
Consulting.
Searching
Use the search bar to find your documents and other objects. For more information, see Searching.
Creating objects
Click Create ( ) to create an object. For more information, see Creating Documents and Creating Non-
Document Objects.
M-Files Help Center is a great resource for new M-Files users. Click the question mark icon ( ) to get
started.
M-Files | 2. Daily Use | 17
View navigation
The bar below top area contains a number of useful views. For example, these views:
Listing area
The listing area in M-Files Desktop usually contains views and objects. For more information, see Listing
Area.
Right pane
The contents of the Metadata, Preview, Filters, and Aino tabs are shown in the right pane. To hide the
right pane, click the active tab. For example, Metadata or Preview. You can drag the left border of the
metadata card and preview window to resize them.
Metadata card
To see and change the metadata of the selected object, use the metadata card. For more information, see
Object Metadata and Metadata Card.
Preview
In the preview mode, you can browse and copy the content of the selected document. For more
information, see Document Preview.
Filters
When you search for an object or a document, you can use the advanced search features on the Filters
tab. In the Filters tab, you can give more specific search criteria for your search. For more information, see
Search Filters.
Aino
To summarize a selected document or to get responses of the document content, use M-Files Aino. For
more information, see Using M-Files Aino.
Note: If the M-Files Aino tab is not shown, it can be that M-Files Aino is not available in your
platform edition or not set up. The setup instructions for M-Files admins are available in M-Files
Catalog.
Task area
In the task area, you can see shortcuts to different M-Files Desktop operations. For more information, see
Task Area. Click the handle on the right edge of the task area to hide it.
User menu
• About M-Files
M-Files | 2. Daily Use | 18
In this chapter
• Listing Area
• Metadata Card
• Document Preview
• Pinned Content
• Task Area
• Customizing M-Files Desktop User Interface
• Keyboard Shortcuts in M-Files Desktop
The listing area in M-Files Desktop usually contains views and objects. The listing area and Windows
File Explorer operate very similarly. One difference is that for an object in M-Files Desktop, you can use
the arrowheads to show and hide related objects and files. There are two types of arrowheads: The filled
arrowhead ( ) shows that the object contains files and the hollow arrowhead ( ) shows that the object
has metadata-based relationships to other objects.
Objective Instructions
Change the sort order of the objects in the listing Click a column heading in the listing area.
area.
Change the sort order to ascending or descending. Right-click a column heading and select a sort
order.
Select secondary, tertiary, and other sort orders. Hold down the Ctrl key and click another column
heading.
Add more columns to the listing area. Right-click on the column heading area and select
Choose Columns.
For information on how the search results are grouped, see Search result grouping.
If an item name in the listing area is shown in gray text, the full item path is too long for Windows (more
than 259 characters). It is thus necessary to rename parts of it to make sure that the content operates
properly. If you use Microsoft Windows 10 or later, you can ask your system administrator to enable longer
item paths.
M-Files | 2. Daily Use | 19
If the Size column for an object is empty, the size of the object is temporarily unknown. When the object is
opened, the size of the object is updated in the Size column.
The metadata card contains important information about the object. For example, the title, creation time,
author, and class of a document. Click the Metadata tab to open or close the metadata card or drag the left
border of the window to resize it.
Tip: To open the metadata card in a separate window in M-Files Desktop, select an object in the
listing area and press Alt + Enter. For more keyboard shortcuts for M-Files Desktop, see Keyboard
Shortcuts in M-Files Desktop.
Click the different parts of the screenshot for a description of the metadata card sections.
1. Object comments
2. Metadata card option ribbon
3. Object metadata
M-Files | 2. Daily Use | 20
4. Object permissions
5. Object workflow
Object comments
Click the comments icon ( ) to see the comment view. In the comment view, you can see and add
comments to the object. For more information, see Object Comments.
The option ribbon contains options related to the selected object and the metadata card.
Icon Action
Opens the History dialog of the object.
Sets the object as followed or unfollowed. When the object is set as followed, you get an email
notification when someone changes the document. For more information on notifications, see
Editing Notification Settings in M-Files Desktop.
Note: The person who changed the object does not get a notification.
Object metadata
Metadata helps you to find objects in M-Files. Metadata is the information related to an object. For more
information, see Object Metadata.
Object permissions
Click the permissions area to open the Permissions dialog. In the dialog, you can change the permissions
for the object. For more information, see Object Permissions.
Object workflow
Use the workflow options select a workflow and a workflow state for an object. For more information, see
Workflows.
M-Files shows the document preview for the file types listed on this page. Click the Preview tab to open or
close the document preview or drag the left border of the window to resize it.
To zoom PDF files on the Preview tab, right-click and select Zoom In Tool. Right-click again to use the
different zoom tools.
M-Files | 2. Daily Use | 21
On the Preview tab, you can see the content of these file types:
It is possible to extend the support for other file types. For example, DWG files. To do this, you must have
a compatible third-party application set up and set it as the default application for that file type. However,
this is necessary only for file types that are not listed here.
The Pinned tab lets you collect items that you frequently use into a single tab. Click the Pinned tab in the
view navigation bar to see your pinned items.
Click the arrow in front of a group name to expand or collapse a group of pinned items. Use the options
at the top of the Pinned tab to filter pinned items by name, add a group to the Pinned tab, or expand or
collapse all groups.
Click an item on the Pinned tab to see its metadata or preview in the right pane. Double-click the item to
do the default action of the object. To move a pinned item on the Pinned tab, drag and drop the item.
Click the three dots icon ( ) to show more options. For example, you can rename a pinned item. This
changes the name of the shortcut but not the name of the item.
M-Files | 2. Daily Use | 22
The Favorites functionality is no longer part of the most recent versions of M-Files. You can instead pin
items and move content from Favorites to the Pinned tab.
Pinning an item
1. In M-Files Desktop, find and select the item that you want to pin.
a. Drag and drop the item from the listing area to the Pinned tab in the view navigation bar.
or
or
c.
Click the Pin icon ( ) on the option ribbon of the metadata card.
By default, the item is pinned to the Ungrouped group. To unpin an item, click the three dots icon ( )
and select Unpin.
To add a group:
2.
Click the plus icon ( ) at the top of the Pinned tab.
To rename a group:
M-Files | 2. Daily Use | 23
2.
Click the three dots icon ( ) and select Rename.
To remove a group:
4.
Click the three dots icon ( ) and select Remove.
5. Optional: If the group contains pinned items, select one of these options in the Remove Group dialog:
Option Action
Unpin Removes the group and unpins the pinned items
that it contains.
Keep Pinned Removes the group and moves the pinned items
to the Ungrouped group.
3. In the Favorites view, select the items that you want to move.
In the task area, you can see shortcuts to different M-Files Desktop operations. Click the gray vertical
handle on the left side of the user interface to show or hide the task area.
Section Content
Create Quick links for object creation. For more information on how to create objects, see
Creating Documents and Other Objects.
Go To A list of predefined links to the most commonly used views.
When you have selected an object in the listing area, you can see also the sections View and Modify and
State transition in the task area.
Section Content
View and A list of object-specific operations. For example, Check Out and Check In.
Modify
State A list of the available state transitions for the selected object. For more information, see
transition Changing the Workflow State in the Task Area.
Note: The Change State command is shown in the task area only if the object
has a workflow and you have the permission to change the workflow state.
M-Files | 2. Daily Use | 24
You can customize the shortcuts of the View and Modify and Go To sections.
Objective Instructions
Add or hide shortcuts in the View Right-click an empty space in the task area and select or unselect a
and Modify section. shortcut from Commands.
Add an object shortcut to the Go Select the object, open the menu bar with the Alt key, and select
To section. Operations > Add Shortcut to Task Area.
Add a view or virtual folder Right-click on a view or virtual folder and select Add Shortcut to
shortcut to the Go To section. Task Area.
Rename, remove, or move Right-click a shortcut in the task area and select a command.
shortcuts in the Go To section.
You can change display settings with the Display Mode options. Right-click an empty space in the listing
area and select Display Mode to see the settings.
You can also set the Metadata card or the Preview tab as a default tab in M-Files Desktop. For more
information, see Setting Default Tab for Object.
In this chapter
This section tells you how to add content to your M-Files vault.
In this chapter
• Saving to M-Files
• Creating Documents and Other Objects
M-Files | 2. Daily Use | 26
Saving to M-Files
When you save files to your M-Files drive, the information is not usually stored on your personal hard drive.
In M-Files Desktop, you see the M-Files drive in File Explorer like other hard drives.
When you save a file to M-Files, M-Files asks you to add metadata. For more information, see Object
Metadata.
You can save many files to M-Files with drag and drop, copy and paste, and the Import Files and Folders
dialog.
Tip: To save many files with the same metadata, enable Use these values as defaults for the
next document.
Tip: Use Skip This to select not to save a file to M-Files. You can do this when you save many
files to the vault.
If you try to save a file that is already in the vault, M-Files lets you know. M-Files shows you the duplicate
documents to which you have permissions. For information on how the detection is done, see the How
does the duplicate detection feature work? page.
Duplicate file content is shown in the listing area and when you add new content to the vault.
• Listing area: To see the documents with duplicate file content, expand the object. The duplicate
documents are shown under the Duplicate File Content node.
• When you add new vault content: If M-Files detects documents with duplicate file content in the vault, it
shows the Duplicate File Content dialog. In the dialog, select Do Not Create or Create Anyway.
If you save many files, enable Do this for the next duplicate documents to use the same selection for all
the duplicate documents that M-Files finds during the operation. This option is not available with the Save
As function.
In this chapter
2. Drag and drop the file to an empty space in the listing area in M-Files.
Note: In some views that are opened through the Browse relationships feature, M-
Files can usually fill in all the mandatory properties for example based on the associated
project. In this case, the New Document dialog is not shown when you drag and drop
files to M-Files Desktop.
3. Select a class for the file from the Class drop-down menu.
5. Click Create.
3. Go to the M-Files window, right-click on an empty space in the listing area, and select Paste.
4. Select a class for the file from the Class drop-down menu.
6. Click Create.
For information on how to save your work from a Microsoft Office application (Office 2013 or later) to M-
Files, see Example: Saving a Microsoft PowerPoint Presentation to M-Files with the M-Files Tab. For
information on how to save your work from other desktop applications to M-Files, see Example: Saving a
Microsoft PowerPoint presentation to M-Files.
Example: Saving a Microsoft PowerPoint Presentation to M-Files with the M-Files Tab
6. Select a class for the file from the Class drop-down menu.
8. Click Create.
a. Click the Computer location and, in the right pane, double-click M-Files.
or
b. Click the arrow next to Computer to expand the location and click M-Files.
7. Select Save.
8. Select a class for the file from the Class drop-down menu.
10.Click Create.
Note: Your administrator can use external repository connectors to import files from a network
drive. Before you import files or folders, make sure that the same content is not already in the vault.
When you save a folder with subfolders or many individual files together, M-Files can keep the old folder
structure. If you want the folder structure to stay the same, M-Files organizes the saved contents into
traditional folders. To do this:
M-Files | 2. Daily Use | 29
1. In M-Files Desktop, press the Alt key to open the menu bar.
4. Select:
or
b. Preserve old folder structure to keep the folder structure. To import the content, select a folder for
it in M-Files. To create a new folder, click New Folder.
5. Optional: If you do not want to add metadata for the imported content, disable Prompt for metadata.
6. Click OK.
If you checked the Prompt for metadata check box, do the steps from 7 to 9 for each file you import.
7. Select a class for the file from the Class drop-down menu.
9. Click Create.
The folder is imported to M-Files. If you chose the Preserve old folder structure option, the imported
folder appears as a new traditional folder in M-Files.
This section tells you how to create new objects in the vault. For information on differences between
documents and other object types, see the definition of an object.
In this chapter
• Object Metadata
• Creating Documents
• Creating Non-Document Objects
• Adding Content from Scanner
• Replacing the Content of a Document File
• Object Permissions
Object Metadata
Metadata helps you to find objects in M-Files. Metadata is the information related to an object. For
example, the creation date, the class, and the name of an object are all metadata. The more you enter
metadata for an object, the easier it is to find the object when you need it.
Objective Instructions
Edit property values Click a property. Mandatory fields show an asterisk (*).
Add properties Click Add property at the end of the property list.
Remove added
properties Click the remove icon ( ) next to the property name.
Change the workflow See Changing the Workflow State on the Metadata Card.
state
Change permissions of See Editing object permissions.
the selected items
Click Save to save the changes and create a new version of the object.
Tip: You can use keyboard shortcuts when you edit object metadata. For more information, see
Shortcuts for the metadata card.
Metadata suggestions
When Intelligent Metadata Layer and intelligence services are set up, M-Files shows metadata suggestions
for a new document.
Click a suggestion to add it as a value for the property above the suggestion. If there is a plus sign (+) on
the left of the suggested value, the value is added as a new object or value list item. Some property types
let you add more than one of the suggested values.
Click a property to activate the metadata card toolbar. The toolbar is available for properties that use a
value list. The toolbar can include these options:
Icon Action
Adds a field to a multi-select property.
Objective Instructions
Select a list of objects Click the first object, hold down the ⇧ Shift key, and
click the last object.
M-Files | 2. Daily Use | 31
Objective Instructions
Select many individual objects Click the first object, hold down the Ctrl key, and
select the other objects.
Select all objects Use the shortcut Ctrl + A.
Tip: When you edit the permissions of many objects, we recommend for performance reasons that
you do not make other metadata changes at the same time.
The metadata card shows all the properties of the selected objects. See this table for descriptions of the
special property values used when you have selected objects that have a different value for the same
property:
Value Description
The values of the selected objects are different.
When you edit a value, you change the value for all the selected objects. For example, if you replace
(varies) with a new value, it is set for all the selected objects.
Creating Documents
You can create documents normally and save them directly to the M-Files drive. You can also create other
types of objects, such as customers or assignments. See Creating Non-Document Objects and Creating
and Completing Assignments for more information.
To start the creation of a document click Create ( ) and select Document. The new document dialog
helps you to select the correct template and class for the document. You can also use search to find a
template, or select a class to show only the templates available for that class.
Select All to show all available templates and file formats. Recently Used shows all the templates you
have recently accessed. Blank shows all file formats available for a document.
Click Next to open the metadata card for the new document. Properties marked with an asterisk (*) are
mandatory.
M-Files | 2. Daily Use | 32
Tip: You can use keyboard shortcuts when you edit object metadata. For more information, see
Shortcuts for the metadata card.
Tip: Use permissions to specify who can view, open, or edit the document.
When you are ready with the metadata, select whether you want the document to be opened for editing
(Open for editing) or available to others immediately (Check in immediately). Finally, click Create to
save your changes.
When you create a document in another application, you enter the metadata when you save the document
to the vault on the M-Files drive.
The Convert to Document operation is available for files that are imported to M-Files with an unusual
procedure, for example with command prompt. M-Files shows these temporary local files with a gray
icon. To convert a temporary local file to an M-Files document, right-click the file and click Convert to
Document.
In this chapter
2.
Click Create ( ).
3. Click Document.
4. Select a template:
or
b. From the Select class drop-down menu, select a class and select a template.
or
c. Select a template from the Recently Used, All, or Blank quick lists.
5. Click Next.
7. Enter the object metadata. Mandatory fields are shown with an asterisk (*).
To add more metadata fields, click Add property below the last metadata property on the list.
M-Files | 2. Daily Use | 33
8. Optional: Click the permission options at the bottom of the dialog to set permissions for your document.
9. Optional: Click the workflow options to select a workflow and a workflow state for the document.
a. Select Open for editing to change the content before you check in the document.
or
b. Select Check in immediately to add the content to the vault after you click Create.
11.Click Create.
You can use templates when you create documents in M-Files. Templates can be specified to add a
predefined set of metadata and content to the document. For example, a proposal template or an order
template.
To set a document or other object to be a template, add the property Is template to the metadata and
set the value to Yes. Templates are class-specific, but you can specify the template to be used for other
classes with the Additional classes property.
Note: When you want to save a document as a document template to be used in M-Files, save the
document as an Microsoft Office document, that is, in the format .doc(x), .ppt(x), .xls(x) or similar.
Do not use the template formats offered by Microsoft Office applications (for instance the Word
template, .dotx).
For more information, see New Class, as well as Automatic Values for information on using document
templates with automatic values.
A single-file document contains only one file. For example, a PDF or a Word document.
A multi-file document ( ) usually contains many files. For example, you can include a proposal and its
attachments, which are single-file documents, in the same multi-file document. You can double-click the
multi-file document to see its content.
When a multi-file document contains only one file, you can convert it to a single-file document: Right-click a
multi-file document and click Convert to Single-file Document.
To convert a single-file document to a multi-file document, right-click a single-file document and click
Convert to Multi-file Document.
M-Files | 2. Daily Use | 34
In this chapter
The Add File function can be used for creating new document files for a multi-file document.
Note, however, that a multi-file document in M-Files does not equal to a folder in Windows. A multi-
file document is a single document that contains zero or more document files and one common set of
metadata. A document file is a fixed component of a multi-file document. For example, a contract scanned
from a paper copy can be a multi-file document and its pages can be the document files.
Note: Use the Import File function to add an existing file to the multi-file document. You can also
drag and drop a file to a multi-file document.
The document is checked out to you and a new file representing the type of your choice is
added to the multi-file document.
In addition to documents, you can create other objects like customers and projects. You can therefore use
M-Files to manage, for instance, your customer database by adding and editing customer objects in the
document vault. Similar to documents, objects such as customers and projects have a metadata card, but
they can exist without any files. They are also deleted and edited the same way as documents.
When you start to create a new object, the first thing you see is the metadata card. After you have entered
the values for the mandatory fields (marked with an asterisk), the object can be saved with Create.
The Check in immediately option is selected by default to make sure that the new object is saved to
the repository immediately after you click Create. You can leave the object checked out to you to add
metadata to it before you save the information to the vault.
Object types are specified with M-Files Admin. For more information, see Object Types.
4. Click Create.
This section offers instructions on how to add new files to the vault or to replace existing vault content from
a scanner.
In this chapter
2. Optional: If the Select Source dialog appears, select your scanner from the list and click Select.
5. Optional: If the Conversion to Searchable PDF dialog appears, select Convert if you want to convert
the scanned document into a searchable PDF. Otherwise, click Skip Conversion.
For more information on converting scanned documents to searchable PDFs, see Scanning and
Text Recognition (OCR).
6. When the New Document dialog is shown, enter the metadata and click Create.
Complete the steps given here to add documents from a scanner to a multi-file document. For instructions
on converting single-file documents to multi-file documents, see Single-File and Multi-File Documents.
1. In M-Files, locate the multi-file document for which to add a file from the scanner.
2. Right-click the multi-file document and select Add File > Add File From Scanner.
3. Optional: If the Select Source dialog appears, select your scanner from the list and click Select.
6. Optional: If the Conversion to Searchable PDF dialog appears, select Convert if you want to convert
the scanned document into a searchable PDF. Otherwise, click Skip Conversion.
For more information on converting scanned documents to searchable PDFs, see Scanning and
Text Recognition (OCR).
Note: The multi-file document only has one set of metadata. The files in the document do not have
separate metadata.
1. In M-Files, locate and select the document that you want to replace with a document from the scanner.
Single-file documents and documents in a multi-file document can be replaced with a document
from the scanner.
2. Press Alt to show the menu bar and select Operations > Scanning and Text Recognition (OCR) >
Replace with File from Scanner.
Alternatively, you can right-click the document and select Scanning and Text Recognition
(OCR) > Replace with File from Scanner.
3. Optional: If the Select Source dialog appears, select your scanner from the list and click Select.
6. Optional: If the Conversion to Searchable PDF dialog appears, select Convert if you want to convert
the scanned document into a searchable PDF. Otherwise, click Skip Conversion.
For more information on converting scanned documents to searchable PDFs, see Scanning and
Text Recognition (OCR).
M-Files | 2. Daily Use | 37
The existing document in M-Files is replaced with the document from the scanner.
Scanning and Text Recognition (OCR)
You can add paper documents to M-Files with a scanner. To use the scanning features, press the Alt
key and click Operations from the menu bar. When a document scan is complete, M-Files suggests the
scanned file to be converted to a searchable PDF with optical character recognition (OCR).
M-Files automatically suggests the character recognition if you drag and drop an image to M-Files. You
can also convert non-searchable PDFs and images to searchable PDFs manually with the context menu of
the file.
You can use optical character recognition with these file formats:
• TIF
• TIFF
• JPG
• JPEG
• BMP
• PNG
• PDF
TIFF files that use an alpha channel or JPEG compression are not supported.
• The OCR features in M-Files do not support mass operations. They are meant for conversions of a
small number of files at a time.
• For information about network scanning, see Scanner Sources.
• The scanner integration in M-Files Desktop uses the TWAIN and WIA technologies. Only scanners with
a TWAIN or WIA driver are supported.
• System administrators can change settings for scanning and optical character recognition in Advanced
Vault Settings. The settings are in the section Configuration > Scanning & OCR.
• If text recognition is done to an image that is not saved to M-Files, the file is saved as a PDF.
Otherwise, you can find the original image file in the version history of the object.
2. Optional: In the Conversion to Searchable PDF dialog, check the Use automatic language
detection checkbox to set M-Files to automatically detect the document language.
3. Optional: In the Conversion to Searchable PDF dialog, click Advanced to improve the quality of the
text recognition by selecting primary and secondary language options to match the language used in
the image.
Opening the advanced options disables the option to use automatic language detection.
5. Once the conversion is complete, the New Document dialog appears. Finish importing the image by
filling in the metadata and clicking Create.
M-Files | 2. Daily Use | 38
The image file is imported to to the vault as a searchable PDF, allowing you to locate it by using the M-
Files search functions.
Converting an Image File Stored in M-Files to a Searchable PDF
1. In M-Files, locate the image file that you want to convert to a searchable PDF.
2. Right-click the file and select Scanning and Text Recognition (OCR) > Convert to Searchable PDF
from the context menu.
3. Optional: In the Conversion to Searchable PDF dialog, check the Use automatic language
detection checkbox to set M-Files to automatically detect the document language.
4. Optional: In the Conversion to Searchable PDF dialog, click Advanced to improve the quality of the
text recognition by selecting primary and secondary language options to match the language used in
the image.
Opening the advanced options disables the option to use automatic language detection.
The image file is converted into a searchable PDF and any textual content in the image can be found using
the search functions of M-Files.
Replacing the Content of a Document File
You can use the Replace with File command to select another document or file whose content (data in the
file) is to replace the content of the selected document.
The first version of the replaced document file will nevertheless be kept, as M-Files made a new version
of the document when it was checked out. The metadata remains unchanged, so the command affects
the contents of the file only. You can view the version history by opening the History dialog (see Version
History).
1. Right-click the document file the content of which you want to replace.
2. Press the Alt key and select Operations > Replace with File.
3. Locate and select the file that you want to use for replacing the original file content.
4. Click OK.
The content of the original file is replaced with the content of the file that you selected. Document metadata
is unaffected.
Object Permissions
To open the Permissions dialog of an M-Files object, click the permissions area at the bottom of the
metadata card.
You can quickly select the document permissions with named access control lists.
To edit the object permissions, click the Permissions area on the metadata card. The object has
automatic permissions if the Selected permission settings section of the Permissions dialog shows a
M-Files | 2. Daily Use | 39
list with columns Source, Description, and Active. To edit these permissions, see Permissions from many
sources.
If the object does not have automatic permissions, you can select Full control for all internal users, Only
for me, or the drop-down menu to use a named access control list.
To specify other permissions, click Edit. In the dialog that opens, unselect Use named access control
list. Click Add to show all users, user groups, and pseudo-users registered in M-Files, and edit the
permissions for them. Click Remove to remove users, user groups, and pseudo-users from the access
control list. To specify what the users can do with the object, see Allowing and denying permissions.
Tip: When you edit the permissions of many objects, we recommend for performance reasons that
you do not make other metadata changes at the same time.
If the effective permissions of the object come from many sources, meaning that – in addition to its own
permissions settings – its access rights are affected by automatic permissions, the Permissions dialog
displays the sources in the Selected permission settings section.
M-Files | 2. Daily Use | 40
In the Permissions dialog, you can select the final permissions of the object. In order for any specific
permission, such as read or edit access, to be granted for a specific user, all of the permissions in effect, at
all levels, must allow it simultaneously.
The Selected permission settings section contains the columns explained below.
Source
The Source column indicates the source from which the object has received a given permission. In
the example image further above, the object has automatic permissions granted through the project IT
Training, and the object's own permissions (This object). Both of them restrict the final permissions of the
object.
Description
M-Files | 2. Daily Use | 41
The Description column provides descriptive text for the permission. If you have created an automatic
permission rule based on a value, a value list, or an object type and named it, the name is displayed in this
column.
Active
If you can bypass the automatic permissions when you specify automatic permissions for the relevant
value, value list, or object type, you can deselect the permission in question to deactivate the automatic
permissions given through the value. This causes the permission setting to no longer be active and
influence the final permissions of the object.
To specify what the users are allowed to do with the object, go to the Permissions dialog and click Edit.
The available options are All, Change permissions, Remove, Edit, and Read. You can allow a permission
by selecting Allow and deny it by selecting Deny.
A user with Read permissions is allowed to open the files contained by the object, as well as to view its
properties. The user cannot check out the document, and is thus not able to make any changes to it. If the
user does not have Read permissions to the document, it will not be visible to the user in views or search
results.
Edit permissions enable users to freely edit the document. These permissions automatically include Read
permission and Edit permissions. Edit permissions do not encompass any deletion rights.
Remove permissions allow users to delete the document but not destroy it altogether. Deletion rights do
not encompass any other rights.
The right to Change permissions determines whether the user is allowed to change the permissions for
the document in question. These permissions do not include any other permissions, and they can be used
independently of the other permissions.
Note: Users with the right to Change permissions enable them to specify any other permission for
themselves.
Example
Denied permissions always take precedence over allowed permissions. This means, for instance, the
following: User A is a member of user group B. User group B has the Edit permission for document C.
User A, on the other hand, does not have Edit permissions for document C. Even though user A has Edit
permissions for document C by means of user group B, user A cannot modify the document, because it
has been separately denied from user A.
In this chapter
• Effective Permissions
• Pseudo-users
Effective Permissions
An object may have various permissions of its own, as well as automatic permissions. All these
permissions restrict the use of the object when the extended automatic permissions have been activated.
In order for specific access rights, such as read or edit permissions, to be granted to a certain user, all
settings must allow it simultaneously. That is, any given permission must be granted by all active settings
in order for it to be effective.
M-Files | 2. Daily Use | 42
Example:
Automatic permissions for objects through any project
The access that was specified for the object itself can cover full control of the document for all users while
the automatic permissions through a project can restrict the use of the document in such a way that full
control is granted to project managers only and all other users have read-only access.
Figure 3: Automatic permissions through a project can restrict the object permissions.
Tip: You can see the effective permissions by user and access right in the table in the
Permissions dialog.
Example:
Internal restrictions to permissions
• The permission settings of the object allow full control for all users.
M-Files | 2. Daily Use | 43
• Through its class, the object has been granted permissions that give full control to management and
read-only access to all other users.
• Through its safety class property, the object has been granted permissions that give full control to
management and edit rights to the HR department.
Since any given right must be allowed by all of these settings to be valid, the settings mentioned above
restrict each other in such a way that the following permissions are ultimately valid:
The final restrictions are always determined by the strictest settings. As explained further above, all
settings must allow the permissions simultaneously in order for them to be effective.
Because all permissions restrict the use of the objects, changes to final access rights can be made in
different ways. In the client software, you can change access rights as follows:
You can change the object's own permissions from the Permissions dialog. If the object has permissions
granted through properties, the Details button is displayed on the Permissions tab. The button can be
used to change the object's own permissions (activate This object first).
If deactivation of the automatic permissions is allowed, you can deactivate the automatic permissions by
property.
You can change the object's properties through which automatic permissions were granted to the object (if
allowed).
If you cannot change the permissions or properties associated with the object itself and the automatic
permissions granted through them, ask your system administrator to change the access rights.
Pseudo-users
Instead of just adding users or user groups to the permissions of an object, you can also add so-called
pseudo-users, or users from metadata as well.
You can specify pseudo-users directly for the object and use these automatic pseudo-users for automatic
permissions and named access control lists. Pseudo-users that are specified through metadata can also
be used in workflows when you want to specify people for tasks, send a notification to users, or define
permissions for different states.
You can specify pseudo-users only through properties that are based on a Users or User groups value
list.
For information on how this feature is supported in different M-Files clients, refer to M-Files Feature
Comparison.
Example:
You can specify that the project manager for a certain project always has access to an object if this project
is indicated in the object's metadata. Then the project manager information is automatically delivered to
the object with the project and, on the basis of automatic permissions, the user is granted project manager
access rights to the object. If the project manager is changed, the project manager information can
M-Files | 2. Daily Use | 44
easily be changed for the project. This information is transferred to the documents or other objects as a
background task (see this note), so updating their project manager information separately is not necessary.
You can also do multi-level user definitions through metadata. For example, you can specify the project
manager in the related project property (see the image below). This way, the project manager information
is kept up to date constantly, as it is associated with the project instead of each separate document. You
can specify access for these pseudo-users by object or utilize them when defining automatic permissions.
Figure 4: Select "User from metadata" when you want to specify pseudo-users.
You can specify automatic permissions and utilize the pseudo-user definitions in, for example, the "contract
of employment" class, which grants specific rights automatically to, for instance, an employee's supervisor.
In this case, the supervisor is automatically found with the employee information and the supervisor
is granted the appropriate rights. If the employee's supervisor changes, these rights are automatically
granted to the new supervisor.
Note: Object permissions are updated as an asynchronous background task. Object permissions
may be updated when, for example, a named access control list, a user, a user group, or the value
of a pseudo-user (such as a project manager) is modified. You may monitor the progress of the
task in M-Files Admin in the Background Tasks section. For more information, see Monitoring
Background Tasks.
For more information on automatic permissions, see Automatic Permissions for Value List Items.
Assignments transfer information and responsibility for task execution to the correct person. Assignments
can be used, for instance, to request a colleague to look over a proposal before it is sent to the customer.
Assignments can be included in a workflow, or they can be independent. For more information on
automatic assignments included in workflows, refer to Assign to user.
To submit a new assignment, create a new Assignment object. Because assignments are objects, you
can define the same assignment for several objects. Or, inversely, add several different objects to the
same assignment. For example, you can assign several drafts to a colleague for inspection with a single
assignment.
M-Files | 2. Daily Use | 45
Because the assignments are separate objects, they have their own version history and permissions. For
this reason, the document and assignment included in it can have separate permissions, and therefore
only a user who has reading rights to the document can mark the assignment completed. The user does
not need to have rights to edit the document, meaning that users with a read-only license to M-Files can
also mark the assignment completed.
• Create an assignment and add objects to it either with drag and drop or the Add File function from the
context menu.
• Select one or more documents and select Assignment in the Create menu.
• Create an assignment without adding an object to it and define the entire task in the description field of
the assignment.
Assignment description
Add a free-form description of the task. The assignment notice by email displays the description to the
person to whom the task was assigned.
Assigned to
Select the persons you wish to assign the task to. You can add more users by clicking the plus button (+)
on the toolbar. Whenever an assignment is a separate object, all persons to whom the task was assigned
must mark the assignment as complete before it is switched to the "complete" state.
Deadline
If desired, you can select a deadline for the assignment. The user gets an automatic reminder if he has not
marked the assignment as completed when the deadline is approaching. The reminder will be sent using a
common notification rule which can be deleted by the administrator.
The deadline can also be useful for creating views. The administrator or user can create a view to display
objects whose deadline is approaching. For more information about views, refer to Creating a View.
Monitored by
You can use the Monitored by field to define the users you wish to notify every time a task is marked as
complete. The person submitting the assignment is automatically defined as a task monitor as soon as
the object is saved for the first time. Once the property has been automatically or manually added to the
metadata card, you can change or add more monitors by clicking the plus button (+) on the toolbar.
You can mark the assignment complete by clicking the icon next to the Assigned to field.
Note: If a user creates the assignment, only this user and users with the Full control of vault
rights can edit the Assigned to property value. However, if the assignment is created through a
workflow, only users with full control of the vault can edit the property value.
1. In M-Files, locate the document for which you want to create a new assignment.
4. In Assignment description, enter a detailed description of the assignment to ensure that the assignee
is properly informed about the details of the assignment.
7. Optional: With the workflow controls at the bottom of the New Assignment dialog, select a workflow for
the assignment.
8. Click Create.
The new assignment is shown in the Assigned to Me view of the assignee and they are informed by email
about the new assignment.
Creating a New Assignment for a New Document
3. In Assignment description, enter a detailed description of the assignment to ensure that the assignee
is properly informed about the details of the assignment.
6. Optional: With the workflow controls at the bottom of the New Assignment dialog, select a workflow for
the assignment.
7. Click Create.
8. When the new assignment has been created, right-click the assignment in the listing area and select
Add File.
The new assignment is shown in the Assigned to Me view of the assignee and they are informed by email
about the new assignment.
Completing an Assignment
1. In M-Files, locate and select the assignment that has been assigned to you.
You can find all the assignments assigned to you in the Assigned to Me view.
a. On the metadata card, click the ✓ (Mark complete) icon next to your name in the Assigned to field.
M-Files | 2. Daily Use | 47
or
b. In the task area, select View and Modify > Mark Complete.
or
6. Optional: Depending on the workflow settings of the assignment, you may still need to add an electronic
signature to authorize the assignment completion.
1. In M-Files, locate and select the assignment that has been assigned to you.
You can find all the assignments assigned to you in the Assigned to Me view.
a. On the metadata card, click either the ✓ or X icon next to your name in the Assigned to field.
or
b. In the task area, select View and Modify > Mark Approved/Rejected.
or
or
Note: To complete approval assignments with email links, your M-Files system administrator
must add the New Approval Assignment Message template section to Notifications >
Notification Templates > Email Templates in Advanced Vault Settings.
6. Optional: Depending on the workflow settings of the assignment, you may still need to add an electronic
signature to authorize the operation.
M-Files | 2. Daily Use | 48
The assignment is completed and it is removed from the Assigned to Me view. The user defined in the
Monitored by property gets a notification e-mail of the approval or rejection.
To create a copy of an existing object, right-click an object and select Make Copy. This command creates
a new object with the metadata and contents of the source object. The version history is not copied to the
new object.
Here are some solutions for issues that occur often when making PDFs:
• If you cannot convert documents to the PDF format, see Why can't I convert a document to PDF format
or annotate a document?
• If there are problems with non-English content, your M-Files administrator can try to enable the
Advanced Vault Settings option PDF Conversion > Word Files > Extended Language Support.
Saving as PDF
1. Right-click an object in the listing area and select Save as PDF > Save as PDF.
2. In the Save As dialog, select the location for the PDF file.
If you save a single-file document, the dialog shows the vault as the default save location. If you
save a file in a multi-file document, the dialog shows the multi-file document as the default save
location.
3. Click Save.
4. Optional: If you save the PDF as a single-file document, the object's metadata card opens. Fill in the
necessary metadata and click Create.
To convert a file into PDF format, right-click an object in the listing area, click Save as PDF,and select one
of these options:
Option Description
Convert to PDF (replaces original M-Files converts the selected file to PDF format and replaces
file) the original file (for example, a Word file) with the PDF file.
Convert to PDF (adds separate file)
M-Files converts the selected file to PDF format and keeps the
original version of it. If you convert a single-file document, M-
Files converts it to a multi-file document and adds the PDF file
to it.
M-Files | 2. Daily Use | 49
M-Files offers useful features for the daily handling of email messages. For example, you can automate
storing messages in M-Files.
M-Files has two versions of the add-in for Microsoft Outlook. This sections puts focus on the use of the
standard add-in, but many of the concepts and procedures are usable also in the advanced add-in.
However, there is a separate user guide for the advanced add-in.
You must have a separate license to use the advanced add-in for Microsoft Outlook. If your organization
has purchased M-Files for Outlook, you have access to the advanced add-in.
• You can save email messages and attachments to M-Files in many file formats.
• You can send an email message and, at the same time, save it to an M-Files vault.
• You can create Outlook rules and use M-Files features to save email messages automatically.
• The email messages that have been saved to M-Files show an M-Files flag.
• Email messages related to a specific subject have a relationship in M-Files. With the relationships, you
can easily find and read the entire email conversation in M-Files.
• You can open a stored email message in M-Files directly from Microsoft Outlook.
• M-Files can automatically associate contact persons and customers with email messages.
• The document date in M-Files is automatically the same as the email date in Microsoft Outlook.
Optional settings
To disable the Send and Save to M-Files button in Microsoft Outlook, configure this registry setting on the
client computer:
Key HKEY_CURRENT_USER\SOFTWARE\Motive\M-Files\<version>\Client\Common
\<vault name>\MSOutlookRibbon
Value name ShowSendAndSaveInMFilesTab
Value type REG_DWORD
Description When enabled, the Send and Save to M-Files button is visible in the M-Files ribbon.
Default 1 Enabled
value
Value 0 Disabled
1 Enabled
To add the Send and Save to M-Files button to the default composer window in Microsoft Outlook,
configure this registry setting on the client computer:
Key HKEY_CURRENT_USER\SOFTWARE\Motive\M-Files\<version>\Client\Common
\<vault name>\MSOutlookRibbon
Value name ShowSendAndSaveInBuiltInTab
Value type REG_DWORD
Description When enabled, the Send and Save to M-Files button is visible in the default composer
window of Microsoft Outlook.
M-Files | 2. Daily Use | 50
Key HKEY_CURRENT_USER\SOFTWARE\Motive\M-Files\<version>\Client\Common
\<vault name>\MSOutlookRibbon
Default 0 Disabled
value
Value 0 Disabled
1 Enabled
The M-Files system administrator can also apply these settings to multiple client computers. For more
information, see Configuration Options for the "Send and Save to M-Files" Button.
In this chapter
a. Locate the email message that you want to save to M-Files, right-click the message and select Save
to M-Files, and then select the vault where you want to save the selected email message.
or
b. Locate the email message that you want to save to M-Files, and then drag and drop the message to
the preferred M-Files folder located in the Microsoft Outlook navigation pane.
or
c. First compose a new email message, then, in the Message window, open the M-Files tab and click
Send and Save to M-Files, and finally select the appropriate vault from the drop-down menu.
2. From the Save as type drop-down menu, select the format in which the email message is saved.
For more information about email message storage formats, see Storage Formats.
3. Fill in the metadata for the email message and click Create.
Note that some properties may be automatically populated. For more information, see
Automatically Populated Metadata.
The selected email message is added to the selected vault in M-Files. An M-Files flag is also added to the
message in Microsoft Outlook as an indication that the message has been saved to M-Files.
M-Files | 2. Daily Use | 51
Storage Formats
Email messages and attachments can be saved from Microsoft Outlook directly to M-Files. The M-Files
capabilities described in this section are available in Microsoft Outlook versions 2016 and 2019, and in
versions of Microsoft 365 Apps for enterprise that Microsoft supports.
Microsoft Outlook has these options for the Save to M-Files feature:
The email message and any attachments are stored in M-Files in MSG format. The stored file and its
attachments open as a message in Microsoft Outlook.
The email message is stored as a multi-file document: message text is stored in MSG format and the
attachments in their native file formats. The stored MSG file opens as a message in Microsoft Outlook. The
attachments open in the applications associated with the file format.
The email message is stored as a text file. The stored file opens in, for example, Notepad. Attachments are
not saved.
The email message is stored as a multi-file document: message text is stored as plain text and the
attachments in their native file formats. The attachments open in the applications associated with the file
format.
The email message is stored in M-Files in MHT format. The stored file is opened in a program that
supports reading of MHT files such as Internet Explorer.
The email message is stored as a multi-file document: the content of the message is stored in MHT format
and the attachments in their native file formats. The attachments open in the applications associated with
the file format.
The Save Attachments to M-Files function stores only email attachments. The attachments are stored in
their native file formats. If an email message contains several files as attachments, these files are saved as
a multi-file document. If the message contains one attachment, the file is saved as a single-file document.
The attachments open in the applications associated with the file format.
Note: If you would prefer to store multiple attachments as separate documents rather than as a
single multi-file document, please contact your M-Files consultant for additional information.
With Microsoft Outlook rules, you can automate saving specific kinds of email messages to M-Files on the
basis of, for example, the sender, subject, or recipient of a message. For example, you can specify that all
M-Files | 2. Daily Use | 52
proposal messages that you send are saved to M-Files on the basis that the subject field contains the word
proposal.
Note: These instructions are for Microsoft Outlook 365. If you use a different version of Microsoft
Outlook, there can be minor differences in how rules are created.
1. Open Microsoft Outlook and select an email message that represents the type of message for which
you want to create a rule.
You can select the message and create the rule on the basis of, for example, the sender of the
message, text in the subject field, or the recipient of the message.
2. On the Home tab, in the Move section, click Rules and the select Create Rule.
4. Check the condition or conditions that an email message must meet for this rule to be applied.
To create a rule that applies to messages that are sent by the selected sender, check the from
<sender> check box.
5. Optional: Click an underlined value in the rule description field to edit the rule condition.
6. Click Next.
You can also move the messages themselves directly to M-Files so that they are deleted from
Microsoft Outlook when they are moved. The best practice normally is to move a copy of the
message to M-Files. With this method, the actual message remains in the original folder, such
as the inbox or outbox folder.
9. Expand the M-Files node and then select the vault to which you want to move copies of messages that
match this rule.
10.Click OK to close the Rules and Alerts dialog and then click Next.
11.Optional: To make exceptions to this rule, check any exception check box that you want to be applied
and edit the exception in the rule description field.
12.Click Next.
13.In the text field, enter a descriptive name for the rule.
14.Check the Run this rule now on messages already in and Turn on this rule check boxes and click
Finish.
M-Files | 2. Daily Use | 53
The email messages in Microsoft Outlook that match the rule that you specified are moved automatically to
the selected vault in M-Files.
Note: If Microsoft Outlook is not open when you receive a message that matches this rule and
would therefore be automatically saved to M-Files, M-Files will suggest that you Save pending
messages now when Microsoft Outlook is opened the next time.
In addition to using the Save to M-Files function, you can save messages to M-Files with the M-Files
folders. This offers several additional features for saving messages:
• You can save messages quickly and easily by dragging them to M-Files folders in Microsoft Outlook.
• M-Files folders are automatically available to you in Microsoft Outlook if M-Files has been installed on
your computer. Automatically used M-Files folders correspond to the M-Files vaults to which you have
added a document vault connection.
• The messages are always copied from their original folder in Microsoft Outlook: messages are not
removed from their original Microsoft Outlook folder when you move them to the M-Files folder.
• You can specify automatically populated metadata for each M-Files folder.
The functions described in this section are available in Microsoft Outlook versions 2016 and 2019, and in
versions of Microsoft 365 Apps for enterprise that Microsoft supports.
In this chapter
You can specify automatically populated properties to be added to email messages when you save them
to M-Files by dragging them to M-Files folders in Microsoft Outlook. These settings are folder-specific,
allowing you to utilize multiple subfolders for a variety of use cases. The function is available in Microsoft
Outlook versions 2016 and 2019, and in versions of Microsoft 365 Apps for enterprise that Microsoft
supports.
Note: These folders need to be added as subfolders under the automatically created M-Files
folders (representing your M-Files vault connections). If you create a folder directly on the main
level, you create a normal Microsoft Outlook folder, for which you cannot specify M-Files properties.
You can find the Specify M-Files Properties function in Microsoft Outlook by right-clicking an M-Files
folder.
M-Files | 2. Daily Use | 54
You can, for instance, use the property Project and set it to have the fixed value Hospital Expansion
(Miami, FL). This way, the messages dragged into that folder are automatically associated with the
Hospital Expansion (Miami, FL). Alternatively, if you wish to save all job applications in the Job application
class, select the folder property Class and set its value to Job application.
You can also specify M-Files folder properties to be read from the email message itself. In this case, select
Add, then the Read from the e-mail message option and choose a suitable field from the drop-down
menu.
This setting (visible only to users with at least the right to manage common views) adds a Retain column
to the folder properties dialog. The Retain option is available for all users, and also controlled by each
M-Files | 2. Daily Use | 55
individual user. Activating the Retain option for a property tells M-Files to remember the latest value
provided by the user, ignoring the original fixed value set by the administrator.
Let's say the organization is connected to two projects with the same customer, and the default project
has been set to Alpha. The project manager for project Beta would probably want to enable the Retain
option, because this way the property needs to be changed only once. After this, M-Files remembers that
the project manager wants to associate his emails with project Beta, not Alpha, even though the default
project was set to Alpha.
Permissions
The Permissions option enables you to define user permissions for the messages that are saved in this
M-Files folder. This should not be confused with the view permissions for common folders (see below).
You can specify whether the metadata card is to be displayed when messages are dragged into the M-
Files folder. The metadata card should be displayed if you wish to check or modify automatically populated
metadata during saving, or if you have not defined any folder-specific properties.
You can also specify that the M-Files subfolder you created is common to all users, in which case the
folder will be displayed in Microsoft Outlook to all users. A common M-Files subfolder can be created and
specified by a user with at least the right to manage common views. When the user drags a message to a
common folder, the message automatically receives the metadata (properties) that have been specified for
the common folder.
The common folder settings are applied once the user starts Microsoft Outlook while being logged into the
vault.
As soon as the Common to all users option has been enabled, the Permissions tab appears next to
the Metadata tab. This allows you to select view permissions for the common folder. This should not be
confused with the Permissions option on the Metadata tab (see above).
1. In Microsoft Outlook, select an existing M-Files folder or create a new M-Files folder:
If you want to... Do the following...
Define automatically populated metadata for Right-click an existing M-Files folder in the
an existing M-Files folder navigation pane and select Specify M-Files
Properties from the context menu.
Define automatically populated metadata for a Right-click a vault in the navigation pane, select
new M-Files folder New Folder... from the context menu, name the
folder and press the Enter key.
3. From the Property drop-down menu, select an M-Files property that you want to automatically
populate, and then select either:
a. Use a fixed value and enter or select a value in the field below if you want to populate the property
value with a fixed value.
or
b. Read from the e-mail message and select an email header field to read information from by using
the Field drop-down menu if you want to populate the property value with information read from the
imported email message.
The automatically populated property is added to the Properties list in the Properties dialog.
5. Optional: On the Properties list in the Properties dialog, check the Retain check box of an
automatically populated property if you wish M-Files to always remember the most recent value set by
any user for this property, ignoring the original value set in this dialog.
6. With the Permissions drop-down menu, specify the permissions for documents created through this
folder.
7. Optional: Select the Prompt for metadata if you want to display the metadata card and prompt for
additional metadata when an email message is dragged and dropped to this folder.
8. Using the Save as type drop-down menu, select the email message format for the messages saved to
this folder.
9. Optional: Check the Common to all users check box if you wish to display this folder to all vault users
in Microsoft Outlook.
If the Common to all users option is enabled, you can specify the users who may see this
folder on the Permissions tab.
When an email message is dragged and dropped to the Microsoft Outlook folder for which you have just
set automatically populated metadata definitions, the message is saved to M-Files with automatically
populated metadata.
Associating Messages with Contacts
You can use M-Files Admin for specifying messages to be automatically associated with contact persons
and customers saved in M-Files on the basis of the sender and recipient information. A message from, for
example, [email protected] can be automatically associated with the contact person Matt Bay and the
customer ESTT.
Note: This feature is available in Microsoft Outlook versions 2016 and 2019, and in versions of
Microsoft 365 Apps for enterprise that Microsoft supports.
When the user is saving an email message to M-Files in Microsoft Outlook, M-Files looks for similarity
between the email addresses in the message and the properties that have been specified in M-Files
Admin. On the basis of similarity and the properties specified by the administrator, M-Files automatically
associates the message with customers or contact persons when the message is saved in the M-Files
folder in Microsoft Outlook. For more information on how to specify the properties in M-Files Admin, see
Email Client Integration Settings.
This automation takes place on a vault-specific basis (with a vault-specific M-Files folder in Microsoft
Outlook), also applying to all subfolders of the M-Files folder in question.
M-Files | 2. Daily Use | 57
The M-Files flag, shown in the Microsoft Outlook message listing, indicates that you have already saved
the message to M-Files.
If some other user (for instance another recipient) has saved the same message to M-Files, M-Files
prompts you to confirm whether you wish to save that message again. Even if you do not save the
message again, the M-Files flag will now be displayed in Microsoft Outlook for that message.
With the Update M-Files Status function in the context menu of the message, you can easily display all
M-Files flags. Also messages saved in M-Files by other users will then have an M-Files flag in Microsoft
Outlook.
This section deals with ways you can remove objects from your vault, as well as with archiving vault
content.
In this chapter
Deleting objects
To delete an object, right-click it and select Delete. The object is not destroyed permanently, but it will
become deleted.
Note: You can see the deleted objects in M-Files Desktop only if you have at least one of these
permissions:
To show deleted objects, you can create a view for them or use a filtered search.
Undeleting objects
To restore a deleted object, right-click it and select Undelete. To find deleted objects, see Deleting objects.
Destroying objects
To permanently remove an object, right-click a deleted object and select Destroy. You can also select
Destroy permanently in the confirmation dialog when you delete an object. To find the deleted objects,
see Deleting objects.
Archiving Content
Vault content that is no longer in active use can be archived to a separate archive file. The file can later be
used to restore the archived content back to the vault.
M-Files | 2. Daily Use | 58
Note: Only vault admins can use the archiving commands, and they are only supported in M-Files
Desktop.
The archiving operation done with M-Files Admin moves the marked objects from the vault to a separate
archive file. See Archiving Old Versions.
You can restore the archived content to the vault with Content Replication and Archiving.
This section tells you how documents are edited in M-Files. Documents are first checked out for editing or
co-authoring. After edits are done, documents are checked back in to the vault. The section also tells you
how to enable and use the Annotations and Redlining feature, how to use object comments, workflows,
and version history, and how to compare document content.
For information about editing Office 365 documents with M-Files Mobile, refer to Editing Office Documents
in M-Files Mobile with O365 Integration in M-Files Support Portal.
In this chapter
Checking out a document is an M-Files function that prevents concurrent editing. A checked out document
can still be viewed and opened in read-only mode by other users.
When you check out a document, a small check mark ( ) is shown on the document icon. A red icon
( ) means that the document has been checked out to someone else.
Note: When you check out a document in M-Files Desktop, the M-Files Web user interface shows
that the same document is checked out to someone else. The same applies the other way around.
This happens because the two clients use a different client cache. You can, however, use the Undo
Checkout command.
You can add files to and remove files from a multi-file document without checking it out for editing. You can
also rename and replace files without checking them out.
You can also send a check-in request to the user who has checked out a document: Right-click the
document and select Send Check-in Request. The user gets an email message about the request.
The message also contains a link to the document. The check-in request is sent to the email address
associated with the user's login account.
With the Undo Checkout function, you can undo checking out a document without saving the changes on
the server. In this case, you lose all changes you made to the document during the checkout. This function
is useful when you have checked a document out, made changes and saved the document, but do not
want the changes to take effect. In other words, you want to restore the document to how it was before you
checked it out.
If the document has never been checked in, it is deleted when the Undo Checkout function is used.
With M-Files, many users can edit a document at the same time. You can check out a document for co-
authoring with Microsoft Office for the web when the Microsoft Office for the web tools and co-authoring
have been enabled for your vault or vaults.
Note: Office for the web has limits for the maximum size of the files. For more information, refer to
Microsoft documentation.
1. Locate the object that you want to make available for co-authoring in M-Files Desktop or M-Files Web.
M-Files | 2. Daily Use | 60
2. Right-click the document and select Check Out for Co-authoring in the context menu.
Note: Co-authoring is only available for single-file DOCX, XLSX, XLSM, and PPTX
documents.
In M-Files Desktop, a security warning is opened about who can view and modify the file during
co-authoring. If you use M-Files Web, skip to step 4.
Tip: If you use Google Chrome and the browser cannot load the editor, check if the
address bar contains an icon informing the user about a blocked redirection. If it does,
click it and allow the redirection to completed. Finally, close the browser window or tab
and double-click the document in M-Files to reopen the editor.
Microsoft Office automatically saves your document when you make changes to it.
5. When you are done with your edits, close the editor tab.
6. To end co-authoring, right-click the object in M-Files Desktop or M-Files Web and select Check In.
The user who checks out the document for co-authoring must be the one who also checks
it in. The changes made during co-authoring are attributed to the user who checked out the
document for co-authoring and checked in the new version.
You can reject the changes made in co-authoring by right-clicking the object and selecting Undo
Checkout from the context menu.
The changes made by you and anyone else during co-authoring are saved to M-Files, unless you selected
Undo Checkout instead of checking in the document.
Participating in Co-Authoring
When a document has been checked for co-authoring, you can participate in the authoring process:
1. Locate the co-authored document in M-Files Desktop or M-Files Web and double-click it to open it in
the co-authoring mode.
A dialog about editing the document in the co-authoring or opening it in read-only mode is
opened.
Tip: If you use Google Chrome and the browser cannot load the editor, check if the
address bar contains an icon informing the user about a blocked redirection. If it does,
click it and allow the redirection to completed. Finally, close the browser window or tab
and double-click the document in M-Files to reopen the editor.
M-Files | 2. Daily Use | 61
Microsoft Office automatically saves your document when you make changes to it.
4. When you are done with your edits, close the editor tab.
The changes you made to the document are saved to M-Files when the user who started the co-authoring
has ended the co-authoring and checked in the document.
If you do not use Microsoft Office for the web, you can use the co-authoring functionality with Microsoft
SharePoint. In co-authoring with Microsoft SharePoint, also a person without an M-Files account can
participate in the co-authoring process. For instructions on how to set the co-authoring features to be
used with Microsoft SharePoint, see the knowledge base article Customizing Co-Authoring and Sharing
Features.
1. Locate the object you want to make available for co-authoring in M-Files.
2. Either:
a. Right-click the object and select Check Out for Co-authoring from the context menu.
or
b. Right-click the object and select Begin Co-authoring from the context menu if the file is part of a
multi-file document or if it is already checked out to you.
Note: By default, co-authoring is available for DOCX, XLSX, and PPTX files only.
A security warning is opened about who can view and modify the file during co-authoring.
4. In the Co-authoring dialog, click Send Link to send the shared object link to co-authoring participants
with your mail client.
You can also right-click the object you have checked out for co-authoring and select Send Co-
authoring Link whenever you want to share the co-authoring link to someone.
Please note that anyone with the link can view and modify the file.
6. Click Edit in Browser in the upper right corner to begin editing in the co-authoring mode.
M-Files functions (such as adding metadata to the content) are not available during co-
authoring.
M-Files | 2. Daily Use | 62
7. Optional: Click Open in Word (or Open in Excel or Open in PowerPoint) above the Office ribbon to
begin co-authoring in the desktop application.
Microsoft Office automatically saves your document when you make changes to it.
10.Right-click the object in M-Files, and select End Co-authoring from the context menu.
11.Finally, right-click the object again and select Check In to check in the changes.
The user who checks out the document for co-authoring must be the one who also checks it
in. This M-Files user is responsible for the changes made in the document. The changes made
during co-authoring are attributed to the user who checked out the document for co-authoring
and checked in the new version.
You can reject the changes made in co-authoring by right-clicking the object and selecting Undo
Checkout from the context menu.
The changes made by you and anyone else during co-authoring are saved to M-Files. If you want to share
the document for co-authoring again, check out the file for co-authoring and send a new link to the file.
Participating in Co-Authoring with Microsoft SharePoint
When a document has been checked for co-authoring, there are two ways you can take part in co-
authoring the document.
1. Either:
a. If you receive a link to a co-authored document, click the link to open the document in the co-
authoring mode.
or
b. Locate the co-authored document in M-Files and double-click it to open it in the co-authoring mode
(a co-authored document is marked with a red cloud on top of its icon) and click Edit (Co-authoring)
in the Co-authoring dialog.
2. Click Edit in Browser in the upper right corner to begin editing in the co-authoring mode.
3. Optional: Click Open in Word (or Open in Excel or Open in PowerPoint) above the Office ribbon to
begin co-authoring in the desktop application.
Microsoft Office automatically saves your document when you make changes to it.
The changes you made to the document are saved to M-Files once the user who started the co-authoring
has ended the co-authoring and checked in the document.
Checking In a Document
When you no longer edit a document, you can check it in to make it available for others. To do this, right-
click the document and select Check In.
M-Files | 2. Daily Use | 63
Tip: You can simultaneously check in all documents that you have checked out in the Checked
Out to Me view. The keyboard shortcut is Ctrl + I.
You can comment on changes you made when you check in a document. Right-click the object and select
Check In with Comments. In the Check In dialog, you can enter a description of the changes you made.
The comments are displayed in the Comments view of the object.
Note: Comments keep their permission settings. Only users defined in the permission settings,
when the comment was added, can see these comments.
You can add comments and stamps, and draw arrows, boxes and other shapes to your documents. The
feature supports most common file types, including Microsoft Word, Microsoft Excel, Microsoft PowerPoint
and Visio documents, email files, RTF files, HTML and web archive files as well as OpenDocument files
and PDF documents. When you select an annotated document, the task area shows the options to show or
hide the annotations.
Note: The annotations are not added to the documents themselves, but rather as detachable
layers that can also be hidden if need be.
Note: The M-Files system administrator must first enable the annotations and redlining feature
before documents can be annotated. For more information, see Annotations and redlining.
Annotation objects
Your annotations are saved as separate Annotation objects under the main document. M-Files
automatically creates these objects every time you start creating new annotations. Annotation objects
contain an XFDF file (XML Forms Data Format) that basically tells M-Files the type, form, and location of
your annotations.
Troubleshooting
If you are running into issues with annotations or are unable to use them, see Why can't I convert a
document to PDF format or annotate a document? for assistance.
In this chapter
2. Make sure that the Preview tab is selected in the right pane.
or
b. Click New Annotations in the task area under the Annotations section.
Note: This option is only available for documents that do not have annotations.
An annotation object is added to the document's related objects in the listing area.
4. Use the annotation controls at the top of the preview to add annotations.
The annotation controls include different ways for you to highlight parts of the document and
icons for saving and printing the annotated document.
In M-Files Desktop, the annotation object is checked in. In M-Files Web, select Check in to
make your changes visible to other users.
Editing Annotations
2. Make sure that the Preview tab is selected in the right pane.
M-Files | 2. Daily Use | 65
3. Click Edit Annotations in the task area under the Annotations section.
4. Use the annotation controls at the top of the preview to add annotations.
The annotation controls include different ways for you to highlight parts of the document and
icons for saving and printing the annotated document.
In M-Files Desktop, the annotation object is checked in. In M-Files Web, select Check in to
make your changes visible to other users.
Object Comments
You can add comments to objects with the Comments function. Click the comments icon ( ) on the
metadata card to see the comments of an object.
You can only add comments for objects for which you have edit permissions, and only when you are not
using a read-only license. As an exception, you can add a comment for an object when you change its
workflow state.
Note: Comments keep their permission settings. Only users defined in the permission settings,
when the comment was added, can see these comments.
Workflows
During the lifecycle of a document, different contributors can change, edit, and make different decisions on
the document. It is important that each person that participates in the process knows their responsibilities
and the working stages.
The M-Files workflows let you model document lifecycles to real world processes. The workflows are
divided into states that represent the working stages of the document or other object.
Figure 6: Workflows make routine tasks of the organization easier. For example, purchase invoice process.
Workflows are created and changed in M-Files Admin by M-Files system administrators. To create and edit
workflows, see Configuring Workflows.
To select a workflow and a workflow state for an object, use the workflow controls on the metadata card.
2. Click the workflow state field at the bottom of the metadata card.
M-Files | 2. Daily Use | 66
4. Optional: In Comment, add comments about the state transition to the object.
6. Select Save.
7. Optional: If the Electronic Signature dialog is opened, complete one of these steps:
a. If the Username and Password fields are shown, enter your user credentials and click Sign.
or
b. If the Username and Password fields are not shown, click Sign to enter your user credentials.
1. In the listing area, right-click an object and click Workflow > Change State.
3. Optional: In Comment, add comments about the state transition to the object.
4. Click OK.
5. Optional: If the Electronic Signature dialog is opened, complete one of these steps:
a. If the Username and Password fields are shown, enter your user credentials and click Sign.
or
b. If the Username and Password fields are not shown, click Sign to enter your user credentials.
2. In the task area, click the new state in the State transition section.
3. Optional: In Comment, add comments about the state transition to the object.
4. Click OK.
5. Optional: If the Electronic Signature dialog is opened, complete one of these steps:
a. If the Username and Password fields are shown, enter your user credentials and click Sign.
or
b. If the Username and Password fields are not shown, click Sign to enter your user credentials.
Conflict History
When automatic conflict resolution is enabled, M-Files automatically resolves conflicts that occur during
data synchronization between vaults. Vault users can then use the Conflict History dialog to see and
restore discarded object versions. For instructions on how to configure automatic conflict resolution, refer
to Configuring Automatic Resolution of Replication Conflicts.
The configuration specifies if you are told when changes you made to an object are discarded in conflict
resolution. The options are:
Note: If there are many discarded object versions, it is possible that the oldest ones are
not shown.
2. Press and hold the Ctrl key, and select two document versions.
M-Files uses the contents of the object version to create a new version of the object.
M-Files | 2. Daily Use | 68
Comparing Documents
When the setup for Advanced Document Compare feature is completed (refer to Setting Up M-Files
Advanced Document Compare), you can use M-Files to compare the content of two documents or two
versions of a document. This section gives examples on how you can use the feature.
Note: The file extension of the compared documents must be DOC, DOCX, PDF, or RTF, and their
total file size must be less than 16 MB.
To compare the content of the latest version of a document with a different version or document, do the
steps in this section. To compare two previous versions of a document with each other, see Comparing
Document Content with the History Dialog.
1. Log in to a vault.
2. Use a search or a view to find the document that you want to compare.
3. Right-click the document on the listing area, and select one of these options:
a. Click Compare > Compare with Previous Version to compare the current document version with
the previous version.
or
b. Click Compare > Compare with Another Version to compare the current document version with a
previous version. This command opens the History dialog where you can select a document version
with which to compare the content.
or
c. Click Compare > Compare with Another Document to compare the current document version
with a different document. This command opens the Windows Open dialog where you can select a
document with which to compare the content.
4. To examine the changes, use the Previous Change and Next Change buttons, the navigation links in
the Change Summary list, or simply scroll through the document.
5. Optional: To save a copy of the comparison in PDF or DOCX format, use the commands Save as PDF,
Save as DOCX, or Track Changes.
Save as DOCX creates a simple Microsoft Word rendition of the comparison that you see in the
Document Compare dialog, but Track Changes creates a document that lets you control the
tracked changes from the Review tab in Microsoft Word.
When you start to compare content in the M-Files Desktop listing area, you can compare the latest version
of the selected document with a different version or document. To compare two previous versions of a
document, start the comparison in the History dialog.
1. Log in to a vault.
M-Files | 2. Daily Use | 69
2. Use a search or a view to find the document that you want to compare.
4. Press and hold down the Ctrl key and select the two versions that you want to compare.
6. To examine the changes, use the Previous Change and Next Change buttons, the navigation links in
the Change Summary list, or simply scroll through the document.
7. Optional: To save a copy of the comparison in PDF or DOCX format, use the commands Save as PDF,
Save as DOCX, or Track Changes.
Save as DOCX creates a simple Microsoft Word rendition of the comparison that you see in the
Document Compare dialog, but Track Changes creates a document that lets you control the
tracked changes from the Review tab in Microsoft Word.
To compare the content of the document opened in Microsoft Word with that of a different document or
document version:
2. Click Compare.
a. Click Compare > Compare with Previous Version to compare the current document version with
the previous version.
or
b. Click Compare > Compare with Another Version to compare the current document version with a
previous version. This command opens the History dialog where you can select a document version
with which to compare the content.
or
c. Click Compare > Compare with Another Document to compare the current document version
with a different document. This command opens the Windows Open dialog where you can select a
document with which to compare the content.
4. To examine the changes, use the Previous Change and Next Change buttons, the navigation links in
the Change Summary list, or simply scroll through the document.
M-Files | 2. Daily Use | 70
5. Optional: To save a copy of the comparison in PDF or DOCX format, use the commands Save as PDF,
Save as DOCX, or Track Changes.
Save as DOCX creates a simple Microsoft Word rendition of the comparison that you see in the
Document Compare dialog, but Track Changes creates a document that lets you control the
tracked changes from the Review tab in Microsoft Word.
The M-Files functions in Microsoft Word, Microsoft Excel and Microsoft PowerPoint for Microsoft Windows
make it easy to manage documents. You can access the functions from the File menu, Office menu, or M-
Files menu.
The M-Files functions in this section are available in Microsoft Word, Microsoft Excel, and Microsoft
PowerPoint 2016 and 2019, and in versions of Microsoft 365 Apps for enterprise that Microsoft supports.
Save to M-Files
Save is the easiest way to save a document to M-Files. When you save to M-
Files directly, the metadata card opens for editing. For more information, see
Creating Documents. If you use many vaults, select the correct vault in the
Save submenu. This function is also available in the File and Office menus.
Explore M-Files
If the opened file is in M-Files, the Explore M-Files function shows it in M-
Files. This makes it is easier to use other M-Files functions on the file.
Check Out
The Check Out function converts a previously read-only document into an
editable document.
Check In
The Check In function saves the edited document to the vault and closes it in
Microsoft Word.
Check In Changes
The Check In Changes function checks in your changes and immediately
checks out the document to you. This lets other vault users see your changes
but lets you continue to edit the document.
Undo Checkout
The Undo Checkout function closes the current document and cancels the
checkout. If the Undo Checkout function is done on an edited document, all
changes made after the document was checked out are lost.
Compare
With the standard Compare function, you can compare the content of the
current document to a previous version of the same document. The Compare
function opens the document version history where you can select a previous
version with which to compare the current one.
Insert Property
See Add M-Files Property.
Properties
The Properties function opens the document's metadata card. See also
Object Metadata.
In this chapter
To add object metadata to the content of a Microsoft Word, Microsoft Excel, or Microsoft PowerPoint
document, click Insert Property in the M-Files tab. It is also possible to add an electronic signature
to a Microsoft Word document with the Insert property function. For more information, see Electronic
Signatures.
Note: For Microsoft PowerPoint, the Insert Property function is available in versions 2016 and
2019, and in versions of Microsoft 365 Apps for enterprise that Microsoft supports.
By default, the metadata fields in a Microsoft Word, Microsoft Excel, or Microsoft PowerPoint document are
updated when someone opens the document in a Microsoft Office desktop application. It is also possible
to enable automatic updates for metadata fields on check-in. When this setting is enabled, the metadata
fields are updated when metadata is changed in M-Files. To enable this feature, tell your M-Files system
administrator to enable automatic updates for metadata fields.
The Insert Property function can be very helpful when you create document templates. Text fields or cells
in the template are automatically filled with the selected properties when a user creates a new document. If
a property does not have a value, the text fields or cells in the document templates stay empty.
To define an existing document as a document template in M-Files, use the Is template property. To
control which users can set documents as templates, see Property Definition Permissions. It is, however,
not necessary to set a document to be a template to add metadata to the document.
An M-Files property added into a Microsoft Word document shows as a text field, that turns gray when
clicked. In Microsoft Excel documents, M-Files properties show as cell formulas. Microsoft PowerPoint
documents show the properties as text areas.
M-Files | 2. Daily Use | 72
3. In Microsoft Word, place the cursor where you want the M-Files property to be added.
The value of the selected property is added to the selected location of the document.
Version History
M-Files keeps previous versions of objects. You can return to a previous version from the object history. To
open the History dialog, click the history icon ( ) in the option ribbon of the object's metadata card.
When you create a document and check it in, the first version of the document is saved on the server.
When you check out the document, make changes, and check it back in, the second version of the
document is saved on the server. You can roll back to one of these document versions.
In the History dialog, the icon identifies a previous version of the object. In this example, a Microsoft
Word document is shown. You cannot change the content or metadata of previous versions.
You can add a label to an object version. The label is shown in the Version label column in the History
dialog.
Only system administrators and users with the Full control of vault administrative permissions can use
this option.
M-Files | 2. Daily Use | 73
To remove the selected label from other object versions, enable Clear this version label from the other
versions of the object. For example, you can make sure that only one version of a contract has the label
"Approved".
With the Modify Version Details option, you can add one or more version labels to an object version and
add a comment that will show in the History dialog. These comments are also shown in the comments
view of the object's metadata card and in the comment history of the Comments function (see Object
Comments).
Roll back
In the History dialog, object versions are recorded from oldest to newest. You can restore old versions
with the Roll Back option.
When you do a rollback, M-Files uses the contents and metadata of the selected version to create a new
version of the object. Rollback does not have an effect on the versions in between. You can use the Roll
Back option only when the object is not checked out. Be careful when you roll back to an object version
that has a workflow state, because the workflow state can cause unwanted actions.
Note: You must have the correct permissions for the object to restore a previous version of it.
If you roll back to a version where the permission settings and the metadata of the object are
changed, you must have change permissions and edit rights to the object. If only the metadata or
the contents of the object are changed, you must have edit rights to the object.
1. Press and hold the Ctrl key and select two document versions.
2. Right-click a selected version and click Compare Selected Documents.
To see a previous version of an object, you must have have access rights to that version and to the latest
checked-in version.
Functions in AutoCAD
To make work with CAD drawings easy, users get access to the M-Files functions directly in Autodesk
AutoCAD. You can access the functions from the File menu or the M-Files menu.
These functions are not supported in AutoCAD LT. The supported AutoCAD versions are specified in the
M-Files Lifecycle Policy.
For more information about these functions, see Functions in Microsoft Word, Microsoft Excel and
Microsoft PowerPoint .
Properties
See Properties.
Insert Field
With the Insert Field option, you can add M-Files metadata to drawings and AutoCAD fields. In AutoCAD,
you can find the M-Files metadata fields in the M-Files field category in the Field selection dialog. For
more information, see Add M-Files Property.
You can create relationships between objects to link related documents. For example, an offer can contain
an offer document, a related price list, and a company brochure. Each object has a separate version
history and you can update them separately. Relationships do not create copies of linked objects but
establish references between them.
With relationships, you can specify metadata connections between objects the same way you do with
the metadata card. For example, you can link a customer with a document, which will then show in the
metadata of the object. Relationships added with the metadata card are also shown in the Relationships
dialog.
Tip: You can use the properties of a related object to create indirect views and searches or to
specify filter settings. For more information, see Indirect searches.
In this chapter
• Relationship Operations
• Relationships Between Objects in Separate Vaults
• Subobjects
Relationship Operations
In M-Files Desktop, right-click an object in the listing area and select Relationships to manage the
relationships of an object.
1. On the Relationships From This Object or All Relationships tab, click Add Relationship.
Tip: You can also drag and drop objects from other windows to the Relationships
dialog to create many relationships at once.
M-Files | 2. Daily Use | 75
3. Click Open.
5. Click OK.
2. On the Relationships From This Object or All Relationships tab, select the relationship.
5. Click OK.
7. Click Close.
2. On the Relationships From This Object or All Relationships tab, select the relationship.
6. Click Close.
You can also create a relationship between objects that are saved to two different vaults. The objects are
not exported from one vault to the other but a link is created between them. To create the relationship, drag
an object from one vault to the other or use the Relationships function.
M-Files | 2. Daily Use | 76
The relationship between the two objects is shown as a shortcut. When you double-click the shortcut, M-
Files shows the actual object in a new window. When you select the shortcut, you can see some of the
related object's metadata and a link to the object in the target vault. You can also rename the shortcut. This
does not change the name of the original object or cause any conflicts between the vaults.
Note: If you have problems with the creation of relationships between vaults, contact your system
admin to make sure that the metadata definitions of the object types are matched between vaults.
Shortcut permissions
The shortcuts have their own permissions. By default, M-Files uses permissions for a new object in the
vault that you are currently logged in.
When data is synchronized between vaults, sometimes the metadata of the imported objects creates
shortcuts. For example, if a document related to a project is imported without the project, M-Files creates a
shortcut for the project in the target vault. This shortcut is now a link to the object in the source vault.
Subobjects
In addition to relationships, objects can also have subobjects. For example, a customer object can have
a contact person as a subobject. Object types and the relationships between them are specified by the
system administrator in M-Files Admin. The Ctrl + J shortcut shows the object's subobjects and lets you
edit and remove them. You can add a new contact person directly from the vault with the Subobjects
option.
A document collection is a set of related documents. Unlike a multi-file document, each member of a
document collection is independent and has its own metadata. Also the document collection has its own
metadata. In a multi-file document, all files share the same metadata.
In this chapter
If this object type is not shown in the context menu, click an empty area in the listing area and
select Create > Document collection.
6. Click Create.
The document collection is created. Next, you can add document collection members.
Right-click a document collection in the listing area and select Collection Members to open the document
collection and manage its content.
Tip: You can also drag and drop objects from other windows to the Collection
Members dialog to add many document collection members at once.
2. Find and select the object that you want to add to the document collection.
3. Click Open.
5. Click OK.
2. Click Edit.
4. Click OK.
6. Click Close.
2. Click Remove.
5. Click Close.
This section tells you how to make content available offline, how to edit documents in the offline mode, and
what happens when you are back online.
In this chapter
• Offline Availability
• Going Offline
• Going Online
Offline Availability
You can make objects available in the offline mode with the Mark for Offline Availability function or with
Offline filters. For information on how to go offline and online, see Going Offline and Going Online.
You can make individual objects, a group of objects, views, or virtual folders available offline. If you make
a view or virtual folder available offline, M-Files creates a new offline filter for it. This way, all new objects
that meet the filter conditions are automatically updated to the offline view. For information on how to edit
the offline filter that you created, see Offline filters.
1. Select the objects, views, or virtual folders that you want to make available offline.
2. Press Alt and select Operations > Offline Availability > Mark for Offline Availability from the menu
bar.
1. Select the objects that you want to remove from the Offline view.
M-Files | 2. Daily Use | 79
2. Press Alt and select Operations > Offline Availability > Remove Offline Availability from the menu
bar.
Note: To remove the offline availability from views or virtual folders, you must remove the offline
filter. See Offline filters.
Offline filters
You can define filters to make sure you have access to important objects without a network connection
from Other Views > Offline. See Example: Creating an Offline Filter for a Project.
To remove an offline filter, go to the Offline view, right-click the offline filter and select Delete. In the
confirmation dialog that is opened, click Yes.
! Important: When you remove the offline availability from a view or virtual folder, make sure that
you run the Delete operation in the Offline view. Otherwise, M-Files deletes the whole view.
1. In the All view (see View navigation), go to Other Views > Offline.
5. Click Define Filter to specify the conditions that objects must meet to be shown in this view.
6. On the Properties tab, click Add Condition and add these conditions:
a) From the Property drop-down menu, select Project.
b) From the Operator drop-down menu, select =.
c) From the Value drop-down menu, select a project.
9. Click OK.
The offline filter is shown in Other Views > Offline. This lets you access all the documents and objects in
this view when the connection to M-Files Server is not available.
Going Offline
To use M-Files without a network connection, click your initials in the top-right corner of the user interface
and select Go Offline. You will then have access to the Offline view, which shows all the objects that are
available offline.
You can make objects available offline with the Mark for Offline Availability command. For more
information, see Offline Availability . Collection members, relationship objects, and subobjects are also
available offline if they are related to objects that are available offline.
In offline mode, you can create new objects and edit objects that are available offline.
Going Online
To go online from the offline mode, click your initials in the top-right corner of M-Files Desktop and select
Go Online. When you are online, M-Files restores all other views and you can continue to browse the vault
normally. You can also check in documents shown in the Offline view and save the changes to the server.
Because users can edit a document on the server when you edit it offline, M-Files makes sure that you
can check in your changes when you go online. If other users did not edit the document, you can save the
offline version as the new version. If new versions were saved on the server when you were offline, M-Files
lets you know. You can then select how to continue:
• Save the version edited offline as a new document. The document on the server stays the same.
• Reject the changes made offline, and accept the new version on the server.
• Cancel Go Online.
Tip: If you check out the document before you go offline, other users can see that you checked out
the document. When you edit the document, other users cannot make changes to it.
M-Files Aino is an AI assistant that can summarize documents and give responses about document
contents. Click the M-Files Aino tab to open or close the interaction with M-Files Aino, or drag the left
border of the window to resize the discussion area.
Note: If the M-Files Aino tab is not shown, it can be that M-Files Aino is not available in your
platform edition or not set up. The setup instructions for M-Files admins are available in M-Files
Catalog.
Note: If you have read-only access to M-Files, M-Files Aino is not available.
M-Files Aino can process documents that contain textual information. M-Files Aino cannot process images,
audio, or video. Scanned documents must be converted to a searchable PDF with optical character
recognition (OCR) before M-Files Aino can process them. M-Files Aino uses only the information found in
the selected document, no external knowledge or internet resources are used.
The supported file formats for M-Files Aino include but are not limited to these formats:
Note: The responses can contain inaccuracies or be incomplete. If you see mistakes, please give
feedback.
M-Files | 2. Daily Use | 81
Summarizing documents
To summarize a single document, select the document in the listing area and click Summarize this
document in the Aino tab. Click Add details or Condense to view more or less information in the
summary.
Note: M-Files Aino summarizes the document in the software language. See Selecting the
Software and Vault Language. Click Translate to have the summary in your preferred language.
Asking questions
You can use M-Files Aino to find answers from a single document, from objects that are related to your
current location, for example a view, or from the entire vault. To ask questions about the content, write your
question to the Ask anything field on the Aino tab and click Ask or press Enter.
If you have selected a single document, M-Files Aino gives you answers related to that document only. If
you click, for example, a view name or open a view, M-Files Aino looks for answers from that content. If M-
Files Aino cannot find the answer with these options, use the Look for answers in option to tell M-Files
Aino to find answers from the entire vault.
M-Files Aino uses your vault permissions when it creates the answer. This means that if you do not have
the necessary permissions for the content that M-Files Aino would use in the answer, the content is not
included in the answer. M-Files Aino shows the answer's source documents below the answer.
Note: To ask questions from many documents or from the entire vault, your M-Files admin must
have set a separate configuration. This separate configuration is available for an additional cost.
Note: M-Files Aino answers in the same language as the question. The document language and
the software language can be different. See Selecting the Software and Vault Language. If you
want to have an answer in certain language, you must ask the question in that language.
Saving responses
You can save M-Files Aino's responses to the clipboard or to the document's metadata. Click Copy to
clipboard to copy the summary or the answer to the clipboard. Click Save as metadata to save the
summary or the answer as metadata. Use the suggested metadata property from M-Files or select a
property to which you want save the response.
Chat history
M-Files Aino saves all your chats automatically to the chat history. The chat history is shown only to you.
To see the chat history, click the clock icon ( ) at the top of the Aino section. In the chat history, you can
continue your old chats or delete them.
Note: When you continue previous chats, it is possible that the source documents have changed.
This can have an effect on the previous answers.
M-Files | 2. Daily Use | 82
Giving feedback
You can give feedback to help improve M-Files Aino. If you think that the response is useful, click the
thumbs up icon ( ). If you think that the responses are unsatisfactory or erroneous, click the thumbs
down icon ( ), enter your feedback, and click Send. Your feedback is anonymous, and you will not be
contacted.
• M-Files Aino cannot process very large documents (approximately 100 pages or more).
• M-Files Aino can sometimes give incorrect or incomplete information.
• M-Files Aino is trained to decline unsuitable requests.
Each user has a vault-specific quota on how much content they can have M-Files Aino process within 24
hours. The quota use depends on, for example, document language, complexity of the text, and formatting
details.
M-Files lets you know when you have used 90% of your quota. If you use all your quota, M-Files Aino will
be temporarily unavailable. When enough time has passed, you can use M-Files Aino again.
For more details about these limits, refer to the platform editions page on the M-Files website.
Admin aid
Refer to these documents for information on related M-Files add-ins and extensions:
Note: To use these sharing options in M-Files Desktop, M-Files Web must be enabled.
M-Files | 2. Daily Use | 83
Admin aid
Refer to these documents for information on related M-Files add-ins and extensions:
In this chapter
Note: To use the Copy Link operation in M-Files Desktop, M-Files Web must be enabled.
You can share links to other M-Files users with the Copy Link option. The recipient must have access to
the vault and the object or view to open the link.
a. Right-click an object.
or
b. Right-click a view.
or
The link is copied to your clipboard and you can share the link to other M-Files users. If you selected many
objects, M-Files creates a separate link for each object.
1.
Click the history icon ( ) in the option ribbon of the object's metadata card.
a. Right-click an object.
or
The link is copied to your clipboard and you can share the link to other M-Files users. If you selected many
objects, M-Files creates a separate link for each object.
You can use visitor links to share M-Files objects for people without access to M-Files. With passcode-
protected visitor links, you can specify the people who can open the link. With visitor links for anyone,
anyone with the link can open it. In addition to visitor links, you can share content with the Send as PDF by
E-mail option.
M-Files | 2. Daily Use | 85
If you do not see the Create Visitor Link option in the context menu of an object, ask your M-Files admin
to make sure that these operations are done:
With passcode-protected visitor links, you can specify the people who can open the link.
1. In the listing area, right-click an object and select Create Visitor Link.
2. In the Create a passcode-protected visitor link section of the dialog, enter the email address of the
link receiver and click Add.
The email address is added to the list of people's addresses that can open the link.
You can now paste the link, for example, to emails and chats. Only people whose email addresses are on
the list can open the link with the passcode that was sent to them. If no receivers get passcodes to visitor
links that you have created, ask your administrator to make sure that notifications are enabled in the vault.
Note: A passcode-protected visitor link expires after three months. Every time the list of email
addresses is edited, the expiration date is set again to three months. You can see the expiration
date in the Shared by Me dialog.
With visitor links for anyone, anyone with the link can open it.
2. Right-click the object or the object version and select Create Visitor Link.
5. Use Expiration date (local time) to select the date and time after which the visitor link for anyone will
no longer be active.
M-Files | 2. Daily Use | 86
9. Click Close.
You can now paste the link, for example, to emails and chats.
In the Shared by Me dialog, you can manage the visitor links that you have shared. For example, you can
stop sharing a link. Users with the Full control of vault or See and read all vault content administrative
rights can see and manage the visitor links shared by all vault users.
1. In M-Files Desktop, click your initials in the top-right corner and select Shared by Me.
If you have the Full control of vault or See and read all vault content rights, you can also
select Shared Files (All Users).
All the visitor links shared by you are shown in the Shared by Me dialog.
3. Click Close.
With this option, M-Files converts the selected file to PDF format and creates an email message with the
PDF file attached. The file in M-Files stays in its original format. To use the option, right-click a file in the
listing area and select Save as PDF > Send as PDF by E-mail.
M-Files | 2. Daily Use | 87
Figure 7: As an example, when you search for job applications, M-Files looks for your search term in the titles, metadata, and
contents of objects in the vault. You can also find inflected forms of your search term.
In this chapter
• Searching
• Using Views
2.5.1. Searching
The best way to find objects is to use the search. This is especially helpful if you only know one detail
about the object. For example, the creation date or creator of a document.
The search options and filters let you specify more search criteria.
M-Files | 2. Daily Use | 88
M-Files shows the search results in a sequence of most frequently or recently used objects. This way,
objects that are most related to the user are shown first. M-Files uses the criteria in this list to create the
sequence:
M-Files ignores some metadata that decreases the precision of the search results. For the sequence of the
search results, metadata is always more important than the file content.
Tip: If your M-Files system administrator has enabled translated object titles, you can use the
translated object titles in searches. The translated object titles are also shown in the title area of the
metadata card, in the listing area, in notifications, and in value lists.
The M-Files system administrator can disable the default relevance settings so that each user can sort
the results independently. For more information, see Disabling the Sorting of Search Results by Their
Relevance.
If there is a large number of search results in a grouping, M-Files only shows a part of the search results.
To see more search results, click Show more results. To change the number of results shown on a page,
right-click an empty space in the listing area and select Display Mode > Objects per Group.
Your search terms are highlighted in yellow on the listing area and the metadata card. When preview is
used, search terms are highlighted in the file contents.
Note: If you use the exact match search with quotation marks, for example "dat sports", partial
matches can also be highlighted. See Exact match.
Admin aid
In this chapter
• Quick Search
• Search Filters
• Additional Conditions
• Exporting Search Results
• Search Results in Other Vaults
Quick Search
Enter a search string in the search field in the top area of the user interface and click the search button
to do a quick search. The words and phrases that you use in searches are kept in the search drop-down
menu. It is thus easy to do recent searches again.
The M-Files Desktop quick search tries to find objects that contain the search word in the metadata or file
contents. In the Filters tab, you can set M-Files to use only metadata or file contents. M-Files remembers
your selection until you close the window or log out. For more information about search refinements, see
Search Filters.
By default, the M-Files Desktop quick search scans the entire vault. However, your M-Files administrator
can change the default behavior and limit the quick search to the currently active view. In this case, you
can widen the search to the entire vault. To do this, go to the Filters tab and unselect the view.
If you cannot find the correct information, try these features or methods:
You can also disable Look for different inflected forms of the words in Quick Search in the Additional
Conditions dialog. This causes the search results to only contain objects that match this word accurately.
• Search type
• Property conditions
• Additional conditions
M-Files | 2. Daily Use | 90
Search type
Any word The search shows all objects that contain at least one of the search words.
Boolean The search lets you use more specific search phrases and different operators. For the list
of operators, see Boolean operators.
Note: Boolean search is available in vaults that use dtSearch or Micro Focus
IDOL as the search engine.
Property conditions
Each object has property values that you can use as search criteria. For example, the value of the property
Project can be Hospital Expansion (Florida). If you do a search with these values, the search shows all
object in which the Project property contains the value Hospital Expansion (Florida).
To set a property condition, select a property, a condition, and a property value with the drop-down menus
in the search options section. You can set more property conditions with additional conditions.
You can use search subordination criteria to make sure that previous filter selections are used before
the property values are shown in the drop-down menu. For example, if you select a workflow as the
search criterion, you can then only use workflow states related to the selected workflow as search criteria.
Corresponding filtering is done automatically for other interdependent value lists. For example, contact
persons are filtered by the customer if these value lists have a hierarchical relationship.
You can use subordinate search criteria with the "is" operator. In the Additional Conditions dialog, it is
also possible to use the operator "one of".
Indirect searches
You can also use property relationships in your search criteria. Thus, the property selected as the search
criterion can be the property of a related object. For example, with indirect search you can find agreements
related to a country without the Country criterion. It is sufficient if it is found through a customer related to
the agreement. The search criterion is specified like this: Customer.Country.
To set indirect search properties, click the plus sign in the property list and select the property of a related
object. With additional conditions, you can create three-level indirect search criteria.
Tip: You can create indirect views with the properties of related objects. You can also use
indirectness when you create a filter. For more information about how to create views, see Creating
a View.
M-Files | 2. Daily Use | 91
In this chapter
You can also use different operators and special characters in your search query to find documents and
objects that strictly meet your search criteria. The table below lists the operators and special characters
that can be used to broaden or narrow a search.
Note: M-Files Smart Search does not support wildcard characters, but you can use property
conditions with the Contains operator. You can read more about Smart Search in M-Files Smart
Search - Frequently Asked Questions.
Exact match Quotation marks: Search words inside quotation marks find objects that contain
"phrase" all of the search terms in the given order.
Any single Question mark: The ? character matches any single character except a
character appl? whitespace or underscore character (_) in its position.
Any single digit Hash: 201# The # character matches any single digit in its position.
Any number of Asterisk: market* The * character matches any number of characters in its
characters position.
Fuzzy search Vertical bar: que| Vertical bars can be used for searching for spelling variations
ry of the search term. The number of | characters used indicates
how many characters in the search term will be ignored.
Characters to the left of the first vertical bar must have an
exact match in the search results.
Phonic search The grave accent You can use the grave accent mark ( ` ) for searching for
mark ( ` ): `query words that sound like the word in your search query and
begins with the same letter. Add the ` character in front of the
search word to search for its phonic matches.
Boolean operators
Click the search options icon ( ) and select Boolean to use the Boolean operators in your search.
Note: Boolean search is available in vaults that use dtSearch or Micro Focus IDOL as the search
engine.
All of the search AND The AND operator combines two search terms. Documents
terms must be found contain both terms.
found
Example search: functional AND specification
One of the search OR The OR operator retrieves all documents which contain at least
terms must be one of the terms entered.
found
Example search: agenda OR minutes
Exclude a search NOT The NOT operator excludes a search term from the search
term results. It can be used in conjunction with AND, OR or W/N.
Required search AndAny The AndAny operator combines required search terms with
term and an optional ones. Search terms before the AndAny operator are
optional search required and terms appearing after the operator are optional.
term In other words, search terms after the AndAny operator are
considered as matches only if the search terms before the
operator are also found in the document.
Proximity search W/N The W/N operator retrieves objects that contain two words or
phrases within a certain distance of one another. The N value
indicates the number of intervening words between the search
words or phrases.
Search Filters
With the advanced search features on the Filters tab, you can define more specific search criteria for the
document or object you are looking for. The more search criteria you use in the advanced search, the more
likely you are to find the exact object you want. This way, you can prevent the search from returning too
many results.
The Filters tab is opened when you activate the quick search field. You can also click the Filters tab in the
right pane to open it.
Your search results are updated in real time according to the selected search filters.
• Scope
• View
• Repository
• Object type
• Search refinements
Scope
In Search in, you can select whether to search metadata, file contents, or both. By default, both metadata
and file contents are searched.
M-Files | 2. Daily Use | 95
View
When you have a specific view open, you can select to search only within the view that you are currently
in. The View option is shown only if you currently have a view open on the listing area.
The View option is shown also for external views. If it is not shown, ask your system administrator to
rebuild the search index of the external repository.
Repository
You can select the repositories that you want to include in your search to narrow down your search.
Object type
You can select one or more of the object types to narrow down your search.
Search refinements
Note: This functionality is available only if your vault uses the Smart Search or Micro Focus IDOL
search engine.
You can refine your search results by selecting one or more of the available criteria in this section. For
more information, see Search Refinements.
You can set frequently used search options to be remembered by M-Files so that it is not necessary to
reselect them in the future. For more information, see Default Search Filters.
In this chapter
• Search Refinements
• Default Search Filters
Search Refinements
Note: This functionality is available only if your vault uses the Smart Search or Micro Focus IDOL
search engine. You can read more about Smart Search in M-Files Smart Search - Frequently
Asked Questions.
You can select one or more of the available criteria in the section below the Search in, Object type, and
Repository options on the Filters tab to refine your search results. You can, for example, select to only
search for objects that were created in 2022, modified within the last week, and that refer to a specific vault
user.
Click the Show more option to view more criteria in a specific category.
Note: Search refinements only apply to objects with M-Files metadata. Any objects that do not
have metadata (for example, unmanaged objects) are hidden in the search results if search
refinements are selected.
When your search results have been refined to match your search query and the selected criteria, you
can refine your search even more. To do this, select additional criteria. The criteria for which there are no
longer matches are grayed out.
M-Files | 2. Daily Use | 96
You can set default search filters that will be remembered by M-Files always when you log in to the vault
using M-Files Desktop. This is useful, if you often select the same search options on the Filters tab when
searching for documents or objects.
2. On the Filters tab, hover over the the search criterion you want to select as your default search filter.
Note: If your vault uses Micro Focus IDOL or Smart Search, you can set any search
filter as default. If dtSearch is used instead, the filter selection is limited.
3.
Click the open lock icon ( ).
The search criterion is shown in bold and it appears with closed lock icon ( ) under Your
default filters at the top of the Filters tab.
5. Optional: To unselect a default search filter, click it under Your default filters.
When searching for documents and objects in M-Files Desktop, the set default filters are automatically
used as search criteria.
You can view your current default search filters and refine them on the Filters tab. The default search
filters are shown in bold and they are listed under Your default filters.
Additional Conditions
To open the Additional Conditions dialog, click the search options button ( ) and then Additional
Conditions. After you have applied additional conditions and closed the dialog, the number of active
conditions is shown in parentheses in the Additional Conditions button.
Note: Some search conditions operate differently with different search engines.
To search for a particular word form, disable the option Look for different inflected forms of the words
in Quick Search in the Additional Conditions dialog. When you do this to search for, say, the word
corporation, the search results include only those objects that match this exact word, not corporate,
incorporated, and so on.
M-Files | 2. Daily Use | 97
Note: The search for inflected forms is enabled by default. If needed, the M-Files system
administrator can disable this option for all vault users. For more information, see Disabling the
Search for Inflected Forms.
When you select the Look in the metadata of all versions option, the search operation looks for results in
the metadata of all object versions instead of only the latest ones.
When you select Look in the metadata of all versions, the search will be performed on all versions of
each object. If the option Show latest version is on as well, M-Files shows the newest version of each
returned object instead of showing the old version that actually matched the search conditions.
You can use the Export Conditions function to save the search criteria. To access this search-related
function, press the Alt key on your keyboard and select File > Export Conditions.
The generated text file contains the search criteria as a string that can be used with the M-Files API
method SearchForObjectsByExportedSearchConditions. For more information on the method, see the M-
Files API documentation.
In this chapter
• Status-Based Conditions
• Property-Based Conditions
• File Information Based Conditions
• Permissions-Based Conditions
Status-Based Conditions
You can find the search criteria listed in this section on the Status tab of the Additional Conditions
dialog.
Object type
Specify the object type or object types to include in the search results. If you do not select anything here,
the results include all object types in the vault.
Object ID
Each object has an individual ID that M-Files Server automatically creates for each new object using
consecutive numbers. With the ID search criterion, you can find the objects efficiently according to their
ID numbers. You can make the ID search more specific by using operators. For more information, refer to
Property-Based Conditions.
M-Files | 2. Daily Use | 98
Checked out
If you specify as a search criterion that the document has been checked out and select Yes from the drop-
down menu, the search returns all documents that have been checked out for editing. This search criterion
is useful, for example, when you want to see all documents in the vault that have been checked out to any
user.
Checked out to
You can also search for documents that have been checked out to specific users of the document vault.
For example, if you want to find all the documents in the Demo Vault that have been checked out to the
user AndyN, choose = as the operator and select AndyN from the user list. You can also select !=,in which
case you will see all the documents that have been checked out by users other than AndyN. Checked Out
to Me shows all the documents that have been checked out to the user logged in to the document vault.
When you check out a document, it remains checked out until you check it in. Thus you can also search
for documents that have been checked out earlier but have not been checked back in. For example, if you
want to find all documents that were checked out between February 16 and 17, 2013, select 2/16/2013 as
the start date and 2/17/2013 as the end date.
Object flags
Interaction between vaults has imported special objects to M-Files which are used to process data between
vaults. These are described as conflicts and shortcuts. Conflicts are created when the versions in separate
vaults differ. Shortcuts refer to objects that are located in different vaults.
When a filter is used, these special objects can be included in the search or omitted from it.
Deleted
If you specify as a search criterion that the document has been deleted, you will see all deleted documents.
M-Files preserves all deleted documents. In order to perform this search, you need permissions for viewing
deleted documents.
In this chapter
1.
Click the advanced search options button ( ) in the search bar.
3. Select the Object type check box, select = from the first drop-down menu, and finally select Projects
from the rightmost drop-down menu.
4. Select the Deleted check box and select Yes from the drop-down menu.
M-Files | 2. Daily Use | 99
6. Enter a search term in the search field or leave it empty if you do not want to filter your search further.
The search results show the deleted projects for your search term or all the deleted projects if you omitted
the search term.
Property-Based Conditions
Each object has property values that are assigned to it in the metadata card. These property values
can be used to search for documents in a precise manner. A document property can be for example
Project, and the value of this project can be Hospital Expansion (Florida). If you perform an
advanced search with these values, the search returns all documents for which Hospital Expansion
(Florida) has been defined as the value of the Project property.
On the Properties tab of the Additional Conditions dialog, click Add Condition to specify a property-
based condition. To remove the selected property condition, click Remove Condition. Note that the
checkbox next to the property name does not indicate selection for this purpose, but instead specifies
whether or not the condition is in use.
Note: Any disabled conditions are automatically removed when the properties dialog is closed.
Properties
The criterion defined in the Property column can either refer to the value of 1) a certain, single property
or 2) that of all properties that have been defined to show values from a certan value list (see below for an
example).
Many of the properties are accompanied by the expression any property. If you use this type of property
as a search criterion, it means that the search results will include all objects where the property value
matches your search term no matter what the name of the property is as long as it has been defined to
show values from the specified list. This is perhaps best explained with an example:
Example: If you have installed M-Files for evaluation, the properties Supervisor and Project manager in
the sample vault both show values from the list Employees. If you now select Employee (any property) as
a search criterion, the search returns all objects where the Supervisor or Project manager property has the
value that you searched for. If, on the other hand, you use the Supervisor property as your search criterion,
the search only returns objects that contain the Supervisor property with the specified value.
Operators
In the Operator field, you can also determine other criteria than equal to. See the table below for the list of
available operators.
Operator Description
=
Equal to
!=
Unequal to
M-Files | 2. Daily Use | 100
Operator Description
>
Greater than
This operator is useful when the value to be selected contains numbers. You
can easily find all values that are greater than the value you have specified. For
example, if your document vault contains the data type of the Department property
as numbers, the search criterion > 10 returns the documents whose Department
value is greater than 10.
>=
Greater than or equal to
<
Less than
<=
Less than or equal to
One of
You can select some property values for the search, for instance certain projects
but not all of them. In this case, the search results are just the documents whose
Project property has one of the values you selected with the One of operator. For
example, the Project property of the document Window Chart E12.dwg is "Hospital
Expansion (Florida)".
Not one of
This search option is the opposite of the previous one.
Contains
When you want to search for documents by letter combination, for instance a word,
you can use the Contains operator. For example, if you want to find all documents
in the Demo Vault whose Project property value contains the letters pan, the search
results include the document Window Chart E12.dwg, whose Project property is
"Hospital Expansion (Florida)". The word Expansion contains the letters pan that
were determined as the search criterion. If you want to include wildcards in your
search criterion, use the Matches wildcard pattern option.
Starts with
The Starts with option works in almost the same way as the Contains option. Here,
the word must start with the value specified.
Matches wildcard
pattern The matches wildcard pattern option can be used with the wildcards ? and *. The
? character replaces any single character, and the * character replaces any number
of characters. See further below for an example.
M-Files | 2. Daily Use | 101
Operator Description
Does not match
wildcard pattern This search option is the opposite of the previous one.
Is empty
In some cases, the properties of a document have no value. This happens when
no value is specified for the property at the stage of filling in the metadata card
– e.g., when no value has been specified for the Project property. The Is empty
operator utilizes the missing value in the search. For example, you can easily find
all documents whose Project property has no value.
Is not empty
This search option is the opposite of the previous one.
Values
From the Value column, you select the value for the selected property that is used as the search criterion.
You can filter the list of available values by right-clicking Filter: * and selecting Set Filter from the context
menu. Enter a suitable filter word in the Set Filter to List dialog. Note that you can enter only one filter
value in the text field. If you need to select multiple values from the Value column, you can try extending
your filter by using wildcards. If not applicable, you must select the values without a filter.
Note: You can select multiple values by holding down the Ctrl key while clicking values.
For instance, when you search for projects with the Matches wildcard pattern operator and the search
term ????house*, the results include all the objects whose Project property value begins with any four-
character string, followed by the word house, and then a string with any number of any characters. If the
vault has a document with a Project property Warehouse Management System Development, it is
shown in the search results.
If a property definition based on a hierarchical value list is selected as the search criterion, you can also
select whether to include the values higher and lower in the hierarchy in the search.
Options
If your search criteria includes a property containing a timestamp, you can make the search more specific
by selecting an option from the Options column, selecting an operator, and entering a suitable value in
the Value field. For example, you can find all recently created documents. Give "Created < 7" as your
search criterion, and select the option DaysFrom(). The search will return all documents created over
the last seven days. See the table below for the list of available options for timestamp properties and their
descriptions.
Month() Created = 05
Returns objects that have a given timestamp property containing
a date with a given month.
YearAndMonth()
Created = 2021-12
Returns objects that have a given timestamp property containing
a date with a given year and month.
Also refer to Subordination of search criteria and Indirect searches under Search Filters. You can
always utilize indirectness for specifying the properties in filter settings.
In this chapter
1.
Click the advanced search options button ( ) in the search bar.
3. Go to the Properties tab and click Add Condition to add a property condition.
M-Files | 2. Daily Use | 103
8. Locate Customer in the next Property drop-down menu and click the plus sign next to Customer to
expand its properties and select the Country customer property.
This creates an indirect property association that uses the Country property of the customer
object to define a country for the project. As the project object does not include country data in
this case, the customer object can be used indirectly to provide it.
12.Enter a search term in the search field or leave it empty if you do not want to filter your search further.
The search results show the projects (for the search term or all the projects if no search term was given)
that are in progress for customers from the United States.
File Information Based Conditions
An M-Files object contains metadata and zero or more files. You can use the Files tab of the Additional
Conditions dialog to specify search criteria related to files.
Contains files
Set this condition to Yes to search only documents that contain files. If you select No, only objects without
files are included in the search results.
File name
If you can remember the file name or parts of it, File name is an efficient search criterion. If you remember
the exact name, select the equals sign and enter the name of the file in the next field. For more information
on the available operators, see Property-Based Conditions.
If you want to search files of a specific size, enter the minimum and maximum file size here.
You can also make searches according to the creation and modification time of the files. For more
information, see Status-Based Conditions.
M-Files | 2. Daily Use | 104
You can make a search on files that are linked to an external location. You can choose to search within
files that are all linked to one and the same external location, or within all linked files that are external to M-
Files. For more information about linking files, see External File Sources.
Use the Show duplicates only option to create a view that contains only duplicate content. This is useful,
for example, when you want to remove duplicate files from the vault.
In this chapter
1.
Click the advanced search options button ( ) in the search bar.
3. Go to the Files tab, check the Contains files check box, and select Yes from the adjacent drop-down
menu.
4. Check the File name check box and select matches wildcard pattern from the adjacent drop-down
menu.
7. Enter a search term in the search field or leave it empty if you do not want to filter your search further.
The search results show the PNG images found for your search term or all the PNG images in the vault if
you omitted the search term.
Permissions-Based Conditions
Each object has permission settings that are assigned to it on the Permissions tab of the metadata card.
Objects can also be searched according to their permission settings. To do this, go to the Permissions tab
of the Additional Conditions dialog. Select a condition or click Add Condition to specify a permission-
based condition.
You can, for example, create a search listing all objects that are visible to the company management only.
This way, you can also change the permissions of specific objects.
Note: When you use the condition Access control list and select a named access control list
that uses pseudo-users through metadata, it can be that the search results are not accurate or that
there are no results. For more information, see Pseudo-users and Named Access Control Lists.
M-Files | 2. Daily Use | 105
In this chapter
1.
Click the advanced search options button ( ) in the search bar.
3. Go to the Permissions tab and check the Visible to user/group check box.
7. Enter a search term in the search field or leave it empty if you do not want to filter your search further.
The search results show the objects that match your search term and are visible only to the HR
department.
Before you export search results, make sure that all the necessary search results are shown. Use Show
more results, Next, and Previous to see more results.
The number of exported results is specified with a registry setting. Contact your system administrator about
necessary changes.
a. To export a list of the search results as a CSV file, unselect Export files.
or
b. To export a list of the search results as a CSV file and the object files, select Export files.
4. Click OK.
6. Select Save.
7. Click Yes.
When you do a search in M-Files, the Search Results in Other Vaults pane below the search results
listing shows the number of results in other vaults. If the vault icon is blue, there are matches in that vault.
If the vault icon is gray, the search results are not available or there are no matches in that vault. When you
click a vault in this pane, you go to that vault and see the search results.
Search results in other vaults are not updated if your search is filtered by additional conditions or search
refinements.
Tip: The search results are gotten from the vaults to which you are logged in. You can click
Show all to also see the vaults to which you are not logged in. You can set your login account
to be automatically logged in to a vault when Windows is started. For instructions, see Log in
automatically when Windows is started.
To hide or show the Search Results in Other Vaults pane, right-click an empty space in the listing area
and select Display Mode > Show Search Results in Other Vaults.
You can also minimize the Search Results in Other Vaults pane. This only shows the heading of the
pane until you expand it. To do this, right-click an empty space in the listing area and select Display
Mode > Bottom Pane > Minimized. This setting changes all the panes shown at the bottom of the listing
area.
To disable the Search Results in Other Vaults pane automatically, you can ask your administrator to
change this registry setting on the client computer:
Key HKEY_CURRENT_USER\SOFTWARE\Motive\M-Files\<version>\Client
\MFShell\ <vault>
Value name MultiVaultSearchEnabled
Value type REG_DWORD
Description Enables or disables the Search Results in Other Vaults pane.
Valid values 0 The Search Results in Other Vaults pane is disabled.
1 The Search Results in Other Vaults pane is enabled.
Views organize objects in the vault by metadata. This makes the correct information easy to find. Views
can use, for example, object types (such as Customer or Project) and they can be further grouped by
properties (such as Country or Customer).
For instructions on how to set up views and grouping levels, see Creating a View.
M-Files | 2. Daily Use | 107
Figure 8: These examples use customer, project, and country information to group objects.
In this chapter
• Creating a View
• Traditional Folders
• View-Specific Operations
Creating a View
In M-Files, documents and other objects can be categorized into different views according to their
metadata. Creating views is largely based on specifying the metadata used for searching and categorizing
documents.
Views allow you to save frequently used searches and define grouping levels. For information about
searching for documents, refer to Searching.
To create a view:
1. In M-Files, open the document vault to which you want to create the view.
2. Click the Create button and select View.
1. Specify a filter to ensure that the view only displays objects you want to see. Specifying filters is similar
to defining search criteria.
2. Determine the folder structure of the objects. This is useful when you have a large number of objects
and you want to group them into different levels according to specific properties.
M-Files | 2. Daily Use | 108
In the example shown above, the documents must be checked out to the user Andy Nash, they must not
have been deleted, and they must be of the type Drawing. No properties have been added to the display
hierarchy in this window, so all documents that meet the criteria are displayed in a single list.
Name
Start by assigning a name to the view. The name should be as descriptive of the contents of the view as
possible, so that users can deduce from the name of the view what kind of objects it contains.
Normally, views are created for personal use only. You can also set the view to be a common view visible
to all vault users. To create a common view, your user account must have permissions to manage common
views or the Full control of vault rights.
You should carefully consider which views are needed by all M-Files users. For instance, the Documents
by Projects view is often necessary. The users of the client software can hide unnecessary views from
their own computers, and the administrator can restrict the visibility of the views by setting appropriate
M-Files | 2. Daily Use | 109
permissions. The views also can be assembled in groups (view bundles) from which, for example, the
views used by the sales department are easy to find.
By default, the view shows documents and objects according to the filter settings and folder structure.
This option can be deselected if, for instance, new views are created under the current view. Note: When
creating a new view inside the current view, the conditions of the upper view remain simultaneously valid.
In other words, the sub-view results only include objects that also meet the conditions of the upper view.
If you leave the Look in all versions box unchecked, the view will only list those objects whose latest
version meets the specified criteria.
If you check the box, the filtered search will be performed on all versions of each document. Only the
newest version meeting the criteria will be displayed. For example, if TinaS has modified versions 1 and
2 of a document, and AndyN has updated the document to version 3, search criterion Last Modified By =
TinaS will return version 2 of the document.
If the option Show latest version is on, M-Files will show the newest version of each returned object instead
of showing the old version that actually matched the search conditions.
Folder structure
In this chapter
The filter settings for a view use the same filters that are used for searches. With the settings, you can
specify the conditions to use for the view. You can specify criteria on the Status, Properties, Files and
Permissions tabs of the Define Filter dialog.
For more information about the available search filters, see Status-Based Conditions, Property-Based
Conditions, File Information Based Conditions, and Permissions-Based Conditions.
M-Files | 2. Daily Use | 110
Grouping Levels
When you create a view that contains documents or other objects, you can use properties to further group
objects in the view. For example, you can create a view that shows documents grouped in folders by
customers.
a. Right-click a view for which you want to define a grouping level and select Properties.
or
b. To define a new view, click the Create button and select View. For more instructions, see Creating a
View.
2. In the Properties dialog of the view, in the Folder structure section, complete one of these steps:
a. Select a grouping level in the Grouping levels list and click Add to create a new grouping level.
or
b. Select an existing grouping level and click Edit to edit the selected grouping level.
3. Use the Group by drop-down menu to select the object type, value list, or function by which you want
to group objects on the selected level.
4. Optional: If you selected an object type for grouping the selected level, you can click Define Filter
to specify the conditions for including folders in the grouping level. For more information on defining
the conditions, see Status-Based Conditions, Property-Based Conditions, File Information Based
Conditions, and Permissions-Based Conditions.
5. If you selected an object type for grouping the selected level, use the Reference direction option to
select the metadata reference direction between the object type of the grouping level and the objects in
the view:
a. To <selected object type>: The objects in this view have metadata that refer to the object type
used as the grouping level. In other words, the reference direction is from the objects in the view to
the object type used as the grouping level (see the example further below).
or
b. From <selected object type>: The object type used as the grouping level has metadata that refers
to the objects in this view. In other words, the reference direction is to the objects in this view from
the object type used as the grouping level. This option is used when the objects in the view do not
have metadata references to the object type used for grouping the view (see the example further
below).
Note: Views and virtual folders that use property references of the From <selected
object type> type cannot be marked for offline availability.
The Reference direction selection is dependent on the metadata structure of the vault. As an
example, take a look at this graphical representation of a simple vault metadata structure:
M-Files | 2. Daily Use | 111
Say that you want to have a view that contains projects grouped by customers. You would
then filter the view by the Project object type and add the Customer object type as a grouping
level with To Customer as the reference direction because the Project objects in the view refer
to the object type used for grouping the view (Customer).
M-Files | 2. Daily Use | 112
On the other hand, say that you want to have a view that contains customers grouped by
projects. The first thing to note here is that the Customer object type does not have any
metadata information about projects (as seen in the metadata structure image further above).
This means that the reference direction needs to be from the grouping object type, Project, to
the Customer objects. So, in this scenario, you would add the Project object type as a grouping
level with From Project as the reference direction, and select Customer as the property used
by the grouping level object type. Filtering the view separately in this instance is not necessary
M-Files | 2. Daily Use | 113
because the Customer property selected for the grouping level filters the view to contain only
customers.
Note: If you would like to disable the Reference direction setting in the vault, see
Disabling the Reference Direction Setting for Grouping Levels.
6. Use the Property drop-down menu to select the property that is utilized by the item selected in the
Group by drop-down menu. This selection defines the property that you want to group by on this
grouping level.
M-Files | 2. Daily Use | 114
7. Optional: If you selected IntegerSegment() in the Group by drop-down menu and a property of the
Number (integer) or Number (real) data type in the Property drop-down menu, in the Segment size
field, define a segment size that you want to group objects by on the selected grouping level.
If you set, say, 10 as the segment size, objects are grouped into virtual folders by segments 0-9,
10-19, 20-29, and so on. If you set 100 as the segment size, objects are grouped by segments
0-99, 100-199, 200-299, and so on.
8. Optional: Check the Show empty folders check box if you want to include empty virtual folders on this
grouping level, that is, virtual folders that do not contain any objects because the object on which the
virtual folder is based is not referenced by any other object or it does not refer to any other object in the
view.
9. Optional: Check the Show objects that have an empty value for this property check box if you
want to include on this grouping level objects that do not have a value for the property selected in the
Property drop-down menu as the grouping property, and then select either:
a. Show objects on this level: Select this option if you want to list within the grouping level the
individual objects that do not have a value for the selected grouping property.
or
b. Show objects in a separate folder: Select this option if you want to list objects that do not have
a value for the selected grouping property in a separate folder in the grouping level. In the Folder
name field, enter the name of the folder under which such objects are listed.
10.Optional: Open the Advanced tab to modify the performance options for viewing and accessing the
virtual folders in this grouping level. Modifying these settings may be beneficial for views or virtual
folders that contain a large number of folders. For more information, see Grouping Level Advanced
Options.
The objects in the selected view are now grouped by the grouping level that you have just defined.
In this chapter
The Advanced tab of the grouping level settings contains performance options for viewing and accessing
virtual folders. Modifying these settings may be beneficial for views or virtual folders that contain a large
number of folders.
In the advanced settings for the view grouping level, you can specify whether the user is to be shown all
virtual folders belonging to the level or whether the user may select the folders to be used. Folder selection
is useful when the view or virtual folder includes a large number of subfolders (more than 500). By means
of folder selection, the user can easily select the folders to be modified. The use of folder selection is
significantly quicker than, for example, grouping by first letter when the number of objects is large (more
than 10,000).
For instance, if the view has been defined By Customer or By Project and the company has thousands of
customers or projects, user-specific folder selection makes it easier for users to perform their daily tasks in
M-Files | 2. Daily Use | 115
the required customer or project folders. In this case, the user employs the Select Folder function to select
only the folders that should be used.
Important remarks
• The set of folders selected for each grouping level is cleared when the user session ends. In other
words, the folders need to be reselected, for instance, after the user logs out from the vault.
• The setting is specific to each grouping level.
• Folder limitation can be used if the grouping level is specified on the basis of a property that utilizes a
value list.
• For common views, folder limitation can be specified by a user with at least the right to manage
common views.
If the retrieval of the subfolder listing is slow, you can try each algorithm in order to determine which is
fastest for this type of view.
Activate the Do not check object permissions for hiding subfolders option to improve browsing
performance. This may, however, cause empty folders to be displayed in the listing.
You can add, change, or remove grouping levels directly in the M-Files Desktop user interface. To do this:
2. Open a view.
5. Optional: If you want to categorize the objects or virtual folders alphabetically, right-click an empty
space in the listing area and select Group by First Letter(s) or Group Folders by First Letter(s).
For the Group by First Letter(s) command to work, the Allow this property to be used as a
grouping level in views option of the Name or title property has to be enabled.
In the Advanced tab of the Define View dialog, you can specify these settings:
• Set whether a subview of a virtual folder is shown in other virtual folders of the same level.
• Set M-Files to index the view to make it faster to use.
• Set searches in the view to be done for the content of the view only.
You can set a view created in a virtual folder to be shown in that virtual folder only or in all virtual folders
of the same level. See Creating a View in a Virtual Folder for instructions on how to create views in virtual
folders. This setting is shown only for views in virtual folders.
Note: If the same level contains views and virtual folders, views created in the virtual folders are
not shown in the views of the same level.
To display your view in all the other folders of the same level, select the In all folders of this level option.
In the above example, the newly created view would be visible in all the virtual folders under the view By
Customer and Class.
Indexing of the view can be used to speed up the use of certain important views in a large document vault,
if the filter criteria for the view sufficiently filter the group of objects. Indexing of the view is recommended
only if the view does not include many objects (for instance, 10,000 objects in a vault with a total of
1,000,000 objects) and if the view is used daily and is working slowly.
Indexing views should be used sparingly and only for views that benefit significantly from it, since each
indexed view in the vault slightly slows down the creation and editing of documents and other objects.
View-specific indexing can be activated by a user with at least the right to manage common views.
With the Search within this view by default, you can specify that searches done in this view are normally
done for the content of the view only. Users can still use the View setting on the Filters tab to change the
searches to be done in the entire vault instead.
The objects of the view can be shown on many pages. The Sort objects across all pages setting
specifies whether the objects are sorted across the page open in the listing area or across all the pages.
Permissions tab
In the Permissions tab of the Define View dialog, you can specify the users who can see the view. The
tab is shown for common views.
M-Files | 2. Daily Use | 117
New views can also be created in virtual folders. Open the virtual folder where you want to create a new
view. Select Create > View and define its settings as instructed in Creating a View. For example, you can
create a "Proposals that expire this week view" in the Proposals folder.
Note: When you create a new view in a folder, the parent view and folder conditions are valid at
the same time. This means that the new view only accepts objects that also meet the conditions of
the parent view and folder.
Virtual folders can also be converted into views in the Customize tab of the virtual folder Properties
dialog, or by right-clicking a virtual folder and selecting Customize Folder.
After the customization, you can modify the display settings of the new view and create grouping levels in
the same way as for other views. Then, for example, in the Memo view, created on the basis of the Memo
virtual folder, you can group documents according to meeting types.
Note: Because views can be created in folders, and folders can be converted to views, views and
virtual folders may be available parallel in the listing area. Views can therefore contain folders as
well as views, and folders can contain views as well as folders.
A folder that has been converted into a view can be restored as a folder by right-clicking it and selecting
Remove Folder Customization from the context menu.
4. Optional: Check the Common to all users check box if you want to define this view as a common view.
5. Click Define Filter to specify the conditions that objects must meet to be shown in this view.
6. On the Status tab, check the Object type check box, select the equal (=) operator from the adjacent
drop-down menu, and select the Customer from the rightmost drop-down menu.
9. Click OK to close the Define Filter dialog and to return to the Define View dialog.
M-Files | 2. Daily Use | 118
10.Check the Show documents and other objects option check box.
11.Click OK.
The view you have just defined appears in the listing area under My Views and it contains all the objects
and documents that meet the conditions that you have specified in the filter settings of your view.
Example: Creating a Common View Containing All the Documents Created by the Current User
You must be either a vault administrator or a system administrator to be able to define a common view.
The name of the view can be, for example, Documents Created by Me.
9. Click OK to close the Define View dialog and to finish creating the view.
All users of the vault should now have a new view under Common Views. They can use the view to list all
the documents that they have created in the vault.
Traditional Folders
You can create traditional folders in M-Files. These folders do not have the additional properties provided
by views. Traditional folders are comparable to, for example, folders on your C: drive and can be used for
importing files to M-Files. Traditional folders allow you to retain the original folder structure of the imported
files. See also Saving Folders to M-Files.
1. In M-Files Desktop, press Alt to display the menu bar and select Create > Traditional Folder from the
menu.
2. Optional: Right-click the traditional folder that you have just created and select Rename to rename the
folder.
M-Files | 2. Daily Use | 119
A new traditional folder is created and added in the Traditional Folders view. You can use the folder for
importing files and folders to M-Files.
View-Specific Operations
This page contains information about different view-specific commands and features.
Using the Clean View, Hide View, and Unhide Views commands
Clean View is a command that a user logged in to the vault with M-Files Desktop can do for any view. It
removes temporary local files and all empty folders. To do this, right-click a view and select Clean View.
Some views cannot be removed but can be hidden. For example, most vault users do not have rights to
remove common views. To hide a view, right-click it and select Hide View. To unhide views, right-click an
empty space in the listing area and select Unhide Views.
Tip: You can create a view that shows all deleted objects if you have any of these permissions:
Full control of vault, Permission to see all objects, or Permission to see deleted objects.
Create a view with the filter Deleted = Yes (see Status-Based Conditions).
M-Files allows you to save the display settings of a view as common display settings. To use this function,
you need administrative rights to the relevant vault. The function saves the display settings common to
users view-specifically. You can choose whether the function is to be applied for all users or only those
users who have not yet modified their own display settings. With the function, you can, for example, define
specific columns to be displayed for all users.
To do this, press the Alt key and select View > Save As Common Display Settings.
By using this function, you can reset modified display setting values to the defaults set by the system
administrator. Alternatively, you can reset the display settings to the M-Files software defaults.
To do this, right-click an empty space in the listing area and select Reset Display Settings to Defaults.
You can bind a report for example to the view Sales by customer or Proposals by salesperson. With the
options under View > Reports in the menu bar, you can bind a report to a view and specify its location. If
you want this setting to apply for all users, enable the option Common to all users in the view settings. To
define a common view, however, you need the permissions for managing the vault's common views.
Exporting a view
You can export the contents of a view in the same way that you export search results. For instructions, see
Exporting Search Results.
Sharing views
You can share your views with other users in the same vault. You cannot share common views. If you
share a subview of a view, the filters of the view will not affect the shared subview.
M-Files | 2. Daily Use | 120
To share a view, right-click a view and select Share View by Email. To share many views, hold down the
Ctrl key and click the views that you want to share. Then right-click a selected view and select Share View
by Email.
Note: The email message contains an M-Files shortcut to the view as an attachment. By default,
the shortcut expires in 14 days. To change the default expiration time, contact your M-Files
administrator.
In this chapter
M-Files Desktop Settings let you add, edit, remove, and test vault connections. Additionally, on the
Settings tab, you can edit options related to the user- and computer-specific behavior of the client
software.
Before you set up your vault connection, your M-Files system admin must have set up the M-Files system
and the vault.
1.
In the Windows system tray, click the M-Files icon ( ) with the secondary mouse button.
The system tray is normally in the bottom-right corner of your Windows desktop.
In this chapter
You can start adding a new vault connection by clicking Add in the M-Files Desktop Settings main window.
Name
Begin by assigning a name to the document vault connection. The name can be anything, but it is a good
idea to make it descriptive. The name will be displayed on the M:\ drive as a directory containing the
contents of the document vault.
Server/Name
Enter the network name or IP address of the server on which M-Files Server has been installed and that
contains the document vault.
Specify the port to connect to on the server. The default TCP/IP port for M-Files is 2266.
Server/Protocol
Define the protocol to be used for the network connection. The following protocols are available:
• gRPC
• Local gRPC
• TCP/IP
• SPX
• Local Procedure Call (LPC)
• HTTPS
Note: When you use the gRPC protocol for connections between the M-Files server and M-Files
clients, a valid TLS certificate must be in use on the server for connection security and encryption.
For instructions, see Managing Server Certificates.
Enable this option to secure the communication between M-Files Desktop and M-Files Server with RPC
encryption.
RPC encryption does not require Internet Information Services or any other additional components and is
often the simplest way to achieve encryption of network communication between the client software and M-
Files Server in the organization's internal network.
The option is available for the TCP/IP and gRPC protocol. If the protocol is HTTPS, the connection is
always encrypted at the HTTPS protocol level. For connections from outside the organization's internal
network, HTTPS or VPN should still be used, as RPC communication to the default TCP port, 2266, is
often blocked by firewalls.
Note: For RPC encryption to work, the user as well as the computer must be able to authenticate
to the server computer. In practice, this requires that the client computer belongs to the Windows
domain and that the user is a domain user.
For more information on encrypted connections, refer to Protecting Data in Transit with Encryption in M-
Files.
You can specify an explicit HTTP proxy server for vault connections that use the gRPC or HTTPS protocol.
This can be necessary if all traffic in your organization must be routed through an HTTP proxy server.
M-Files | 2. Daily Use | 123
To do this, enable the option Specify HTTP proxy settings and do one of these options in the HTTP
proxy server field:
• If you selected gRPC as the protocol, enter the protocol, the address of the proxy server, and optionally
the port number in this format: <protocol>://<server address>:<port number>. For example, http://
exampleserver.com:80.
• If you selected HTTPS as the protocol, the protocol is HTTPS by default and you must only enter the
address of the proxy server and optionally the port number in this format: <server address>:<port
number>. For example, exampleserver.com:80.
You can use this button to check that the connection works correctly.
Authentication
Specify the method the document vault is to use for authenticating the user. The authentication options are
Current Windows user, Specific Windows user, and M-Files user.
The user is always authenticated on M-Files Server when logging in to the document vault, for example.
M-Files Server is capable of checking the login accounts and passwords of all M-Files users. This is the
M-Files authentication method. When Windows authentication is used, M-Files Server has the passwords
checked by the domain server.
With Windows authentication, users log in to the database with same information that they use to log in to
the local computer or the organization domain. If the organization uses a domain, using the domain logins
and passwords is the quickest and easiest authentication method. This means that new passwords and
logins are not needed, which makes this a rather user-friendly method.
Current Windows You can use the Current Windows user method to log in with your current Windows
user credentials.
Specific Windows Selecting Specific Windows user means that you need to enter your Windows
user username, password, and domain information when you log in. This option allows you
to log in with a different account than the one you used for accessing Windows.
M-Files user The M-Files authentication method allows you to log in to M-Files only. If your
organization does not have a Windows domain or you do not have access to it, you
should select M-Files authentication for logging in.
Vault on server
When there are several document vaults on the server, you can use this field to specify the document vault
to connect to.
M-Files | 2. Daily Use | 124
You can choose to establish the connection to the document vault whenever Windows is started. This
is a useful option if you are going to use the document vault daily. For more information, refer to Login
Accounts.
In Windows, there can be several users who each have their own user-specific settings. It is possible to
provide user-specific access to M-Files document vaults. If you want the document vault to be visible to all
users on this computer that have been defined in the operating system, check this box.
After specifying the contents of the above fields, you can check whether you can successfully connect to
the document vault. If the connection works, the server has responded to the connection test.
Analyze connection
When you have created the vault connection and open the Document Vault Connection Properties
dialog by double-clicking the vault connection in the M-Files Desktop Settings dialog, you can use the
Analyze Connection button to display further details about the connection. The analysis measures the
round-trip time between the client and the server, as well as the download and upload speeds.
User-Specific Settings
These settings allow you to edit M-Files Desktop behavior specific to your Windows user account. To open
the User-specific Settings dialog:
Figure 11: The user-specific settings are specific to Windows users per workstation.
You can define comments to be asked of the user upon each check-in. If the Check in immediately option
has been selected for file closure, comments are not requested.
M-Files | 2. Daily Use | 126
By default, a warning is always displayed when the user logs out if the user has objects checked out.
Dialog boxes are also closed after a default timeout.
You can define for each file extension type whether the specific file format is always opened in Check Out
or Open as read-only state. You can also specify for each extension type that, upon opening each file, the
software asks the state in which the file is to be opened.
You can define which actions are performed on the file upon closing it. The definition applies to all file
formats. By default, the user will be asked what they wish to do to the file upon closing it. If the user does
not change the default procedure (Do not check in), the dialog will be automatically closed after a chosen
time and the document will remain checked out.
These workstation-specific settings allow you to change the M-Files drive letter and to control options
related to the local data cache. To open these settings:
Drive
Select the drive letter for the M-Files drive. The default drive is M:\.
Local cache
When using M-Files, the documents are retrieved from the server to your local hard drive. The local cache
makes M-Files significantly faster to use over slow connections.
Here you can specify the amount of the computer's main memory that the document cache is allowed to
take up.
M-Files | 2. Daily Use | 128
Here you can specify the amount of the computer's disk space that the document cache is allowed to take
up.
M-Files saves information about vault contents locally in the computer cache. The data remains on the
server, but the cache makes M-Files faster to use. Local files take up space on the computer's hard drive
and for this reason, it may sometimes be necessary to destroy local data. This function can be used to
destroy locally cached data by user and by document vault.
Note that the Destroy Local Data function may delete data that cannot be restored from the M-Files server
such as currently checked-out files on your computer, offline content, and temporary local files. Therefore
it is important to ensure that you have saved and checked in all the documents that you need before
destroying local data.
Figure 13: The local vault and user combinations are listed in the Destroy Local Data dialog.
Note:
If you only want to delete temporary local files and empty the metadata cache, see Clearing the
Local Cache of the Vault.
The table below compares the locally cached elements that are either deleted or preserved when
Clear Local Cache or Destroy Local Data is run.
These workstation-specific settings allow you to change M-Files Desktop behavior related to dialog boxes
and prompts, vault security, file saving, and offline mode. To open these settings:
Saving to M-Files
In this section, you can customize application-specific rules for saving files to M-Files. Application-specific
rules can be used to, for example, exclude temporary files and other unwanted files from being saved to
the vault. Rules can also be used to allow operation with applications that use special file saving methods.
The rules make sure that, for example, a metadata card of new files is displayed if automatic identification
does not function.
Click first Customize and then Add to add a new rule. The Process-specific Save Behavior dialog is
opened.
M-Files | 2. Daily Use | 131
On the General tab, you can enable or disable the setting Detect file save operations from standard file
dialog boxes. By default, the setting is enabled.
You can also define process-specific file formats that are always or never accepted for saving in M-Files.
Use of an asterisk (*) defines that the process-specific setting is valid for all file formats.
M-Files | 2. Daily Use | 132
On the Advanced tab, you can enable or disable the setting Detect file closing and apply user-specific
check-in behavior. By default, the setting is enabled.
You can also define process-specific file formats that will be immediately checked in when the new file with
the extension in question has been saved and the metadata card has been completed.
Offline mode
By default, the documents are kept ready for the offline state for a quick transition to the offline mode.
When the computer-specific setting Keep documents prepared for offline mode is enabled, M-Files
downloads the necessary objects at specified intervals. Disable the setting if you do not use the offline
mode or the feature causes additional load for the machine.
M-Files | 2. Daily Use | 133
Vault connections and settings can be exported to a Windows registry file. By running the exported registry
file on other computers, you can use the same M-Files configuration data on several computers.
3. In the Export section, select the components that you want to export by checking the appropriate check
boxes.
5. Specify the target location and file name for the REG file.
6. Select Save.
The settings for the components of your choice are saved to a REG file and stored to the location that you
defined in the Save As dialog.
You can change the tab that M-Files Desktop opens when you go to a vault or click the M-Files logo in the
top area of M-Files Desktop.
In the right pane, the Metadata tab, the Document Preview tab, or both are shown when you click an
object. You can set the default tab in M-Files Desktop.
You can set M-Files to inform you by email about some events, for example changes made to objects. This
can be useful when you want to keep track of modifications made to a specific document.
Note: You must have read permissions to an object to get notifications about it.
Note: To use this feature, event logging and notifications must be enabled on the M-Files server.
For more information about server settings, see Editing Notification Settings in M-Files Admin.
To open the Notification Settings dialog in M-Files Desktop, click your username in the upper right corner
and select User Settings > Notification Settings.
Note: Your M-Files system administrator can set specified notification messages to be sent to all
users. This means that you can get some notifications, for example, for assignments even if you
have disabled notification messages.
Click Add in the Notification Settings dialog to open the New Notification Rule dialog.
Give the rule a name. Under Notification sent, select When a selected event occurs or When object
matches the conditions of the filter. The content of the dialog changes based on your selection.
Message delivery
Select one of the message delivery options explained in the table below.
Option Description
Option Description
A separate notification message Select this option if you wish to receive a separate message for
for each event every event that meets the rule. The message is sent immediately
whenever the notification rule is met.
A digest message once a day Select this option to be informed of events with a digest message
once a day.
The time when the message is sent is set by the system administrator
in M-Files Admin. For more information, see Editing Notification
Settings in M-Files Admin.
Notification recurrence
Select whether you want to get a notification for an object only once or on each day that you selected in
Message delivery. The selection is available only if you selected When object matches the conditions
of the filter under Notification sent.
Filter
Define a filter. The filter determines the group of objects to which the notification rule applies. For more
information about filters, see Defining a Filter for a View.
Event subscriptions
If you selected When a selected event occurs, select the check box for all the events for which you want
a notification message.
Select this option if you do not want to be informed of events caused by yourself, such as modifications
that you have made to an object. This option is available only if you selected When a selected event
occurs under Notification sent.
If you want a notification message to be sent only to you, select Private rule. If you want a notification
message to be sent to several selected recipients, select Common rule. M-Files Admin is used for
specifying the permissions for creating a common rule. For more information, see Manage common views
and notification rules in this table.
Recipients
M-Files | 2. Daily Use | 136
Specify the users or user groups who will receive notifications on the basis of this rule.
To enable push notifications for M-Files Mobile, see Setting Up Push Notifications for the M-Files Mobile
Apps.
In this chapter
This example shows how you can create a private notification rule for sending you a daily digest message
of all the new order objects in the vault.
Note: To use this feature, event logging and notifications must be enabled on the M-Files server.
For more information about server settings, see Editing Notification Settings in M-Files Admin.
5. In the Name field, give your rule a name, such as New orders.
11.For the newly added property condition, select Class as the property, = as the operator, and Order as
the value.
12.Click OK.
The property condition 'Class' = 'Order' is now shown in the Filter field of the Notification Rule
Properties dialog.
14.Optional: If you do not want to receive notifications for order objects created by yourself, enable the
option Exclude notifications of events caused by the current user.
The new notification rule is added to the list in the Notification Settings dialog.
This example shows how you can create a common notification rule for contracts that have their deadline
in 30 days. You will be notified every day starting 30 days before the deadline until the deadline is met.
Note: To use this feature, event logging and notifications must be enabled on the M-Files server.
For more information about server settings, see Editing Notification Settings in M-Files Admin.
5. In the Name field, give your rule a name, such as Contract reminder.
6. In Notification sent, select When object matches the conditions of the filter.
12.For the first condition, select Assignees as the property, = as the operator, and (current user and users
for whom the current user is a substitute) as the value.
13.For the second condition, select Deadline as the property, <= as the operator, DaysTo() as the option,
and 30 as the value.
14.For the third condition, select Deadline as the property, > as the operator, DaysTo() as the option, and 0
as the value.
If you do not set this condition, you will get notifications also after the deadline.
15.Click OK.
The property condition 'Assignees' = '(current user and users for whom the current user is a
substitute)' AND DaysTo( 'Deadline' ) <= 30 AND DaysTo( 'Deadline' ) > 0 is now shown in the
Filter field of the Notification Rule Properties dialog.
The new notification rule is added to the list in the Notification Settings dialog.
M-Files | 2. Daily Use | 138
Various third-party applications can be used for modifying and extending M-Files Desktop and M-Files
Server behavior. For information on managing and installing the applications, see Installing and Managing
Vault Applications.
After a vault-specific client application has been installed with M-Files Admin, it is available for M-Files
Desktop users. Upon logging in to the vault, M-Files prompts you to enable the new application. If the
administrator requires the application to be enabled, you cannot log in and use the vault until you have
approved the use of the application.
You can manage computer-specific client applications by pressing the Alt key and selecting Settings >
Applications from the menu bar.
Computer-specific settings
Note that the computer-specific settings influence the use of the applications as well. By default, the user
computer-specifically allows M-Files to use applications that are installed in the document vault. If this
setting is disabled, neither the optional nor compulsory vault-specific applications are available.
You can define substitute users for periods of absence. The substitute users you specify have the rights
to carry out assignments given to you during this period. For step-by-step instructions on how to assign
yourself a substitute user, see Appointing a Substitute User.
Assignment and document permissions may differ. If the assignment requires the assignee to edit a
document, the substitute user of the assignee must have:
For more information about assignments, see Creating and Completing Assignments.
Assignment notifications
If the assignment is created after the substitute user has been specified, the substitute user will also
receive notification of the assignment. If the substitute user is specified after creating the assignment, the
substitute user will not receive any separate notification of the assignment.
M-Files | 2. Daily Use | 139
Viewing assignments
You can see all the tasks assigned to you in the Assigned to Me view that you can access by opening the
Assigned tab in M-Files Desktop.
In this chapter
You can select more than one item at once. Hold down the Ctrl key to select multiple individual
items or hold down the ⇧ Shift key to select adjacent items on the list.
The Select Users dialog is closed and the selected user or users are added to the Substitute
users list.
The users who you have just appointed as your substitute users will now be able to complete assignments
assigned to you and will receive notifications about such assignments.
You can change the M-Files software and the vault language with M-Files Desktop. For a list of the
supported languages, see Language Versions of the M-Files Software. For instructions on how to create
vault localizations, see Translating the Metadata Structure.
3. Use the Software language drop-down menu to change the language of the M-Files user interface.
4. Use the Vault language drop-down menu to change the language of the current vault.
The vault language selection contains all languages that the document vault has been translated
into.
5. Click OK to change the languages and to close the Change Language dialog.
M-Files | 2. Daily Use | 140
If you are using M-Files authentication, you can change your password by completing the steps provided
below.
Note: If you cannot see this option, it means that your login account is not using M-Files
authentication, and thus you have no separate M-Files password for the selected vault.
2. Click your initials in the top-right corner of the user interface to open the user menu and select Change
Password.
5. Confirm your new password by retyping it in the Confirm new password field.
Your M-Files password should now be changed to the one you specified in the New password field.
You can remove temporary local files from a document vault by pressing the Alt key in the M-Files Desktop
user interface and then selecting Settings > Clear Local Cache from the menu bar.
Select the temporary local files that you want to delete and click Delete, or click Delete All to delete all
temporary local files in the vault. When you click Finish, the metadata cache in the vault is cleared. The
cache is used to store data such as property values and object references.
For instructions on converting temporary local files into documents, see Converting a temporary local file to
a document.
Note:
If you want to delete all locally cached data in a vault, see Destroy local data. Note that the Destroy
Local Data function may delete data that cannot be restored from the M-Files server such as
currently checked-out files on your computer, offline content, and temporary local files.
The table below compares the locally cached elements that are either deleted or preserved when
Clear Local Cache or Destroy Local Data is run.
In M-Files, objects are kept on the M-Files server and transferred to the caches of M-Files users'
computers to make sure using M-Files Desktop is as fast as possible.
With the Show Status component, you can monitor the file transfers from the server to your computer and
find out how long it will take to download a document. This tool is particularly useful if you are using M-Files
over a slow connection. In regular local area network use, documents are usually transferred so quickly
that there is no time or any reason to even check the status information.
To open the Show Status dialog, click the M-Files icon ( ) in the Windows system tray with the
secondary mouse button and select Show Status.
The Status column in the File Transfer tab indicates whether the file has been transferred or is being
transferred. The status is indicated as a percentage. You can stop the transfer by selecting the document
and clicking Stop.
The Configure button opens M-Files Desktop Settings. For more information, refer to M-Files Desktop
Settings.
On the Document Vault Connections tab, you can see which document vault connections are available
and whether the vault is online.
Go Online, Go Offline
These functions allow you to switch between the Offline and Online modes. The function of the button
changes according to the current status. See also Going Offline and Going Online.
If you are logged in to a document vault, you can use the Log Out button to log out and quit M-Files
Desktop. The function of the button changes according to your current status.
M-Files can also be connected to external databases. This way, a two-way connection can be set up
between M-Files and, for example, a customer database. Customer data can be accessed through M-Files
as well as through the user interface of the external database. You can refresh data automatically in both
directions.
By pressing the Alt key in the M-Files Desktop interface and then selecting Settings > Refresh External
Objects from the menu bar, you can make sure that M-Files contains up-to-date external object
information.
For more information on external objects, see Connections to External Databases for Object Types.
M-Files | 2. Daily Use | 142
Automatic updates keep the M-Files software up to date. If a newer version of M-Files becomes available,
it is downloaded and installed automatically. You can delay automatic updates for a limited time if you are
working on something important when an automatic update becomes available.
Note: For the automatic updates to run, local administrative permissions on your computer are not
necessary.
When a new M-Files version becomes available, you see a notification in the top area of M-Files Desktop.
Click Options to schedule or start the M-Files software update.
The feature gets the latest update information from the update server using HTTPS on TCP port 443. This
means that normally it is not necessary for you to change any firewall settings.
To open the settings for automatic updates, right click the M-Files icon ( ) in the Windows system tray
and select Settings > Automatic Updates.
Note: If your M-Files system admin manages the settings for automatic updates, you cannot
change them and all options are not necessarily visible.
For a high-level description on how M-Files downloads the update packages when the Download updates
automatically option on the Settings tab is enabled, see Update Download Process. To make sure that
your M-Files software is always up to date, do not disable automatic updates.
To check for updates manually, open the Installation tab and click Check Now. If an update package is
available, it is downloaded to your computer.
Note: If automatic updates are disabled, you must have local administrative permissions on your
computer to install an available update.
To disable the automatic installation of updates, open the Settings tab and unselect the Install updates
automatically check box. To start the installation of available updates manually, open the Installation tab
and click Install. If the Install button is disabled, there are no updates available for installation.
In the Installation schedule section of the Installation tab, you can select the preferred days and time
of installing M-Files updates. It is recommended that you select a date and time that is outside of working
hours so that installations do not interrupt M-Files operations in your organization. Note that the computer
must be running and not in sleep or hibernate mode when the update is scheduled to be installed. If
the computer is not running when the scheduled installation time occurs, the update is attempted to be
installed or scheduled the next time the computer is started.
For more information on scheduling update installations and disabling automatic updates, see Configuring
Automatic Updates with Registry Settings.
M-Files | 3. System Administration | 143
3. System Administration
This section, intended mainly for M-Files system administrators, explains how to manage, maintain, and
configure the M-Files system.
This section, intended mainly to M-Files system administrators, explains how to manage, maintain, and
configure the M-Files system.
Figure 17: M-Files clients (on the left) are used for accessing M-Files Server (in the center), which manages the document vaults (on
the right).
The first subsection, Setting Up and Maintaining M-Files, introduces the M-Files system, provides
instructions for installing and upgrading the system, and explains how server connections and vaults are
managed.
The second subsection, Configuring M-Files, discusses the various ways you can configure and
personalize your system to match your specific requirements and processes. It includes themes such as
modifying the metadata structure of the vault, configuring workflows, using vault applications, making use
of event handlers and scripts, and so forth.
In this chapter
In this chapter
• System Overview
• Installing and Upgrading M-Files
• M-Files Admin
• Connections to M-Files Server
• Managing Document Vaults
1. A server computer (or multiple servers) with the M-Files Server component that contains the vaults
2. M-Files clients used to show and edit the vault-stored information with the end-users' devices
Figure 18: M-Files clients (on the left) are used for accessing M-Files Server (in the center), which manages the document vaults (on
the right).
The image above offers a high-level description of the M-Files system: the clients (M-Files Desktop,
M-Files Web, or any of the M-Files mobile applications) on the left are used for accessing the server
computer (center of the image), which in turn manages one or more document vaults (on the right).
Alternatively, M-Files Server and the document vaults may be located on a cloud-based server (see M-
Files Deployment Options).
You can edit server settings and the document vault structure with M-Files Admin. With M-Files Desktop
Settings, you can add, remove and edit vault connections. For more information about using M-Files Web
and the mobile applications, see the topics Accessing M-Files Web and Accessing M-Files Mobile.
M-Files | 3. System Administration | 145
In this chapter
• System Components
• M-Files Deployment Options
• M-Files Platform Editions
• Language Versions of the M-Files Software
• Security and Authentication
• Electronic Signing and Compliance
System Components
M-Files also includes an ActiveX/COM API as well as the M-Files Web Service API that allows
programmatic access to M-Files through a REST-like interface (refer to M-Files Web Service). The M-Files
API and its documentation are included within the installation of the M-Files software.
M-Files offers many deployment options that give you the flexibility to leverage M-Files based on the
model that best suits your organization's business needs and budget. Below is a short description of each
deployment option. Contact M-Files sales at [email protected] if you need more information and advice
on finding the best solution for your organization.
M-Files | 3. System Administration | 146
Figure 19: You can access your vaults with M-Files Desktop, M-Files Web, and M-Files Mobile regardless of the deployment solution
that you decide is best suited for your organization.
Cloud deployment
M-Files Cloud is a fully managed cloud environment for knowledge work automation. With M-Files Cloud,
you can manage your content without investing in local server infrastructure and maintenance. M-Files
Cloud uses industry-leading cloud services by Microsoft Azure that are designed for high availability,
accessibility, reliability, and security.
M-Files Cloud services can easily be scaled up and down based on your business needs. Thanks to the
flexible and transparent pricing model, you only pay for the number of user licenses and the amount of
storage you need. End users can use the web browser, the desktop client, or the mobile app to view, edit,
and share documents anytime, anywhere.
For more information, refer to M-Files Cloud - Service Description in the M-Files Support Portal. See also
M-Files Cloud Requirements.
M-Files Manage
M-Files Manage is a web application for centralized user and license management of your M-Files
subscription.
With M-Files Manage, you can do, for example, these operations:
On-premises deployment
An on-premises deployment is best suited for organizations that have already invested in IT infrastructure,
or are required to use an on-premises solution deployed behind the organization's own firewall for
regulatory reasons.
Using on-premises servers for M-Files vaults does not, however, mean that they could not be securely
accessed from outside (or inside) the company network. The vaults in the organization's private network
can be accessed with M-Files Web, M-Files mobile applications, or M-Files Desktop (with a VPN
connection or a pre-shared key) in any location.
You can set up M-Files in a Windows Server virtual machine running on a cloud platform, such as
Microsoft Azure, Amazon Web Services, or Google Cloud. These cloud deployments are self-managed in
the same way as M-Files on-premises deployments.
The managed instance deployment option of Microsoft Azure SQL Database lets your organization set up
a cloud-based environment to control the M-Files server and vault database engine. A managed instance
of the Microsoft Azure SQL Database is a fully managed SQL Server Database Engine instance hosted in
Azure cloud.
Hybrid deployment
With a hybrid solution, organizations can both leverage their existing on-premises technology investments
and take advantage of M-Files Cloud – the award-winning knowledge work automation platform. It also
eliminates the need for data migration and lets organizations keep legacy content where it is.
M-Files Cloud can be seamlessly integrated with on-premises ERP or CRM systems, such as SAP
or Microsoft Dynamics GP and AX. Conversely, an on-premises deployment of M-Files can be easily
integrated into existing cloud-based business applications, such as Salesforce, Microsoft Dynamics Online,
or NetSuite.
The same client options (M-Files Desktop, M-Files Web, and M-Files mobile applications) are available
also for hybrid deployments.
M-Files is available in different platform editions. Each platform edition contains a different set of M-Files
features. For more information, refer to the platform editions page.
Note: It can be that all features in this user guide are not available in your platform edition.
• Albanian • Korean
• Arabic • Macedonian
• Bulgarian • Mongolian
• Chinese (Simplified/PRC) • Norwegian
• Chinese (Traditional/Taiwan) • Polish
• Croatian • Portuguese (Brazil)
• Czech • Romanian
• Danish • Russian
• Dutch • Serbian (Cyrillic)
• English • Serbian (Latin)
• Estonian • Slovak
• Finnish • Slovenian
• French • Spanish
• German • Swedish
• Greek • Thai
• Hebrew • Turkish
• Hungarian • Ukrainian
• Italian • Vietnamese
• Japanese
You may change the language of the software and the document vault (metadata structure) while the
software is running. Even if, for example, a Finnish version of M-Files has been installed on the computer,
you can easily switch to the English version without reinstalling the software. This is a significant benefit
when shared computers are used.
Note: Only when 1) the software installation language, 2) the vault language, and 3) the Windows
display language are the same, all the M-Files functions and the metadata structure of the
document vault are displayed in the language in question. For more information, see Languages
and Translations.
This section discusses various topics regarding system security as well as connections to M-Files Server
and the M-Files vaults.
Admin aid
In this chapter
Make sure that the virus scanners on the users' computers do not do scheduled scanning for the virtual M-
Files drive (the M: drive by default). A scheduled scan for the M-Files drive loads all the content from the
M-Files server to the user's client and unnecessarily puts strain on the network and the server.
For best performance, disable real-time scanning for the M-Files drive and the M-Files installation
folder (C:\Program Files\M-Files\ by default) on the server and clients computers. This prevents
unnecessary system load and possible conflicts between M-Files and the anti-virus software.
Excluding the M-Files drive and installation folder from virus scanning
To exclude the M-Files drive and the installation folder from virus scanning, add their paths to the correct
exclusion lists or exception lists in the anti-virus software. For example, with Symantec Endpoint Protection
Manager (SEPM), this is done with an "exceptions policy". Other commonly used anti-virus software
products can use terminology such as "excluded items list", "exclude objects", or "exclude from scanning".
There are usually separate exclusion lists for scheduled scanning and real-time scanning.
If you cannot exclude the M-Files drive in the anti-virus software, use M-Files Admin to set the antivirus
scanning processes not to have access to scan the drive. To do this, in the Advanced Vault Settings
section of M-Files Admin, go to Client > Desktop > Excluded Antivirus Scanning Processes. To get
access to this setting, the Manage Client Settings Centrally setting must be set to Yes. Before you set it
to Yes, read the setting description on the Info tab.
Click Add Process and enter the name of the antivirus scanning process. For example, scan64.exe. Add
as many processes as is necessary. Finally, click Save.
You can use Microsoft's Process Monitor to make sure that the M-Files drive and installation folder are
excluded from virus scanning. For instructions, refer to this article.
If your anti-virus software lets you exclude processes by name, it can be a good idea to exclude
MFClient.exe from real-time scanning on the client computers. It can improve performance because it
makes sure that the virus scanner does not scan the same files twice: once when the application opens the
file and a second time when MFClient.exe does an internal Open operation on the same file.
• If you use Microsoft Windows Defender, refer to the support article Excluding M-Files Client from
Windows Defender.
• If you use SEPM, refer to the Symantec knowledge base article Exceptions: User-defined Exceptions.
Excluding M-Files server processes and vault data from virus scanning
Note: If the processes and folders given in this section are not excluded from virus scanning on the
M-Files server machine, users can experience poor vault performance. This can also cause faulty
backups of vault data.
M-Files | 3. System Administration | 150
On the M-Files server machine, make sure that these processes are excluded from real-time virus
scanning:
The exclusion of the pdfSaver.exe process from real-time virus scanning can improve performance
when the user converts documents to PDF. Its default location is C:\Program Files\PDF-XChange
\PDF-XChange Standard.
Antimalware support
M-Files Server supports antimalware checks on Microsoft Windows Server 2016 and later. Files uploaded
to the M-Files server can be scanned for viruses and malware before they are saved in the repository. To
do this, you must use an anti-virus software that is compatible with Windows Antimalware Scan Interface
(AMSI). For example, Microsoft Windows Defender. Real-time scanning must also be enabled.
To take the antimalware checks into use, add these Microsoft Windows registry settings on the M-Files
Server computer:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server
\MFServer
Value name EnableAntimalwareScanner
Value type REG_DWORD
Value 1
Description Enables antimalware scanning on Microsoft Windows 10, Microsoft Windows Server
2016, and later.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server
\MFServer
Value name TreatAntimalwareScannerErrorsAsTransferBlockingErrors
Value type REG_DWORD
M-Files | 3. System Administration | 151
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server
\MFServer
Description Specifies whether file transfers to M-Files Server are blocked if the antimalware software
is not available or has not been correctly configured. The default value is 0.
Value 0 Do not block file transfers if antimalware software is not available or is
misconfigured.
1 Block file transfers if antimalware software is not available or is misconfigured.
For the changes to take effect, you must restart the M-Files Server service.
Accessing M-Files Vaults without VPN
Organizations have traditionally relied on Virtual Private Network (VPN) technology to secure access to
corporate resources (such as M-Files vaults) from outside the private network of the organization. M-Files
versions 10.2 and later enable you to provide secure access to the M-Files system without the downsides
of the traditional VPN-based approach.
The security of this approach is based on encrypting all network traffic between client devices and
the server with HTTPS (SSL/TLS) and on using a pre-shared key as an additional "shared secret" in
authentication to ensure that only authorized devices can attempt to connect to the system.
Note: Cloud-based servers, M-Files Web, and the mobile applications use the HTTPS protocol by
default, but for pre-shared keys to work on desktop clients connecting to an on-premises server,
"RPC over HTTP with SSL" communication between the server and the desktop clients needs to be
enabled. For more information, refer to the document Enabling RPC over HTTPS connections to M-
Files Server.
Together, the HTTPS encryption and the use of a pre-shared key as a second factor in authentication
provide similar security as VPN but without the complexity and compatibility challenges of VPN. However,
it needs to be noted that the approach is not identical to VPN from the security point of view, and that
each organization needs to determine if granting access to M-Files vaults without VPN is appropriate
considering the organization's business needs and security requirements.
For more information about using pre-shared keys for secure M-Files access, please refer to Securing
Access to M-Files Vaults with a Pre-Shared Key.
Note: M-Files Cloud environments do not support pre-shared key authentication. You can use
in M-Files Cloud environments other strong authentication mechanisms by compatible identity
providers, such as Azure Active Directory and Okta.
M-Files Desktop uses the TCP/IP, HTTPS, or gRPC protocol to communicate with M-Files Server. The
classic M-Files Web uses HTTP or HTTPS, the new M-Files Web uses gRPC, and M-Files Mobile uses
HTTP, HTTPS, or gRPC for server communication.
gRPC is used for all vault connections in M-Files Cloud and it is recommended for all new on-premises
server implementations as a future-proof connection protocol. However, the default way for M-Files
Desktop to communicate with an on-premises M-Files server is to use the Remote Procedure Call
(RPC) protocol (TCP/IP, port 2266). Since this mode of communication does not require any additional
configuration steps, it is usually the preferred way of communicating inside the organization's internal
network.
In some situations, it is preferable to enable M-Files Desktop to communicate with M-Files Server through
the HTTPS protocol instead of RPC. This is especially useful if clients are connecting from outside the
M-Files | 3. System Administration | 152
company's internal network. HTTPS connections are always encrypted and are typically not blocked in
hotel networks or other public networks.
For instructions on how to enable "RPC over HTTP with SSL" communication between M-Files Desktop
and M-Files Server, refer to the document Enabling RPC over HTTPS connections to M-Files Server. With
the configuration described in the document, all traffic from M-Files Desktop is encrypted and tunneled
through TCP port 443.
Once the "RPC over HTTP with SSL" connections have been enabled on the server, end users will be
able to use the HTTPS protocol while adding or editing a document vault connection in M-Files Desktop
Settings.
Traditionally, the need to verify user identity has been met by using software-specific credentials or
Windows credentials. Federated authentication offers organizations the possibility to use an authentication
system that is completely external to M-Files. Federated authentication allows M-Files users to be
authenticated using third-party services called identity providers, such as Google or Microsoft Entra ID. In
many cases, having a centralized repository for all the M-Files user credentials completely outside the M-
Files system can be very useful. Federated identity management also enables single sign-on, and provides
the opportunity for the users to utilize their existing credentials.
1. An M-Files user attempts to log in to a vault, and the client, be it M-Files Desktop or any other M-Files
client, sends an authentication request to M-Files Server.
2. M-Files Server creates an authorization request, which it sends to the identity provider.
3. The user is then redirected to the identity provider's login page where the user provides her credentials.
4. After the identity provider has validated the credentials, it returns a response to M-Files Server in the
form of an identity token, which contains an assertion affirming that the user has been authenticated.
5. M-Files Server verifies the identity token and grants the user access to the vault.
You may use the configurations editor in M-Files Admin to enable federated authentication in your vault.
For more information, see Using the Configurations Editor.
For more information about using federated authentication with M-Files, see the article Using Federated
Authentication with M-Files.
M-Files | 3. System Administration | 153
Companies using M-Files can manage their documents and processes efficiently and with quality. M-Files
can be used for compliance with various specifications, good manufacturing practices, general procedures,
and documentation according to standards. Moreover, M-Files provides functions to manage and monitor
general documents associated with daily business.
M-Files also meets the special requirements related to records and following various specifications and
standards. For example, M-Files complies with the following standards and guidelines:
M-Files can also be used to implement TLL-4-compliant data systems (TLL-4 is a data security
classification used in public administration and defense forces).
M-Files supports the administration of electronic records and signatures in compliance with FDA 21 CFR
Part 11. This involves maintenance of the detailed audit trail of actions performed on the documents,
secure monitoring of individual actions, and certification of electronic signatures with usernames.
Activation
The Electronic Signatures and Advanced Logging module includes the event logging extensions mentioned
above and the electronic signature functionality. The module is available for a separate fee.
For you to activate the module, an appropriate license code must be activated on your system. The
license is provided on a subscription basis. Activate or update the license code in M-Files Admin (for more
information, see Managing Server Licenses). In addition to this, the audit trail features of the vault must be
activated (see Document Vault Advanced Properties). If you do not have M-Files Compliance Kit installed,
you also need to add the electronic signature metadata structure to your vault manually (for instructions,
see Metadata Definitions for an Electronic Signature Object).
More information
For more information on the Electronic Signatures and Advanced Logging module related extensions for
event logging and electronic signatures, refer to Vault Event Log and Electronic Signatures.
M-Files can also be used to address other standards, quality management systems, compliance
requirements, guidelines, and procedures and processes in different fields. Log entries, audit trails, version
history, and electronic signatures form one set of functions that M-Files can offer. To find out how M-Files
can support your business by complying with applicable standards and specifications, please contact us at
[email protected].
This section guides you through the steps and requirements for an M-Files installation or upgrade, along
with describing how to set up a vault, add users to it, and establish a vault connection.
See Important Tasks after Installation, Vault Creation, or Vault Migration for a checklist of tasks that we
recommend to be done with installation.
M-Files | 3. System Administration | 154
In this chapter
This section contains hardware and software requirements and guidelines for the M-Files implementation.
The Technical Details page includes information about special environments, file data encryption, and
third-party applications.
In this chapter
We recommend that you use the desktop versions of Microsoft Windows for M-Files Desktop and the
server versions for M-Files Server. If possible, do not use Microsoft Windows operating systems that are
in the Extended support phase. Please refer to Microsoft's documentation for details about their support
phases and product lifecycle.
Note: In production environments, we recommend that you use M-Files Server always with a
server operating system.
The version of the operating system can be Workstation or Server. You can install M-Files Server
on a physical or a virtualized server. For example, you can use Hyper-V or VMWare ESXi for server
virtualization. However, you cannot use M-Files in a Windows Container or in an Nano Server environment.
M-Files | 3. System Administration | 155
For data security reasons, do not install M-Files Server on a computer that is also used as a Microsoft
domain controller.
Linux and macOS users can get access to M-Files with M-Files Web. The recommended browser is
Google Chrome. macOS users can also install M-Files Web Companion to edit content with desktop
applications.
With the classic M-Files Web, you can use the M-Files for Chrome extension.
The server and client computers must have Microsoft .NET Framework (not .NET) 4.7.2, 4.8.x, or later
installed for M-Files to operate correctly. You can download it at: https://dotnet.microsoft.com/en-us/
download/dotnet-framework. Normally, the Runtime version is sufficient, but you can alternatively install the
Developer Pack version.
The M-Files system can be set up on a single server or on dedicated database, application, and search
servers. If you use M-Files Ground Link, see the hardware setup guidelines for the Ground Link proxy
server.
Plan the server architecture and especially the memory capacity and the CPU of the server so that it is
easy to upgrade the server machine later.
M-Files Desktop, M-Files Admin, and M-Files Server cannot be used on computers with an ARM
processor. End users that use this type of computer can access vaults with M-Files Web.
! Important: The configurations that this section gives are examples only. There are many things
that have an effect on the system performance. For example, the degree of concurrent activity and
the type of operations that users do in the vault.
The disk space requirements for the metadata database are dependent on the complexity of the
metadata structure and the number of object versions in the database. You can use the estimates
of this section in typical document management use cases.
In large M-Files implementations, contact M-Files to help you with the implementation plan.
In this chapter
This section lists the minimum hardware requirements and hardware guidelines for environments where
the M-Files server machine runs the M-Files Server application and the database server (Firebird or
Microsoft SQL Server).
! Important: The configurations that this section gives are examples only. There are many things
that have an effect on the system performance. For example, the degree of concurrent activity and
the type of operations that users do in the vault.
M-Files | 3. System Administration | 156
The disk space requirements for the metadata database are dependent on the complexity of the
metadata structure and the number of object versions in the database. You can use the estimates
of this section in typical document management use cases.
In large M-Files implementations, contact M-Files to help you with the implementation plan.
Minimum requirements
CPU 2 cores
Memory 1 GB
Storage 300 MB disk space for M-Files Server
CPU 4 cores
Memory 4 GB
Storage RAID 1 or RAID 5 disks and enough disk space for files, database, and
backups
CPU 8 cores
Memory 16 GB
Storage RAID 1 or RAID 5 disks and enough disk space for files, database files,
and backups. Database files, Microsoft SQL Server transaction logs,
and search index files must be stored on solid state drives (SSD) for
optimal performance.
Operating system 64-bit operating system
Database management Microsoft SQL Server 2019 or later, Standard or Enterprise Edition
system
For environments with a large number of objects and users, we recommend to have separate dedicated
server machines for the M-Files Server application, the vault database, and full-text search indexing. For
better scalability and availability, it is also possible to have multiple application, vault database, and full-text
search indexing servers.
In Multi-Server Mode environments, each application server must have hardware that meet the server
requirements.
! Important: The configurations that this section gives are examples only. There are many things
that have an effect on the system performance. For example, the degree of concurrent activity and
the type of operations that users do in the vault.
The disk space requirements for the metadata database are dependent on the complexity of the
metadata structure and the number of object versions in the database. You can use the estimates
of this section in typical document management use cases.
In large M-Files implementations, contact M-Files to help you with the implementation plan.
M-Files | 3. System Administration | 157
Environments with up to one million objects when Microsoft SQL Server is on a separate server
We recommend to have a separate SSD drive for indexing on the M-Files Server. In this example, file data
is stored on the application server.
Memory 32 GB 16 GB
Note: In these types of environments, configurations without a separate full-text search indexing
server can be sufficient.
Memory 32 GB 16 to 32 GB 16 to 32 GB
Storage 256 GB SSD drive for 256 GB SSD drive for 256 GB SSD disk for
operating system operating system operating system
SSD disks for database 15 TB HDD for file 256 GB HDD/SSD disks
data and database data. The file storage for IDOL installations:
transaction log can be attached to the
application server or the • 1 disk for DIH/DAH
Use RAID 1 or similar application server can engine
connect to a separate • 1 disk for daily index
file server. content engine
• 5 disks for main index
Use RAID 1 or similar content engines
Operating system Microsoft Windows Microsoft Windows Microsoft Windows Microsoft Windows
Server 2019 Server 2019 Server 2019 Server 2019
M-Files | 3. System Administration | 159
Operating system Microsoft Windows Microsoft Windows Microsoft Windows Microsoft Windows
Server 2019 Server 2019 Server 2019 Server 2019
M-Files | 3. System Administration | 160
CPU 4 cores
Memory 8 GB
Storage 10 GB disk space for M-Files Server and temporary files
If the same server machine is used for multiple Ground Link proxies, multiply the hardware resources by
two.
This section contains the minimum requirements and guidelines for an M-Files Cloud deployment.
You can connect to M-Files Cloud with these applications and application interfaces:
• M-Files Desktop
• M-Files Admin
• M-Files Mobile apps for iOS and Android
• M-Files Web
• M-Files Web based add-ins (for example, M-Files Add-in for Teams and SharePoint Online)
• M-Files Web Service API (restrictions can apply)
• M-Files API (restrictions can apply)
• M-Files UI Extensibility Framework
For information on the product versions that M-Files supports, refer to M-Files Lifecycle Policy.
M-Files | 3. System Administration | 161
We strongly recommend that you always use the latest available version of M-Files Desktop and M-Files
Admin unless your cloud environment is updated with a custom upgrade schedule. In this case, use the
same M-Files Long-Term Support version that the cloud vault uses.
For more information about software requirements, see Operating System Requirements.
In this chapter
Before you connect to M-Files Cloud, read these requirements and restrictions.
Requirements
• For the best performance, the latency between the client and the M-Files Cloud server must be
less than 50 milliseconds. You can use the connection status tool in M-Files Desktop to analyze the
connection quality.
• For more information about network performance, refer to Monitoring and Optimizing M-Files
Performance.
Connections from the local network to M-Files Cloud vaults must be allowed by the firewall.
Connections from the local network to M-Files Cloud vaults must support the TLS 1.2 protocol.
• This includes Microsoft Windows operating systems, Microsoft SQL Server, API solutions, client
computers, and integration systems.
Note: TLS 1.2 must be used in on-premises environments if replication with cloud storage is
used.
• Refer to How to Enable TLS 1.2.
Restrictions
Site-to-site, point-to-site, Azure Express Route, and other VPN solutions are not supported in M-Files
Cloud. You can use Ground Link when secure connection to local data is necessary. Ground Link supports
external repository connectors and external object types.
When you plan to migrate on-premises vaults to M-Files Cloud, contact M-Files.
Before you create a replication package to cloud storage, read these requirements and restrictions.
Requirements
The minimum software requirement for the on-premises M-Files Server is M-Files 2015.1. We recommend
that M-Files Server uses the latest available version. For more information, refer to M-Files version
compatibility regarding API and Replication.
All scripts and custom code must be disabled in the vaults. Custom code is automatically removed from
replication packages during import, unless your M-Files Cloud environment is an isolated service. The
removed code includes these components:
Tip: After the migration to a shared M-Files Cloud environment, you can install signed vault
applications and custom vault applications and scripts that M-Files has validated. In isolated
services, code validation is not necessary.
Restrictions
After the migration, user provisioning and authentication must be reconfigured in the M-Files Cloud vault.
Server-level configurations are not supported and cannot be migrated to M-Files Cloud. Server-level
configurations can include these components:
When you plan to migrate on-premises vaults to M-Files Cloud, contact M-Files.
M-Files | 3. System Administration | 163
Before you create a backup of a local vault, read these requirements and restrictions.
Requirements
The on-premises M-Files Server must be upgraded to the latest available version. See System
Requirements and Technical Details.
• The server software must be upgraded to Microsoft SQL Server 2016 or later with the latest service
pack installed.
• The file data location must be changed from the vault database to a file system folder.
Error detection:
• The database optimization and verify and repair operations must be successfully completed in the
thorough mode in all the local vaults. If errors are found, they must be resolved before you create the
backups. Report unresolved errors to M-Files.
• The Microsoft Windows event log of the on-premises server must not contain errors that prevent the M-
Files Cloud deployment. Report unresolved errors to M-Files.
User management:
• A local synchronization and authentication system of Windows users on the M-Files server must be
replaced with an M-Files Cloud compatible solution. For example, a local active directory to Azure
Active Directory. For more information, see Document Vault Authentication.
• Login accounts must be converted to vault-specific accounts on the local M-Files server. After this,
existing server-specific login accounts must be transferred to the appropriate vaults.
• Custom vault applications installed to the local M-Files server must be upgraded to support Multi-Server
Mode.
• All the installed custom vault applications, scripts, and code must be validated. If you migrate to an
isolated service in M-Files Cloud, this is not necessary.
• Official M-Files add-ons installed to the local M-Files server must be upgraded to their latest version.
Restrictions
Server-level configurations are not supported and cannot be migrated to M-Files Cloud. Server-level
configurations can include these components:
Before you create a backup of a local vault, make sure that these requirements are fulfilled: Requirements
for On-Premises to Cloud Migrations with Vault Backups.
• MFB file with file data included in the file (Firebird backup)
• MFB file with separate file data folders (Firebird backup)
• BACPAC file with separate file data folders (SQL backup)
With M-Files Web, you can use M-Files Web Companion to edit content with desktop applications.
For optimal user experience with the classic M-Files Web, use the M-Files for Chrome extension. The
extension is available in the Chrome Web Store for Chromium-based browsers. These include Google
Chrome and Microsoft Edge. As an alternative to the extension, your M-Files admin can set up Microsoft
Office for the web.
You can use Microsoft SQL Server as the vault database engine. Refer to our lifecycle policy for
information about the supported versions. These editions are supported: Microsoft SQL Server Express,
Standard, and Enterprise. Refer to Microsoft documentation to make sure that your Microsoft SQL Server
edition has the necessary features and capabilities for your environment. M-Files supports the use of
Microsoft SQL Server on Microsoft Windows.
With a cloud-based M-Files environment that you manage yourself, you can also use Microsoft Azure SQL
Database Managed Instance as the vault database engine.
Important information
Please take note of these details before you set up Microsoft SQL Server:
• Some editions of Microsoft SQL Server can have a hard limit for the size of a database. If all the space
of the database is used, the vault can become unusable.
• For example, if you use the Express edition, it is extremely important to make sure that the database
space is never completely used. This can cause that it is no longer possible to log in to the vault with
any login account.
• Do not use performance tuning advisor tools for M-Files vault databases or create additional indices or
statistics. This can slow down the system and cause a vault to be unusable during an update.
• We recommend M-Files Server and Microsoft SQL Server to be used in the same subnetwork to reduce
latency.
Enable the features given here to use Microsoft SQL Server as the M-Files database engine.
Instance features:
Shared features:
Loading the Microsoft SQL Server assembly (M-Files February '23 Update and earlier)
M-Files February '23 Update and earlier versions use an SQL server assembly that must be used in the
SQL server instance. Usually, M-Files loads this assembly to the SQL server instance automatically.
However, it can be necessary to manually allow the use of the assembly, if, for example, M-Files does not
have the necessary permissions in the SQL server instance. For instructions, refer to the support article
M-Files and SQL Server 2017 compatibility). If the SQL server assembly is updated, you must repeat the
process.
M-Files | 3. System Administration | 166
Technical Details
M-Files Server includes Firebird Embedded, a powerful SQL database engine. Firebird is the default
database engine of M-Files. Purchasing additional database software is thus not required. When using
Firebird as the database engine of M-Files, the metadata of documents and other objects will be stored in a
SQL database. The data files of objects are stored in the file system.
Optionally, you can use Microsoft SQL Server as the database engine for better performance and support
for larger repositories. Refer to our lifecycle policy for information about the supported versions.
When using Microsoft SQL Server as the database engine of M-Files, the metadata of documents and
other objects will be stored in a SQL database. The data files of objects can be stored either in the MS
SQL database or in the file system. Microsoft SQL Server can be installed on the M-Files Server computer,
or alternatively, the M-Files Server computer can connect to an existing SQL Server farm. In the latter
case, the processor and RAM requirements of the M-Files Server may be smaller than indicated above.
If your organization wants to use a self-managed cloud environment with a SQL database, you can use the
managed instance deployment option of the Microsoft Azure SQL Database. A managed instance of the
Microsoft Azure SQL Database is a fully managed SQL Server Database Engine instance hosted in Azure
cloud.
It is strongly recommended that the data saved in the file system is encrypted. The file data encryption
at rest feature uses the AES-256 algorithm. The encryption is compliant with the Federal Information
Processing Standard (FIPS) publication 140-2. For more information, refer to Protecting File Data at Rest
with Encryption in M-Files.
M-Files uses Unicode and thus supports storing and finding data in East Asian languages as well.
Network communication
M-Files Desktop uses the TCP/IP, HTTPS, or gRPC protocol to communicate with M-Files Server. The
classic M-Files Web uses HTTP or HTTPS, the new M-Files Web uses gRPC, and M-Files Mobile uses
HTTP, HTTPS, or gRPC for server communication.
Use encrypted connections in all client-to-server communication. For more information, refer to Protecting
Data in Transit with Encryption in M-Files.
Special environments
M-Files can be used with virtualization and remote desktop technologies. M-Files has been proven to be
compatible with these environments:
• M-Files is Citrix Ready for Citrix XenApp 7.6. See Using M-Files with Citrix XenApp or Microsoft
RDS for the configuration details.
• Linux file servers
• Novell networks
Note: M-Files is not responsible for the configuration of virtualization and remote desktop
technologies, or application errors caused by their use. If a known issue cannot be resolved in
M-Files | 3. System Administration | 167
a virtual or remote desktop environment, you must set up a non-virtual environment for more
assistance.
User authentication
Windows authentication Users are authenticated using their Windows account names and
passwords. Login accounts can be imported from Active Directory
(LDAP).
Federated authentication Users are authenticated against an external Identity Provider (IdP),
such as Azure Active Directory. See Using Federated Authentication
with M-Files for more information.
M-Files authentication Users are authenticated with usernames and passwords specified
within M-Files.
M-Files supports using pre-shared keys for an additional level of security. For more information, see
Accessing M-Files Vaults without VPN.
Database connections
M-Files Server can be integrated with existing databases, such as CRM and ERP databases. All
databases with an OLE DB or ODBC driver are supported (includes SQL Server, Access, Oracle, and
MySQL).
M-Files includes an ActiveX/COM API. Supported languages include VB.NET, C#, Visual Basic, VBScript,
and C++. Additionally, M-Files includes the M-Files Web Service API that allows programmatic access to
M-Files through a REST-like interface (refer to M-Files Web Service).
M-Files API is included within the installation of the M-Files software. The API documentation is available
as an online version ( M-Files API) and as a Microsoft HTML Help file, which you can download at https://
www.m-files.com/api.
M-Files UI Extensibility Framework allows external add-ins (M-Files Applications) to be used for
personalizing the behavior of M-Files Desktop. With these applications, the M-Files experience can be
modified to better match specific business areas and needs. For more information, refer to the M-Files UI
Extensibility Framework documentation.
M-Files can be installed as a single installation or distributed and installed on several computers at once.
These instructions are for a single M-Files installation. For advanced installation options, refer to the
document Installing M-Files Desktop, M-Files Server, and M-Files Admin with Advanced Options.
Tip: During the M-Files installation progress, it can be a good idea to see M-Files and Virus
Scanning.
M-Files | 3. System Administration | 168
• The server and client computers must have Microsoft .NET Framework (not .NET) 4.7.2, 4.8.x, or later
installed for M-Files to operate correctly. You can download it at: https://dotnet.microsoft.com/en-us/
download/dotnet-framework. Normally, the Runtime version is sufficient, but you can alternatively install
the Developer Pack version.
• You can get the M-Files setup file from your system admin, or download it on the M-Files download
page.
• System admins: See Important Tasks after Installation, Vault Creation, or Vault Migration for a checklist
of tasks that we recommend to be done with the installation.
1. Quit all other applications running on your computer and double-click the M-Files setup file.
2. Click Next.
4. Click Next.
If you are not an M-Files system administrator in your organization, you can install M-Files
Desktop only. In this case, M-Files Server has been installed for you, and your M-Files system
administrator has M-Files Server Tools (M-Files Admin) installed. After the normal installation,
you can connect to the vaults on your M-Files server with M-Files Desktop Settings.
The evaluation installation includes all the software components and a sample vault, which you
can start to use after the installation.
6. Click Next.
8. If you do not want to change anything, click Next to start the installation.
The M-Files software has been installed. It is recommend to see the Getting Started with M-Files section
next.
In this chapter
This is a short description of a basic M-Files installation to a single computer that, in this case, serves as
both the server machine and the client. The purpose of this example is to provide the main steps of setting
up the elementary components of an M-Files system.
Note, however, that with the evaluation installation option, two vaults are automatically deployed.
Sample Vault contains a reference metadata structure and views for some common information
management processes as well as sample files to help you to easily evaluate the search. My
Vault contains the same metadata structure and views as Sample Vault but does not contain
the sample content. You can use the structure of My Vault as a foundation for your purposes
instead of creating a new vault from scratch. You can also restore the sample structure from
the M-Files Server installation folder (C:\Program Files\M-Files\<version>\Server
\sample\My Vault.mfb by default).
3. Create a new login account to the server as instructed in Creating a Login Account.
4. Create a new user (or multiple users) to your vault as instructed in Creating a User.
• M-Files Server, M-Files Admin, and M-Files Desktop have been installed.
• There is a document vault on the server – either one of the vaults that come with the
evaluation installation or one that you have created from scratch.
• There is at least one login account on the server.
• There is at least one user in your vault.
5. Open M-Files Desktop Settings and create a connection to the vault as instructed in Adding a Vault
Connection.
You should now have a vault on the M-Files server with a user whose credentials you can use to log in to
the vault and start browsing the content with M-Files Desktop.
Updating M-Files
Automatic updates keep the M-Files software up to date. If a newer version of M-Files becomes available,
it is downloaded and installed automatically. You can delay automatic updates for a limited time if you are
working on something important when an automatic update becomes available.
Note: For the automatic updates to run, local administrative permissions on your computer are not
necessary.
When a new M-Files version becomes available, you see a notification in the top area of M-Files Desktop.
Click Options to schedule or start the M-Files software update.
The feature gets the latest update information from the update server using HTTPS on TCP port 443. This
means that normally it is not necessary for you to change any firewall settings.
To open the settings for automatic updates, right click the M-Files icon ( ) in the Windows system tray
and select Settings > Automatic Updates.
Note: If your M-Files system admin manages the settings for automatic updates, you cannot
change them and all options are not necessarily visible.
M-Files | 3. System Administration | 170
For a high-level description on how M-Files downloads the update packages when the Download updates
automatically option on the Settings tab is enabled, see Update Download Process. To make sure that
your M-Files software is always up to date, do not disable automatic updates.
To check for updates manually, open the Installation tab and click Check Now. If an update package is
available, it is downloaded to your computer.
Note: If automatic updates are disabled, you must have local administrative permissions on your
computer to install an available update.
To disable the automatic installation of updates, open the Settings tab and unselect the Install updates
automatically check box. To start the installation of available updates manually, open the Installation tab
and click Install. If the Install button is disabled, there are no updates available for installation.
In the Installation schedule section of the Installation tab, you can select the preferred days and time
of installing M-Files updates. It is recommended that you select a date and time that is outside of working
hours so that installations do not interrupt M-Files operations in your organization. Note that the computer
must be running and not in sleep or hibernate mode when the update is scheduled to be installed. If
the computer is not running when the scheduled installation time occurs, the update is attempted to be
installed or scheduled the next time the computer is started.
For more information on scheduling update installations and disabling automatic updates, see Configuring
Automatic Updates with Registry Settings.
In this chapter
In addition to using the Automatic Updates dialog, you can configure automatic updates on the server
computer and client computers with Microsoft Windows registry settings. For the changes to take effect,
you must restart the M-Files Server service. For more information on automatic updates, see Updating M-
Files.
Note: If automatic updates are disabled, you must have local administrative permissions on your
computer to install an available update.
Tip: In Microsoft Windows, you can use Group Policy Objects to distribute registry settings to
multiple computers.
Add or edit the following Windows registry setting to disable or enable the automatic updates. To make
sure that your M-Files software is always up to date, do not disable automatic updates.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\Common\Updates
Value name Enabled
Value type REG_DWORD
Description If the value is set to 0, automatic updates are disabled on the target computer, including
manual update checks with the Automatic Updates dialog. You can update the
software by downloading and running the installation package by hand.
M-Files | 3. System Administration | 171
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\Common\Updates
Default value The default value is 1.
Valid values 1 Updates are enabled on the computer.
0 Updates are disabled on the computer.
Add or edit the Windows registry settings in this section to disable or enable specific features of automatic
updates.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name AllowToUseAutoInstallationFeature
Value type REG_DWORD
Description If the value is set to 0, installing automatic updates is disabled and only the Download
updates automatically option is visible on the Settings tab in the Automatic Updates
dialog. You can still install updates in the Installation tab of the Automatic Updates
dialog.
Default value The default value is 1.
Valid values 1 The setting Install updates automatically is shown on the Settings tab.
0 The setting Install updates automatically is not shown and updates are not
automatically installed.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name EnableAutoInstallation
Value type REG_DWORD
Description With this setting, you can specify whether automatic updates are automatically installed.
If the setting AllowToUseAutoInstallationFeature is set to 0, this setting has no
effect.
Default value The default value is 0.
Valid values 0 Automatic updates are not automatically installed. The Install updates
automatically option is disabled on the Settings tab of the Automatic
Updates dialog.
1 Automatic updates are automatically installed. The Install updates
automatically option is enabled on the Settings tab of the Automatic
Updates dialog.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name EnableUpdates
Value type REG_DWORD
Description If the value is set to 0, M-Files no longer downloads updates automatically, but you can
run the update check manually in the Installation tab of the Automatic Updates dialog.
Default value The default value is 1.
Valid values 1 M-Files automatically checks for updates and downloads a new version if
one is available.
0 M-Files does not check for new versions automatically.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name CanConfigureAutoInstallingViaUi
Value type REG_DWORD
Description If the value is set to 0, the settings shown on the Settings tab in the Automatic
Updates dialog cannot be changed.
Default value The default value is 1 for Microsoft Windows Server operating systems and 0 for other
operating systems.
Valid values 1 Settings shown on the Settings tab in the Automatic Updates dialog can be
changed.
0 Settings shown on the Settings tab in the Automatic Updates dialog cannot
be changed.
If necessary, you can adjust the installation deadline and the amount of time by which users can delay the
installation. Add the following registry settings on the target computer to adjust the installation deadline:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name PostponeDurationInHours
Value type REG_DWORD
Description Users can delay the installation process once before it is started. Edit this value to
change the number of hours by which users can delay the installation process by
selecting Update Later in the options dialog.
Default value 10 The default value for the additional delay is 10 hours.
Valid values Any number of hours.
M-Files | 3. System Administration | 173
You can select the preferred days and time of installing M-Files updates. It is recommended that you select
a date and time that is outside working hours so that installing updates does not interrupt daily M-Files
tasks in the organization.
Note that the computer must be running and not in sleep or hibernate mode when the update is scheduled
to be installed. If the computer is not running when the scheduled installation time occurs, the update is
attempted to be installed or scheduled the next time the computer is started.
Add the following registry settings on the target computer to define an installation schedule:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name AutoInstallDays
Value type REG_SZ
Description One or more days when automatic updates are attempted to be installed. Separate
multiple values with a semicolon.
Default value mon;tue;wed;thu;fri;sat;sun
By default, automatic updates are attempted to be installed every day of the
week.
Valid values mon Monday
tue Tuesday
wed Wednesday
thu Thursday
fri Friday
sat Saturday
sun Sunday
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name AutoInstallTimeOfDay
Value type REG_SZ
Description The time of day in 24-hour format when automatic updates are attempted to be
installed.
Default value 02:00 By default, automatic updates are attempted to be installed at 02:00.
Valid values Any valid time of day.
You can add random delay to the beginning of the automatic updates by adding the following registry
setting on the target computer:
M-Files | 3. System Administration | 174
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name AdditionalMaxRandomSleepingPeriod
Value type REG_DWORD
Description The maximum value for the random delay (in other words sleeping) added to the main
sleeping period (default: one hour) at the beginning of the automatic updates poll-
download-install cycle. The randomness establishes a crude form of load balancing in
a network. When defining the value, take into consideration that too large values may
impact polling frequency and that also several other registry settings affect the sleeping
period and installation. Their combined effect can result in unwanted consequences,
such as preventing a user from postponing the installation during office hours or
delaying the download to occur only after a weekly installation day. With the default
settings, the poll-download-install cycle restarts every 1-2 hours with a mean value of
1.5 hours.
Default value 3600 The default maximum added delay value is one hour (3600 seconds).
Valid values 0 No random added delay.
<1-86400>Maximum random added delay in seconds.
When the Download updates automatically option is enabled, M-Files automatically requests for an
update package from the default update server (findupdates.m-files.com) every hour. If a new
version is available, the automatic update server sends the new version number and an HTTPS URL for
the update package to M-Files.
Note: Update packages for new versions are made available gradually after an update is released.
After receiving the download URL, M-Files checks that it starts with https, and if it does, downloads
the digitally signed update package with Background Intelligent Transfer Service (BITS). M-Files then
proceeds to verify that the update package has been created and signed by M-Files and that it has not
been tampered with, therefore making sure that it can be safely installed, and finally makes the new
version available for installation.
Note: By default, M-Files is automatically updated and manual update is not necessary. For more
information, see Updating M-Files.
Before you start the update, do not uninstall previous versions of M-Files. The M-Files installer
automatically detects the previous versions of the software and migrates the settings to the new version.
When you select the Simple upgrade option, the setup installs the new version and transfers the M-Files
settings and all the local data from the previous version to the new version. Finally, the setup uninstalls the
previous version.
Installation preconditions
For information on the product versions that M-Files supports, refer to M-Files Lifecycle Policy.
All M-Files Server instances in a replication setup must have the same build number. For example, 12628
in 23.5.12628.4.
To verify compatibility with M-Files API and replication, refer to M-Files version compatibility regarding API
and Replication.
If you have recently done the Verify and Repair (Quick) operation and issues were found, make sure that
they are fixed before you upgrade the software.
Before you install the upgrade on the M-Files server, make sure that the conditions listed here are met.
• Your server fulfills the requirements of the new version. See System Requirements and Technical
Details.
• Recent backups of the vaults are available and usable. The backups can be useful if an unexpected
error occurs during the upgrade.
• Recent backups of the master database are available.
• It is recommended that the backups are on a disk that is separate from the main system.
If an error occurs, create a support case in M-Files Support Portal or contact your M-Files reseller
immediately. Do not try to resolve the situation yourself.
Note: In some cases, you must disable your antivirus software for the duration of the upgrade
process.
Installation order
You can upgrade the client computers and the server computer in any order. If you do not upgrade to
the immediately subsequent M-Files version, make sure that the new version is compatible with the old
version to avoid unnecessary interruptions. In these scenarios, upgrade first the server and then the client
computers.
Note: It is possible that some new options and features of the newer version are not available until
the server and the clients have been upgraded.
The internal database structure of the vault changes during the upgrade. This is why also the vaults must
be upgraded. All online vaults are upgraded automatically during a software upgrade. However, you must
upgrade vaults in the offline state manually.
Service releases
Service releases are small software upgrades that share the same main version number (for example,
22.3). After the main version number comes the four- or five-digit version ID for the service release. For
example, 23.3.12441.9 and 23.3.12441.10 are service releases for the version 23.3.12441.6.
M-Files | 3. System Administration | 176
Service releases do not usually contain new features. They are released if significant issues are detected
in the released version or if compatibility with newer versions of other software requires changes to M-
Files.
Service releases are compatible between each other and can be installed in any order.
You can use the Windows Group Policy feature to automatically distribute M-Files to client computers. You
can also use any other centralized deployment mechanism that you are familiar with. To customize the
behavior of the M-Files setup program, refer to Installing M-Files Desktop, M-Files Server, and M-Files
Admin with Advanced Options.
M-Files Admin is a tool that is used for administrating and maintaining M-Files document vaults and M-
Files Server connections.
M-Files Server is the backbone of the M-Files system. It saves all objects (such as documents, employees
and customers), controls access rights, registers object modifications (version history), and allows the
system administrator to configure connections also to other systems (such as a customer registry).
Basically, M-Files Server saves and controls all information related to the M-Files system.
Technically, M-Files Server, like M-Files Desktop, is a service. This means that M-Files Server starts
automatically when the server computer starts. The M-Files Server software is run even if there are no
users logged in on the computer running the M-Files Server software.
Figure 22: The M-Files Admin main window displaying the different levels inside a document vault.
M-Files | 3. System Administration | 177
Login account The M-Files Server login account that is used to log in to M-Files
Server and on the basis of which a new user can be added to the
document vault.
Metadata In M-Files Admin, you can change the structures of metadata (for
example, value lists, property definitions, document classes, and
document class groups) and create new metadata, whereas you just
specify values for these metadata items in the day-to-day use of M-
Files. Compare with M-Files Terminology.
Object type Besides documents, you can also manage other objects, such as
customers and projects. These data set definitions are called object
types. Document is one object type.
Property Definition Property definitions are used to determine properties associated with
document classes. A property definition is used to define the property
name (which should be descriptive) and data type, which determines
the type of the data entered (in relation to the property).
Role Roles can be used to provide users with permissions that mainly
affect M-Files Server Administration. The permissions gained through
roles always take precedence over document and object permissions.
User who has all permissions to a document vault can access any
object, even if the access of a particular user to a document has been
denied by means of object-specific permissions.
System administrator A system administrator is a user who has been assigned the role
of system administrator. This means that the user's login account
has the server role System administrator. With this role, the user
gets all the permissions to each vault on the server and the user has
server-level access to do all possible functions in M-Files. A system
administrator can add the role of system administrator to other login
accounts.
M-Files | 3. System Administration | 178
User The M-Files user, who, at the server level, can be either a regular
user or a system administrator. Users can be added to the desired
document vaults, and a user's document vault administration
permissions depend on the document-vault-level roles assigned to
the user. On the document vault level, roles mainly determine the
user's permissions to document vault administration. A regular user's
basic permissions are also assigned by means of roles.
Users can be grouped into external and internal users. For example,
you can define your customers as external users. External users
can only see and access documents and objects specifically marked
for them. By default, they do not have permissions to view any
documents.
User group You can create user groups on the M-Files server to which individual
users can be added. Each user automatically belongs to the user
group All internal and external users. In addition, each internal user
automatically belongs to user group All internal users. User groups
are specified on the document vault level. User groups can be used to
define the permissions to an object, that is, to specify the users who
may access it.
Value List A value list is a list that contains various values, such as the names of
all customers. The same value list can be utilized in several different
properties.
Vault The document vault is managed with M-Files Admin. This is where
you can add users to the document vault, change the metadata
structures of objects, and edit views visible to all users. See also M-
Files Terminology.
This section offers an information about various operations and settings related to connections to M-Files
server.
Note: In M-Files Cloud, only M-Files employees can make changes on the server level.
The M-Files Cloud service includes managing server licenses, backups, and server certificates. Customer
administrators do not have access to the related sections in M-Files Admin.
frequently user-specific. A network drive may, for example, contain an external database for a value
list.
In this chapter
To set up a new connection to M-Files server in M-Files Admin, select Connections to M-Files Servers in
the left-side tree view. In the task area, click New Connection to M-Files Server.
M-Files | 3. System Administration | 180
Name
Enter the network name or IP address of the server on which M-Files Server has been installed and that
contains the document vault.
The server was specified in the previous field, and in this field you specify the port to connect to on the
server. Enter the server port number to connect to. M-Files uses port 2266 by default.
M-Files | 3. System Administration | 181
Connection/Protocol
Specify the protocol to be used for the network connection. The following protocols are available:
• gRPC
• Local gRPC
• TCP/IP
• SPX
• Local Procedure Call (LPC)
• HTTPS
Note: When you use the gRPC protocol for connections between the M-Files server and M-Files
clients, a valid TLS certificate must be in use on the server for connection security and encryption.
For instructions, see Managing Server Certificates.
Enable this option to secure the communication between M-Files Admin and M-Files Server with RPC
encryption.
RPC encryption does not require Internet Information Services or any other additional components and is
often the simplest way to achieve encryption of network communication between the client software and M-
Files Server in the organization's internal network.
The option is available for the TCP/IP and gRPC protocol. If the protocol is HTTPS, the connection is
always encrypted at the HTTPS protocol level. For connections from outside the organization's internal
network, HTTPS or VPN should still be used, as RPC communication to the default TCP port, 2266, is
often blocked by firewalls.
Note: For RPC encryption to work, the user as well as the computer must be able to authenticate
to the server computer. In practice, this requires that the client computer belongs to the Windows
domain and that the user is a domain user.
For more information on encrypted connections and instructions on how to configure the server to require
encrypted connections, refer to Protecting Data in Transit with Encryption in M-Files.
It is also possible to use pre-shared keys in combination with HTTPS for securing a VPN-less access from
outside the organization's private network.
You can specify an explicit HTTP proxy server for a server connection that uses the gRPC or HTTPS
protocol. This can be necessary if your organization wants to route all traffic through an HTTP proxy
server.
To do this, enable the option Specify HTTP proxy settings and do one of these options in the HTTP
proxy server field:
You can test the operation of the connection to M-Files server with the Test Connection button.
M-Files | 3. System Administration | 182
Authentication
Specify the method M-Files Server is to use for authenticating the user. The authentication options are
Current Windows user, Specific Windows user and M-Files user.
In this chapter
You can use the Disconnect function to disconnect the network connection to the server. You can
reconnect the connection later without having to specify the server registration properties again.
To disconnect:
To reconnect:
To open license management settings in M-Files Admin, right-click your M-Files server in the left-side tree
view and click License Management.
M-Files | 3. System Administration | 183
License status
The status of the license is shown here. Users receive a notification before the license expires.
Serial number
Licensed to
The license holder is displayed here. This confirms that your organization is the registered user of the
software.
Subscription expires
Subscription expiry date. During the subscription period, you are entitled to all M-Files version updates
free of charge. You also need to have an active M-Files subscription for receiving customer support free of
charge.
The number of licenses installed is displayed for each license type separately. Below that, you can see
the number of licenses in use. Named user licenses are assigned to individual login accounts. For more
information about license types, refer to License type.
The number of concurrent user licenses in use is determined by the number of currently logged in users
using this license type. A license is reserved when a user using this license type logs in to M-Files. When
the user logs out of M-Files, the license becomes available. For more information about license types, refer
to License type.
A read-only license allows the user only to read content. It does not allow the user to create or modify
documents in the document vault. For more information about license types, refer to License type.
Additional modules
Here you can see the additional modules to which you have access, such as the OCR module.
Refresh
The Refresh button brings the "in use" license data up to date.
Install License
When the evaluation period expires, you need a license to be able to use M-Files. Install your license by
clicking the Install License... button. Enter the serial number and license code you have obtained, and
then click OK.
Login Accounts
The vault has users who must first authenticate themselves to M-Files Server. Before creating the users,
you must create login accounts on M-Files Server. These login accounts are added to vaults as users. The
same server login can be added to several vaults.
M-Files | 3. System Administration | 185
Figure 24: Login accounts are used for authenticating M-Files users to M-Files Server. They can be imported from a domain to M-
Files Server. Login accounts are associated with vault-specific users.
In this chapter
You can create a login account in M-Files Admin when you right-click Login Accounts in the left-side tree
view and select New Login Account. For a step-by-step guide, see Creating a Login Account.
Tip: You can also import Windows login accounts to M-Files. For more information, see Importing
Login Accounts.
M-Files | 3. System Administration | 186
Windows authentication
Windows authentication can be used for authentication on M-Files Server. In this case, the user logs in to
the vault with the same login information used to log in to Windows or the domain of the organization.
M-Files | 3. System Administration | 187
Domain login is the quickest and easiest authentication method. This means that new passwords and
logins are not necessary, which makes this a user-friendly method. For more information, see Differences
between the various user authentication methods.
Note: If your organization uses federated identity management, refer to Using Federated
Authentication with M-Files.
M-Files authentication
With the M-Files authentication method, the user can log in to M-Files only. If the organization does
not have a Windows domain or the user must not have access to it, it is a good idea to use M-Files
authentication for the vault.
Personal information
Enter an email address and a full name for the login account. This information is used for sending
notifications. For more information about notifications, see Editing Notification Settings in M-Files Admin. If
the authentication method used is Windows authentication, you can retrieve the personal information from
the domain when you click Update Information from Domain.
License type
Named user licenses are assigned to individual login accounts. This license allows the login account to use
M-Files any time, independent of other users.
When a login account entitled to a concurrent user license logs in, one license of this type is taken up.
When the login account logs out, the license becomes available for use by other login accounts that use
this same license type.
Read-only license
Read-only licenses are assigned to individual login accounts. This license allows the login account to use
M-Files at any time, independent of other users. Users with a read-only license can only read documents,
not create or edit them. However, they can mark an assigment complete and change the workflow state of
an object.
External Connector licenses enable third-party systems to anonymously read M-Files database. The
license type is necessary, for example, when M-Files data is published programmatically in an intranet or
extranet environment to an unrestricted number of users. Anonymous authentication for the new M-Files
Web and M-Files Mobile is an example of such use.
You cannot select this license type in the user interface. To get an External Connector license, contact
[email protected].
M-Files | 3. System Administration | 188
Account is disabled
This function provides an easy way to specify whether the user can log in to the server or not. This function
is useful if you do not want to remove the login account altogether, but to disable it for the time being.
With this role, the user can make any changes on the server level. The user can change the server logins
and create and delete vaults. In other words, a system administrator can do any operation on a vault.
Note: In M-Files Cloud, only M-Files employees can make changes on the server level. Thus, you
cannot have the system administrator server role in M-Files Cloud. Customer administrators get the
Full control of vault rights to their vaults.
See the table for a comparison between the permissions of a system administrator and a user with the Full
control of vault administrative rights. For a description of the administrator permissions in the Advanced
Vault Settings section of the M-Files Admin configurations editor, see this table.
For a system administrator to log in to a vault on the server with M-Files Admin, a user account in that vault
is not necessary. However, you can set the system administrator to not have access to vaults and rights to
create users in vaults where they do not have a user account. To do this, a specific license is necessary.
To get the license, contact [email protected]. For more information about this feature, contact our
customer support in M-Files Support Portal or your M-Files reseller.
6. Select an authentication method and enter authentication details in the fields below the selected
authentication method.
7. Enter an email address and a full name in the personal information fields.
If you use Windows authentication, you can click Update Information from Domain to retrieve
personal information from the domain's directory service.
9. Optional: Check the Login account is disabled check box if you want to disable the login account for
the time being.
10.Optional: Check the System administrator check box if you want to assign a system administrator
role for the login account. This role entitles the user to make any changes on the server level, including
changing the server logins and creating and deleting document vaults.
11.Click OK.
You should now have a new login account and it should appear in the Login Accounts list when you
highlight Login Accounts in the left-side tree view in M-Files Admin.
Importing Login Accounts
5. Select either:
a. Choose from list to select the user group using drop-down menus. In Domain, select the desired
domain. In Organizational unit, select the desired organizational unit within that domain. Finally, in
User group, select the user group that you want to import.
or
b. Enter Name. This option is especially useful if you have so many user groups that searching the
correct one from list is hard. Enter the name of the user group in the format <domain>\<user group>
and click Show.
The list area in the dialog is populated with the members of the selected user group.
M-Files | 3. System Administration | 191
6. Optional: Check the Include users from nested groups check box to be able to import login accounts
from nested groups within the selected user group.
The list area in the dialog is populated with the members of the selected user group and the
members of any user group nested within the selected user group.
7. Select the login account or login accounts by clicking a login account on the list.
You can select more than one item at once. Hold down the Ctrl key to select multiple individual
items or hold down the ⇧ Shift key to select adjacent items on the list.
8. Using the License type for new login accounts drop-down menu, select the license type for the login
accounts to be imported.
The selected login accounts are imported to M-Files Server and should now appear in the Login
Accounts list when you click Login Accounts in the left-side tree view in M-Files Admin.
Changing the Login Account of a User
Sometimes it can be necessary to change the login account for a user. For example, when a user's last
name has changed or when login accounts are moved between domains. To keep the user history and the
user's personal settings in the vault, do not delete the vault user. Instead, change its login account where
necessary. For the differences of these two, see the descriptions of login account and user.
In the M-Files June '24 Update and later, the events that are related to users also include a user account
ID. The user account ID stays the same even when the account name is changed.
! Important: Changing login accounts when users are synchronized from Microsoft Entra ID
If new login accounts are synchronized from Entra ID, M-Files automatically creates new users for
the new login accounts. To associate the new login account with the correct existing user, you must
first delete the new, automatically created user. Before you do this, make sure that the user has not
used the automatically created user account. Otherwise, user settings and history are lost.
Before you begin, make sure that the new login account has been created in M-Files. To change a login
account of a user:
4. Expand a vault.
5. Select Users.
6. Right-click the user whose login account you want to change and select Properties.
7. In the User Properties dialog, use the Login account drop-down menu to select a new login account
for the user.
M-Files | 3. System Administration | 192
8. Click OK.
The new login account is now associated with the existing user. When the user logs in with the new user
credentials, their previous user history and personal settings in the vault are available.
Editing Many Login Accounts
You can do some operations on many login accounts at the same time. This is useful if you have a lot of
login accounts in M-Files and you want to, for example, change the license type of many login accounts.
When you have selected many login accounts, the operations Enable, Disable, Delete, and Change
License Type are available.
a. To select a range of login accounts, click the first login account, hold down the ⇧ Shift key, and click
the last login account.
or
b. To select many individual login accounts, click the first login account, hold down the Ctrl key, and
select the other login accounts.
6. Optional: If you selected Delete, click Yes in the dialog that is opened to confirm the operation.
You can server-specifically view the currently logged-in users and their license types.
Do the following steps to view the users who are currently logged in to the server:
The Logged-in Users dialog is opened, showing the users who are currently logged in. You can click
Refresh to update the view.
If necessary, you can also force certain users to log out by selecting the user and clicking Force Logout.
This might be very useful, for instance, when concurrent licenses are used: The operation enables you
to force the logout of idle users to release the license to be used by someone who actually needs it at
the moment. Forcing active users to log out, however, normally does not affect them at all. Active users
immediately get a license if available licenses exist.
Note: Displaying the logged-in users and forcing their logout requires you to have administrator
rights.
M-Files | 3. System Administration | 193
Scheduled Jobs
Backups can be automated with Scheduled Jobs that you can find at the bottom of the left-side tree
structure in M-Files Admin. Backups can be restored later if necessary (see Restoring a Vault).
In this chapter
Note: If you are looking for information on scheduled export and import jobs, see Scheduled Export
and Import.
5. In the Description field, enter a description for the new scheduled job.
8. Select either:
a. Master database: Select this option if you want to schedule a backup job for the master database.
or
b. Vault: Select this option if you want to schedule a backup job for a document vault. Use the Vault
drop-down menu to select the vault that you want to back up and the Backup type drop-down menu
to select either the Full backup or Differential backup backup type.
Note: A full backup is the most complete copy that can be produced with M-Files. It
contains, for example, the history information of all documents. You cannot make a
differential backup if you have not made a full backup first. A differential backup contains all
data that has been changed after the last full backup.
9. Click the ... button to select the destination of the M-Files backup file (MFB).
10.Optional: Click Set Account... to run the task with another account than the Local System account. If
the file location is on a network drive that the Local System account cannot get access to, you must set
another account. On the Set Account dialog:
a) Select This account.
b) In This account, enter the name of the user account.
c) In Password and Confirm password, enter the password of the user account.
d) Click OK to close the Set Account dialog.
M-Files | 3. System Administration | 197
11.Optional: If you want to divide the vault backup into multiple files, check the Divide to multiple files
check box and set the file size limit.
The names of the backup files should not be modified as they might no longer be recognized
during a backup operation later on.
12.Optional: Check the Overwrite existing files check box if you want your new backup files to replace
any existing files with the same file name.
The scheduled backup job you have defined is added to the Scheduled Jobs list and it is run according to
the specified schedule.
Scheduled Backup Jobs
The Backup tab of the Scheduled Job Properties dialog enables you to define what needs to be backed
up and to which location. You can also specify whether to divide the backup into multiple files and whether
to overwrite existing backup files.
For step-by-step instructions on how to create a vault backup, see Backing Up a Vault.
M-Files | 3. System Administration | 198
Figure 26: The Backup tab of the Scheduled Job Properties dialog.
Backup types
Two kinds of backups can be made of document vaults: full backups and differential backups. Only full
backups can be made of the master database.
A full backup is the most complete copy that can be produced with M-Files. It contains, for example, the
history information of all documents. You cannot make a differential backup if you have not made a full
backup first.
To save disk space, full backups should be scheduled to occur less frequently, for instance once a week,
and differential backups for example once a day. Be sure to specify backups separately for both the
document vault and the master database.
The differential backup contains all data that has been changed after the last full backup. When restoring a
differential backup, you will need the full backup and the files from the last differential backup.
M-Files | 3. System Administration | 199
M-Files Admin includes a tool called Server Activity Monitor for observing events, processes, and tasks
executed by vault users or M-Files Server. The tool enables you to easily identify possible issues related to
operations taking place on the server.
Note: The activity monitor records a limited number of events. This means that once the record is
full, every time a new event is recorded, the oldest event is removed from the list.
This topic describes the various views included in the monitoring tool, but let's first see how to access
Server Activity Monitor in M-Files Admin.
As a result, you should see the activity monitor on the right side window of M-Files Admin.
Note: The views are not updated in real time. You can use the Refresh and Reset commands on
the task pane to update and clear the views. The activity monitor is always on, so you do not need
to separately activate it.
Tip: You can sort the information by any numerical column in any of the views by clicking the
column heading of you choice.
Tip: You can easily copy any of the server activity listings shown by selecting and copying a listing
and pasting the selection into, say, Microsoft Excel or Microsoft Word. If you paste the selection
M-Files | 3. System Administration | 200
into a Microsoft Excel worksheet, the copied listing is separated into multiple cells, preserving the
original row and column format.
The commands on the task pane allow you to perform various operations in Server Activity Monitor:
This view lists all the active user and system sessions by vault connection. If the connection is listed as
(server), the connection is not to any of the vaults, but to the server itself.
This view lists the total number (Count) and duration of operations (Total duration) by user, the
description of the operation (Operation), the average duration per operation (Average), and the vault
connection (Vault).
The Total row shows the total duration and number of operations for the entire period server activity has
been monitored, and the number of operation calls made per second during the monitoring period.
Note: This view lists only thirty operations at a time, whereas the Total row displays the total
number and duration of operations for the entire period of time server activity has been monitored.
Therefore the calculated total number and duration of the operations visible in the view may not be
equal to the figures shown in the Total row.
Objects modified
This view displays the number of object modifications by user and vault.
• object creation
• object modification
• object deletion
The Total row shows the total number of object modifications for the monitoring period and the average
number of object modifications made per second.
Note: This view lists only thirty operations at a time, whereas the Total row displays the total
number of operations for the entire period of time server activity has been monitored. Therefore the
calculated total number of the operations visible in the view may not be equal to the figures shown
in the Total row.
M-Files | 3. System Administration | 201
This section lists the views accessed and searches initiated by the user. It displays the total duration, the
number of uses, and the average duration per use of a single view (such as Recently Accessed by Me) or
a search. Each row displays the user who accessed the view or performed the search, as well as the vault
in which the operation was performed.
The Total row shows the total duration it has taken to open views and perform searches during the
monitoring period. It also displays the total number of searches performed and views opened, and the
average number of such operations made per second.
Note: This view lists only thirty operations at a time, whereas the Total row displays the total
number and duration of operations for the entire period of time server activity has been monitored.
Therefore the calculated total number and duration of the operations visible in the view may not be
equal to the figures shown in the Total row.
Background processes
The Background processes view lists activities automatically executed by M-Files Server, such as
scheduled maintenance tasks and processing of automatic state transitions. In addition to the name of the
process, the view displays the affected vault, as well as the duration, the last start time, and – for periodic
events – the next start time of the process.
The M-Files master database contains the server login accounts and scheduled backup jobs. For
example in case of a hardware failure, the master database can be restored from the backup so that login
information and server-specific settings like scheduled backup jobs are not lost.
4. In the Destination section, click ... to browse for the location where you would like to have the backup
file placed.
5. Optional: Click Set Account... to run the task with another account than the Local System account. If
the file location is on a network drive that the Local System account cannot get access to, you must set
another account. On the Set Account dialog:
a) Select This account.
b) In This account, enter the name of the user account.
c) In Password and Confirm password, enter the password of the user account.
d) Click OK to close the Set Account dialog.
6. Optional: Check the Divide to multiple files check box if you want to divide the backup into multiple
files of given size.
Use the File size limit spinner to specify the size of the split backup files.
7. Optional: Check the Overwrite existing files check box if you want to overwrite any existing backup
files in the location you have selected.
M-Files | 3. System Administration | 203
8. Optional: In the Scheduling section, select the Add to scheduled jobs option if you want to specify a
recurring schedule for backing up the master database.
a) Click the ... button.
The master database backup is stored in the location you have selected.
Restoring the Master Database
4. Click ... to browse for the location of the master database backup file.
5. Optional: Click Set Account... to run the task with another account than the Local System account. If
the file location is on a network drive that the Local System account cannot get access to, you must set
another account. On the Set Account dialog:
a) Select This account.
b) In This account, enter the name of the user account.
c) In Password and Confirm password, enter the password of the user account.
d) Click OK to close the Set Account dialog.
A confirmation message is displayed after the master database has been restored.
Before you set up a server certificate, refer to Setting Up M-Files to Use gRPC in M-Files Support Portal to
learn more about server certificates.
When you use the gRPC protocol for connections between the M-Files server and M-Files clients, a valid
TLS certificate must be in use on the server for connection security and encryption. If the certificate cannot
be found, it is outdated, or it will become outdated in a week or less, a warning icon ( ) is shown in the M-
Files Admin user interface.
Before you start, make sure that you have a TLS certificate and a private key for the certificate. For
information about digital certificates, refer to information given by certificate authorities. For example,
Verisign, IdenTrust, or DigiCert. You can also create your own certificate, for example, with OpenSSL.
The best practice is to use certificates by well-known public authorities, such as certificates that are
commonly used in public web servers. Otherwise, when you use self-signed certificates, you must add
the corresponding public keys to the Trusted Root Certification Authorities certificate store of the client
computers. This way the signatures can be properly verified on systems that access the M-Files server
with gRPC. Make sure that you add the signing certificate under the Local Computer and Current User
certificate stores. The client computer must be able to verify the entire certificate chain. If any of the
signatures cannot be verified, the connection cannot be opened.
6. Locate and double-click a valid private key (a KEY file) to put it to use.
EC and RSA certificates are supported. EC keys must be in the PKCS#8 format and RSA keys
in the PKCS#1 format.
For more information, refer to the server certificate section in Setting Up M-Files to Use gRPC.
8. Locate and double-click a valid TLS certificate (a CRT file) to put it to use.
9. Make sure the certificate details are as expected and click OK.
The certificate is now in use for connections between the M-Files server and M-Files clients.
This section describes how you can create, operate and maintain document vaults, and deals with various
other aspects closely related to document vaults, such as content replication, vault languages, and
connections to external databases.
In this chapter
• Vault Operations
• Vault Maintenance
• Languages and Translations
• Connections to External Sources
• Email Client Integration Settings
• Content Replication and Archiving
• Vault Event Log
• Scheduled Optimization
• Monitoring Background Tasks
• Managing Vault Indexing
• Measuring Vault Performance
• Interaction Among Several Vaults
M-Files | 3. System Administration | 206
Vault Operations
This section provides instructions for various administrative document vault operations, such as creating,
copying, backing up, or restoring a document vault, or restarting a vault, which is an operation that must be
occasionally carried out to make vault configuration changes effective.
In this chapter
• Creating a Vault
• Copying a Vault
• Attaching a Vault
• Detaching a Vault
• Backing Up a Vault
• Restoring a Vault
• Creating a Search Index
• Backing Up and Restoring the Vault Search Index
• Destroying a Vault
• Upgrading Vaults
• Migrating the Vault Database to Microsoft SQL Server
• Restarting a Vault
• Taking a Vault Offline and Bringing a Vault Online
• Logging in to and out of a Vault in M-Files Admin
Creating a Vault
In M-Files Cloud, you can create a vault in M-Files Manage. For instructions, refer to Creating a Cloud
Vault in the M-Files Manage user guide.
If you want to create a new vault in a language other than the currently selected software language,
you must first change the software language and restart the M-Files Server service with Windows Task
Manager before you create the vault. For instructions on changing the software language, see Selecting
the Software and Vault Language.
See Important Tasks after Installation, Vault Creation, or Vault Migration for a checklist of tasks that we
recommend to be done with vault creation.
To create a vault:
5. In the Name field, enter a name for the new document vault.
6. Use the Primary language and Secondary language drop-down menus to select the primary and
secondary languages for full-text search features.
These selections affect, for example, the way inflected or irregular forms of words or compounds
are dealt with in searches. If the document vault is to contain material in several languages, it
is recommended to select the language that is used most as the primary language and a less
commonly used language as the secondary language.
M-Files | 3. System Administration | 208
Selecting a language or languages improves the probability of finding the right search results.
Even if a certain language was not selected as the primary or secondary language, the full-text
search will nevertheless return results if words in this language were used in the search.
7. Optional: Click Import... to change the vault icon to facilitate finding the right vault if you are using
multiple vaults.
a) In the Change Icon dialog, select an item from the list or click Browse... to search for a different
icon.
b) Click OK once you have selected the new icon.
You can revert back to the default icon by clicking Use Default.
You should now have created the document vault and it should appear on the left-side tree view of M-Files
Admin under Document Vaults.
Note: When you create a document vault, M-Files automatically creates an ID for it. The ID can
be changed later in the Document Vault Properties dialog of the vault by clicking the Change
Unique ID button.
After you have created the vault, the users of the vault must add a connection to it with M-Files Desktop
settings. For instructions, see Adding a Vault Connection.
In this chapter
On the Advanced tab of the Document Vault Properties dialog, you can define whether you want to use
Firebird or Microsoft SQL Server for saving document vault information.
Firebird is a SQL database engine integrated in M-Files. As part of the M-Files Server service, it requires
no separate installation and is therefore very easy to use. Choose Firebird as the database engine, unless
you have a particular reason to choose Microsoft SQL Server. Switching from Firebird to Microsoft SQL
Server can be easily done later on if necessary. Changing from Microsoft SQL Server to Firebird is not,
however, possible.
Microsoft SQL Server is a SQL database engine that requires purchasing and separate installation. It
is recommended to use Microsoft SQL Server with large document vaults, but it also requires that the
administrator is already familiar with the Microsoft SQL Server management.
Note: Never modify the content structure of the document vault database directly using, for
instance, database system management tools. The database contents may be modified with the
M-Files Server service only. Other modifications endanger the logical integrity of the database,
which may cause faulty operation of the software and loss of data. The structure and contents of
the document vault may only be modified via M-Files Desktop, M-Files Admin, and M-Files API.
M-Files | 3. System Administration | 209
Firebird
For vaults created with version 8.0 (or later), the extended metadata-driven permissions are active by
default. Otherwise they need to be manually activated. Please bear in mind that you cannot undo the
operation.
Note: If you have assigned automatic permissions to values in earlier versions of M-Files, it is
strongly recommended to check that the permissions are still working as desired.
For more information on automatic permissions, refer to Automatic Permissions for Value List Items. You
can activate the automatic permissions by value, value list, object type, or class. To use the automatic
permissions through a specific property, also allow this in the property definition's properties. For more
information, see New Property Definition.
This option lets you use the AES-256 algorithm for encryption of the vault file data at rest. The encryption
is compliant with the Federal Information Processing Standard (FIPS) publication 140-2. For more
information, refer to Protecting File Data at Rest with Encryption in M-Files.
Before you enable the feature, please take note of this important information:
• Make sure that you have enough disk space. See Disk space needed for encrypting file data at rest.
• This option only encrypts file data that is stored to the vault after the feature has been enabled. Thus,
after you have enabled the feature, you must run the Update encryption status of existing files
operation to encrypt all existing files in the vault.
• We recommend that you make sure that the users of the vault have no objects checked out to them.
Objects that contain at least one file and have never been checked in can no longer be checked in after
the vault file data has been encrypted. If this issue occurs, the files are still available on the client machine,
but they cannot be made available for other vault users. Additionally, M-Files Server stores the files in
unencrypted format and no vault maintenance operation will delete them.
After you have enabled the feature, do these steps to encrypt the existing data:
Note: The scheduled automatic optimization does not remove the unencrypted file data.
Especially when encryption is enabled, it is crucial to have thorough and frequent backup processes in
place. The combination of encrypted file data, hard drive failure, and inadequate backup system could
eventually lead to the loss of all data.
With this option, you can activate the audit trail features for this vault. M-Files supports the administration
of electronic records and signatures in compliance with FDA 21 CFR Part 11. Electronic signing requires
the Electronic Signatures and Advanced Logging module, which is available for a separate fee. The
module includes event logging extensions and electronic signature functionality. The module is activated
with an appropriate license code.
Electronic signatures are automatically enabled as soon as the license code is activated. For more
information, see Electronic Signing and Compliance.
For a list of the event types recorded to the event log, see Event Types.
Tip: If you want to give system administrators more visibility into actions that vault users perform in
a vault, see User Action Log.
The Annotation and redlining feature enables you to add annotations to documents in the document vault.
You can enable the annotations and redlining feature by checking the Annotations and redlining check
box in the Document Vault Properties dialog. For more information about annotations in M-Files, see
Annotations and Redlining.
M-Files Web
Enter the URL to your M-Files Web home page. M-Files requires this to include M-Files Web URLs in
hyperlinks and M-Files Web links in notification messages.
Make sure that the URL starts either with http:// or https://. For example: https://
myserver.mydomain.com.
Enter the URL to your classic M-Files Web home page. M-Files requires this to include classic M-Files
Web URLs in hyperlinks and classic M-Files Web links in notification messages.
Make sure that the URL starts either with http:// or https://. For example: https://
myserver.mydomain.com.
In this chapter
M-Files uses Firebird as the default vault database engine. We recommend that Microsoft SQL Server
is used if the vault contains several hundreds of thousands of objects. If a vault has originally been set
M-Files | 3. System Administration | 211
up to use Firebird but the number of objects in the vault and the size of the metadata file has since then
significantly increased, migrate the vault database to Microsoft SQL Server.
We recommend that you start to plan migration to Microsoft SQL Server when the size of the metadata file
for a vault is close to 1 GB. For instructions on checking the metadata file size, see Checking the Size of a
Firebird Metadata File.
You can apply a registry setting to extend Firebird usability to 2 GB per vault. You can use Firebird also
after this limit has been exceeded, but, for performance reasons, Microsoft SQL Server is in this case the
recommended database engine.
4. Right-click a vault.
5. Click Properties.
7. Click Define... under the Use Firebird option to open the settings for the Firebird engine.
The current location of the vault data is shown in the vault database engine settings dialog.
2. Using File Explorer or any other file manager, copy the FileData and the MetaData folders from their
current location to the new location.
3. Click the ... button to browse for the new file data location.
4. Select the new location for vault data, and then click OK to close the Browse For Folder dialog.
Note that the selected location should be on the local drive of the M-Files Server computer and it
should contain the FileData and MetaData folders.
M-Files | 3. System Administration | 213
5. Click OK to close the vault database engine dialog, and finally click OK to close the Document Vault
Properties dialog.
After the operation is complete, bring the vault back online. For instructions, see Bringing a Vault Online.
Defining A Separate Location for Vault File Data
By default, vault file data is stored in the same folder as vault metadata. If necessary, you can define a
separate location for the file data of the vault. This enables you to locate your file data on a large network
drive or file server. It is, however, recommended to store the metadata and files in the same location.
Before you begin, take the vault offline for the duration of the operation. For instructions, see Taking a
Vault Offline.
The current location of the vault file data is shown in the vault database engine settings dialog.
2. Using File Explorer or any other file manager, copy the folder FileData from its current location to the
new location.
5. Click the ... button to browse for the new file data location.
6. Select the new location for vault file data, and then click OK to close the Browse For Folder dialog.
Note that the selected location should contain the FileData folder. The location can also be a
UNC path to a network drive.
7. Optional: Click Set Account for File Data... to select the account that M-Files Server uses for
accessing the vault file data. This may be necessary if the local system account does not have
permission to access the selected location.
a) Select the This account option.
b) In the This account field, specify the account that M-Files Server should use for accessing vault file
data in the selected location.
c) In the Password and Confirm password fields, enter the password of the account.
d) Click OK to close the Set Account dialog.
9. Click OK to close the vault database engine dialog, and finally click OK to close the Document Vault
Properties dialog.
After the operation is complete, bring the vault back online. For instructions, see Bringing a Vault Online.
Using Microsoft SQL Server as the Database Engine
Instead of Firebird, you can use Microsoft SQL Server as the database engine. We recommend that
Microsoft SQL Server is used if the vault contains several hundreds of thousands of objects. With large
vaults, Microsoft SQL Server provides better efficiency than Firebird. However, with Microsoft SQL Server,
the administrator must be familiar with Microsoft SQL Server management.
With Microsoft SQL Server, the database server memory can be more efficiently used and the backup
storage of large data vaults is improved. You can also switch to the mirrored database server without delay
if necessary.
Note: Microsoft SQL Server licenses are not included in M-Files licenses. They must be purchased
separately.
In this chapter
You can use Microsoft SQL Server as the vault database engine. Refer to our lifecycle policy for
information about the supported versions. These editions are supported: Microsoft SQL Server Express,
Standard, and Enterprise. Refer to Microsoft documentation to make sure that your Microsoft SQL Server
edition has the necessary features and capabilities for your environment. M-Files supports the use of
Microsoft SQL Server on Microsoft Windows.
With the Microsoft SQL Server Enterprise Edition versions 2008–2017 table data and indexes can be
compressed. This reduces the input/output activity of the disk, but also increases the CPU load by about
10 percent. Typically this means reduced database sizes.
Microsoft SQL Server 2016 Service Pack 1 and later support updateable columnstore indexes (in earlier
versions, columnstore indexes are only available in Enterprise Edition). This enables better performance
with sub-levels of views (such as Documents by project). This is especially beneficial when empty virtual
folders are set to be hidden.
• When you take Microsoft SQL Server into use as the database engine, we recommend that you use the
latest version of Microsoft SQL Server that M-Files and your operating system support. For Microsoft
SQL Server software requirements, refer to Microsoft documentation.
• Make sure that the server machine always has the latest service pack and cumulative updates installed.
To do this, refer to Latest updates for Microsoft SQL Server.
• To upgrade your version of Microsoft SQL Server, refer to Upgrade SQL Server.
M-Files | 3. System Administration | 215
M-Files supports the use of Microsoft SQL Server on Microsoft Windows. With a cloud-based M-Files
environment that you manage yourself, you can also use Microsoft Azure SQL Database Managed
Instance as the vault database engine.
Microsoft SQL Server can be located on the same machine as the M-Files Server, or it can be installed on
another server. If SQL Server is installed on another server, M-Files Server and SQL Server must be linked
with a fast network connection. For instructions on the efficient operation of SQL Server, refer to Microsoft
SQL Server documentation.
Make sure that the SQL Server machine has a sufficient amount of memory. The number and speed of
processors and hard drives also have a significant impact on the efficiency.
Before you take Microsoft SQL Server into use as the database engine, see Microsoft SQL Server
Requirements and Database engine and data storage.
Important: If your SQL Server does not use the default port, 1433, you must give the server name
!
in the format <server name>,<port>.
M-Files Server stores data in the vault in the associated database. Certain secondary data that do not
require a backup, such as search indexes, are left outside the database.
File data can be saved in the Microsoft SQL Server database or other location, such as a network drive.
! Important: If you want to use a network drive for storing file data, you must use the format
//<server>/<path> to specify the file data location.
Note:
The vault remains online and fully operational for the majority of the duration of changing the file
data location. Only when the new file data location is taken into use, is the vault offline for the
duration of taking the new location into use. If you cancel the operation of changing the file data
location, you can always resume it by selecting the same location as you previously selected for
file data.
For more instructions, see Changing the Location of the Vault File Data for Microsoft SQL Server.
The administrator is responsible for making backup copies and timing the backup copies of the vault
database. Backup copying is done with SQL Server's own management tools and backup copying
solutions offered by third parties. When restoring a backup copy, the administrator first returns the vault
database to the SQL Server, and then reattaches the vault to M-Files with the Attach Document Vault
function.
If your file data is stored on the file system separately from the database, you must back up both the
Microsoft SQL database and the files on the file system separately.
For more instructions, see the M-Files knowledge base article M-Files Backup Policy.
Important information
• Always back up the SQL database (metadata) first and then the file system data (object files) to avoid
references to non-existing object files. Do not run M-Files Server optimization after you have backed up
the SQL database. Otherwise, the files that have been marked for destruction are removed.
• Do not back up an active M-Files system with a snapshot of the file system where its data is stored.
This can create a damaged or unusable backup because write operations to files (most importantly,
the database engine files) can be ongoing and, thus, incomplete. If you use full virtual machine (VM)
snapshots for backups, make sure that the VM software fully supports creation of snapshots of an
active system. This means that the software can restore the system to exactly the same state, including
the memory and CPU states.
Changing the Location of the Vault File Data for Microsoft SQL Server
If you use Microsoft SQL Server and your file data of the vault is stored either in the vault database or the
file system, you may change the location of the vault file data.
Note:
The vault remains online and fully operational for the majority of the duration of changing the file
data location. Only when the new file data location is taken into use, is the vault offline for the
duration of taking the new location into use. If you cancel the operation of changing the file data
location, you can always resume it by selecting the same location as you previously selected for file
data.
4. Right-click a vault.
5. Click Properties.
7. Under the Use Microsoft SQL Server option, click the Define... button.
9. Either:
a. If you want to change the location of the vault file data from the vault database to the file system, or
from one folder in the file system to another, select the option Store file data in a file-system folder
and then click the Define... button.
or
b. If you want to change the location of the vault file data from the file system to the vault database,
select the option Store file data in the vault database and then click OK.
10.If you selected the option Store file data in a file-system folder, complete the following steps:
a) Optional: If you are changing the vault file data location from one folder in the file system to another,
using File Explorer or any other file manager, copy the FileData folder from its current location to
the new location.
b) In the File-System Folder dialog, click the ... button to browse for the new file data location, or type
in the location in the text field.
c) Optional: Click Set Account for File Data... to use an account other than the Local System account
for accessing file data.
Setting the account may be necessary especially if the file data is located on a network drive
that the Local System account cannot access.
d) Click OK to close the File-System Folder dialog.
11.Click OK to close the File Data Location dialog and the vault database engine dialog, and finally click
OK to close the Document Vault Properties dialog.
12.If you are changing the vault file data location from the vault database to the file system, or from the
file system to the vault database, you are prompted to confirm that you want to change the file data
location. Click Yes.
The file data of the vault is then copied to the new location.
Your vault now uses the specified location for storing and accessing the file data of the vault.
Document Vault Authentication
The Authentication tab of the Document Vault Properties dialog contains settings related to vault user
synchronization and authentication with Microsoft Entra ID. The tab is available in the Document Vault
Properties dialog of existing vaults. When you create a vault, you cannot see this tab.
M-Files | 3. System Administration | 220
User synchronization
For information about user synchronization, see Users in Synchronized Active Directory Groups .
User authentication
Refer to the specified instructions in this table to set up user authentication in your environment:
Deployment Instructions
M-Files Cloud and Microsoft Entra ID Setting up federated authentication in M-Files
Manage User Guide
On-premises server and Microsoft Entra ID Configuring Vault Authentication with Microsoft
Entra ID in On-Premises Environments
Any environment and any OAuth 2.0 or OpenID Configuring OpenID Connect and OAuth 2.0 for M-
Connect compliant identity provider Files Authentication
Additional information:
• In M-Files Cloud, refer to Configuring Vault Authentication with M-Files Login Service to manually set up
authentication through M-Files Login Service.
• In M-Files Cloud, Entra ID is automatically configured for vaults created in M-Files Cloud. For more
information, refer to Setting up federated authentication in M-Files Manage User Guide.
• If the vault has been migrated from on-premises, see M-Files Cloud Requirements.
• If you use M-Files Web or the add-ins based on M-Files Web, also refer to Setting Up OAuth 2.0 for the
New M-Files Web and Web-Based Add-Ins.
• In on-premises environments, refer to these articles for more information: Azure AD authentication with
OAuth - which documents to follow and when and Configuring OpenID Connect and OAuth 2.0 for M-
Files Authentication.
Anonymous authentication
On the Authentication tab of the Document Vault Properties dialog, you can also find the Use
anonymous authentication setting. It lets you set the new M-Files Web and M-Files Mobile users to have
read-only access to this vault without username and password.
When the feature is enabled, M-Files adds an anonymous user to the vault. The user has no login account
on the server, but you can use it to set permissions, and add it to user groups. The anonymous user is
created as an external user. However, you can change it to an internal user.
! Important: When this feature is enabled, the vault always uses anonymous authentication and
personal credentials cannot be used with the new M-Files Web and M-Files Mobile.
Remarks:
• M-Files Desktop and the classic M-Files Web do not use this setting. To set up anonymous
authentication for the classic M-Files Web, see Optional: Changing Publication Settings.
• The anonymous user does not decrease the number of your read-only licenses.
Copying a Vault
You can use the Copy Document Vault operation to create a copy of a vault. You can copy the vault fully
or select the data components that are copied.
Note: The Copy Document Vault operation copies the vault first fully and then deletes the data
components that have not been selected. For large vaults, the operation time can be long.
It is possible to copy the structure of a vault without the actual content to a new vault. You can use
for example the sample vault, that is included in the M-Files installation, in this operation. To copy the
structure of a large vault, we recommend exporting the structure. For more information, see Exporting
Content.
To copy a vault:
3. Right-click a vault.
5. In the Name field, enter a name for the copy of the vault.
6. Click Define to define the vault data location on the server to which the copy is saved.
7. Click the ... button to browse for the vault data location.
10.In the Data to copy section, select the vault data components that you want to copy.
Click All to select all components or Structure Only to select only the structure components of
the vault.
If the Documents and other objects check box is selected, you can exclude file data from the
vault copy for troubleshooting purposes. Click Advanced and select the Exclude file data from
the vault copy check box.
Attaching a Vault
A document vault may be detached from M-Files Server (see Detaching a Vault), in which case all data
in the document vault is kept in a file folder on a hard drive but the document vault is not registered on
the server. If you know the name of the document vault and want to start using it again, you can do so by
attaching the vault back to M-Files Server using M-Files Admin.
Figure 28: When the vault is detached from the server, it is not displayed in the list of available document vaults in M-Files Admin
and users cannot access it, but all the data stored in the vault stays intact. You can, for instance, move a detached vault to a another
server machine and take it back into use by attaching it to the new server.
If, for example, lack of space makes it necessary to move a document vault from one server to another,
this can be done with the Detach and Attach functions: simply detach the vault on server A, copy the vault
data to server B, and attach the vault on server B.
5. In the Name field, enter the name of the detached document vault.
You may look for the name of the detached vault on the server computer in the folder C:\<M-
Files installation directory>\Server Vaults.
6. Select either:
a. Attach using original identity: Select this option if you want to use the existing ID of the vault.
or
b. Attach as a different vault (new identity): Select this option if you want to create a new unique ID
for the vault.
The vault identity is used in establishing document vault connections to the server.
M-Files | 3. System Administration | 224
7. Optional: On the Advanced tab, you may select and configure the database engine for storing
document vault data.
See Using Firebird as the Database Engine and Using Microsoft SQL Server as the Database
Engine for more information.
8. Click OK.
• External object types and value lists: Connections to external databases for object types and
value lists
• Connections to external sources
• Reporting and metadata export data sets
• Scheduled export and import jobs
• Active Directory user group synchronization
• Event handlers
• Vault applications
• Remote full-text search indexes: Search indexes that are not used by dtSearch
• Anonymous login
Change the setting Ignore vault options listed below for multi-server mode vault that is
already attached to at least one server only if you have a good reason to do so. If the vault is
not part of multi-server mode setup, the setting has no effect even when it is enabled.
A dialog is displayed listing the features that will be in use in the attached vault.
The selected document vault is attached to M-Files Server and can be accessed again.
The users of the document vault must add a connection to it with M-Files Desktop settings. For
instructions, see Adding a Vault Connection.
Detaching a Vault
You can detach a vault from a connection to M-Files server, in which case the vault data is not destroyed
but kept on the hard drive of the server computer. You can later restore the server connection with the
Attach Document Vault operation.
M-Files | 3. System Administration | 225
Figure 29: When the vault is detached from the server, it is not displayed in the list of available document vaults in M-Files Admin and
users cannot access it, but all the data stored in the vault stays intact. You can, for instance, move a detached vault to another server
machine and take it back into use by attaching it to the new server.
4. Select a document vault that you want to detach and click Detach on the task area.
The vault backup function can be used for backing up an on-premises vault or for scheduling a recurring
vault backup job. For more information about scheduled backups, refer to Scheduled Backup Jobs.
Important information
• M-Files Cloud vaults are backed up daily as a standard service. In M-Files Cloud, it is not necessary to
schedule other vault backup jobs.
• It is very important to also regularly create master database backups, not only vault backups.
• You can restore the backup only on a server whose M-Files Server version is the same as or later than
the version on the server that is used to create the backup. If you restore the backup on a server that
has a later version, see Upgrading Vaults.
• If you use Microsoft SQL Server as the database engine of your vault, see Backing Up Microsoft SQL
Server Databases for instructions on how to back up and restore your vault data.
• Do not back up an active M-Files system with a snapshot of the file system where its data is stored.
This can create a damaged or unusable backup because write operations to files (most importantly,
the database engine files) can be ongoing and, thus, incomplete. If you use full virtual machine (VM)
M-Files | 3. System Administration | 226
snapshots for backups, make sure that the VM software fully supports creation of snapshots of an
active system. This means that the software can restore the system to exactly the same state, including
the memory and CPU states.
It also is important to note that M-Files stores on the hard drive of the server machine a vault-specific set
of secondary data that is not included in a vault backup, but instead re-recreated after the vault backup
has been restored. This data includes PDF renditions for hit-highlighting and preview, thumbnails, and
most importantly, the search index of the vault. As rebuilding the search index for a large vault can take a
significant amount of time, you should always consider backing up and restoring the search index as well.
For instructions, see Backing Up and Restoring the Vault Search Index.
3. Right-click a vault
5. Using the Backup type drop-down menu, select either Full backup or Differential backup.
A full backup is the most complete copy that can be produced with M-Files. It contains, for
example, the history information of all documents. You cannot make a differential backup if you
have not made a full backup first. A differential backup contains all data that has been changed
after the last full backup.
6. Click the ... button to select the destination of the M-Files backup file (MFB).
M-Files | 3. System Administration | 228
7. Optional: Click Set Account... to run the task with another account than the Local System account. If
the file location is on a network drive that the Local System account cannot get access to, you must set
another account. On the Set Account dialog:
a) Select This account.
b) In This account, enter the name of the user account.
c) In Password and Confirm password, enter the password of the user account.
d) Click OK to close the Set Account dialog.
8. Optional: If you want to divide the vault backup into multiple files, check the Divide to multiple files
check box and set the file size limit.
The names of the backup files should not be modified as they might no longer be recognized
during a backup operation later on.
9. Optional: Check the Overwrite existing files check box if you want your new backup files to replace
any existing files with the same file name.
10.Select either:
or
b. Add to scheduled jobs and click the ... button to schedule the backup job as a recurring task.
Note: For more information about scheduled jobs, see Scheduled Jobs.
11.Click OK to either start the backup process or to add the scheduled task to the list of scheduled jobs.
The vault backup should now be run or added to the list of scheduled jobs, depending on your choice
under the Scheduling header of the dialog.
Restoring a Vault
If a vault is destroyed or the vault data is corrupted, you can restore a healthy version of the vault from
a backup. For more information about how to create backups, see Backing Up a Vault and Scheduled
Backup Jobs. If you use Microsoft SQL Server as the database engine of your vault, see Backing Up
Microsoft SQL Server Databases for instructions on how to back up and restore your vault data.
To restore an M-Files Cloud vault, contact our customer support in M-Files Support Portal or your M-Files
reseller.
Note: You can restore the backup only on a server whose M-Files Server version is the same as or
later than the version on the server that is used to create the backup. If you restore the backup on a
server that has a later version, see Upgrading Vaults.
M-Files | 3. System Administration | 229
Figure 30: You can restore a backup of a document vault with M-Files Admin.
5. In the Full backup field, specify the location of the backup file on the server from which the full backup
is to be restored.
6. Optional: In the Differential backup (optional) field, specify the location of the differential backup file to
restore a differential backup on top of the full backup.
M-Files | 3. System Administration | 231
7. Select either:
a. Restore using original identity: Select this option to use the existing ID of the document vault.
or
b. Restore as a different vault (new identity): Select this option to generate a new unique ID and to
specify a new name for the vault to be restored.
The identity is used in establishing document vault connections to the server. The name of the
vault can be changed on the server, and the document vault connection can have any name in
the client software of the end user.
8. In the Location for vault data on server field, specify the location where the data of the document
vault is saved.
9. Optional: Click Advanced... if you want to define a separate location for file data.
10.Optional: Select the Overwrite existing files check box if you want to overwrite existing files in the
selected metadata and file data locations.
11.Click OK.
• External object types and value lists: Connections to external databases for object types and
value lists
• Connections to external sources
• Reporting and metadata export data sets
• Scheduled export and import jobs
• Active Directory user group synchronization
• Event handlers
• Vault applications
• Remote full-text search indexes: Search indexes that are not used by dtSearch
• Anonymous login
Change the setting Ignore vault options listed below for multi-server mode vault that is
already attached to at least one server only if you have a good reason to do so. If the vault is
not part of multi-server mode setup, the setting has no effect even when it is enabled.
You must create a new search index for a vault for example when you take a new search engine in use.
This page tells you how to create a search index in an on-premises installation when your search engine
is Smart Search or Micro Focus IDOL. If you use M-Files Cloud, contact our customer support in M-Files
Support Portal or your M-Files reseller.
M-Files | 3. System Administration | 232
For instructions on how to create a search index when your search engine is dtSearch, refer to Rebuilding
the dtSearch Full-Text Search Index.
Note: Version 1.2 of the TLS protocol is mandatory for Smart Search.
To create a search index when your search engine is Smart Search or Micro Focus IDOL:
The name must be unique. The length of Smart Search index names must be 34 characters or
shorter. Index names for Micro Focus IDOL have no character limit, but we recommend that you
try to keep the name as short as possible.
a. If you use the default service type, Smart Search, fill in Application ID and API Key under Smart
Search Options.
To get the application ID and API key, write to [email protected] and include the vault GUID in
the request. Tell also the search index location that you will use, for example the United States or
European Union. If your data must be in a specified country, contact our customer support in M-Files
Support Portal or your M-Files reseller to make sure that the location is available.
or
b. Define the Micro Focus IDOL settings with the instructions in Installing Micro Focus IDOL 12 for M-
Files.
7. To use the search index as the active index, write the name of the newly created search index in the
Search > Active Combined Index field.
9. Click Save.
11.Make sure that the indexing is done with a few full-text searches in M-Files Desktop.
12.When you are sure that the new index works correctly, disable the previously used index.
a) In Advanced Vault Settings, go to Configuration > Search > Indexes > <index name>.
b) Set Enabled to No.
With the new search index, you can take search facets in use. For more information, see Configuring
Search Facets.
Backing Up and Restoring the Vault Search Index
As the search index of the vault is not included in a vault backup, and since re-creating the index for a
large vault can take a large amount of time, you should always consider backing up the search index
together with a vault backup. This section provides instructions for backing up and restoring the search
index of your vault.
Do the following steps to back up the vault search index when you are using dtSearch as your search
engine:
1. Copy the Indexes folder from the location of the vault data on the server (for example C:\Program
Files\M-Files\Server Vaults\<vault name>\Indexes).
The index itself stores its state, and your backup of the index does not need to be as new as the
vault backup.
Once you have a backup of your search index, do the following steps to restore the backed up search
index:
4. Delete the Indexes folder and replace the folder with the backup.
The indexing begins to catch up until the search index is completely up-to-date.
Backing up and restoring the vault search index (IDOL)
Do the following steps to back up the vault search index when you are using Micro Focus IDOL version 12
as your search engine:
When the indexing service is stopped, no new material is added to the index.
Note: In M-Files May '20 Update or later, M-Files Server migrates the index log files
to IDOL and deletes the index log files from M-Files Server. If you use M-Files May '20
Update or later, you do not need to do the following step.
M-Files | 3. System Administration | 234
2. Copy the existing index log files IndexFLog.log and IndexMLog.log or IndexCLog.log (in case
of an external repository) and store the copied files in a safe place.
The usual location of the log files is in the FileData and MetaData folders in C:\Program
Files\M-Files\Server Vaults\<vault name>\Indexes\Combined\M-Files.
3. Wait until all IDOL indexing queues in each content engine are empty.
The queues are empty when the folders in the IDOL indexing queue are empty. The location of
the IDOL indexing queue is for example E:\IDOL12\data\PROD1-content-12000\index
\status.
Note: If you have existing backup files created by the DREEXPORT command and you
have not deleted them, you have to give new names to the backup files because the
process does not overwrite.
Note: You need to perform the following step on each backend engine and the daily
index content engine.
5. On the address bar of the browser, give the command http://<content engine
IP address>:<content engine indexing port number>/DREEXPORTIDX?
FileName=<optional path and backup file name>.
Example: http://192.168.75.130:10001/DREEXPORTIDX?FileName=BU
The command generates a file called <file name>-0.idx.gz into the folder of the content
engine, for example in E:\IDOL12\data\PROD1-content-12000\index. The file includes
all index data to the point of last full indexing batch.
7. Copy the backup files of the content engines from <IDOL installation directory or
drive>\<content engine>\bin\single<content engine port range>\content into a
safe place.
Once you have the backup of your search index in place, you can start the restore process. By default,
the restore process uses the same folders as the backup. Do the following steps to restore the backed up
search index:
When the indexing service is stopped, no new material is added to the index.
9. Wait until all IDOL indexing queues in each content engine are empty.
The queues are empty when the folders in the IDOL indexing queue are empty. The location of
the IDOL indexing queue is for example E:\IDOL12\data\PROD1-content-12000\index
\status.
Note: You need to perform the following step on each backend engine and the daily
index content engine.
M-Files | 3. System Administration | 235
11.To clear the whole index, give the command http://<content engine IP address>:<DIH/DAH
indexing port>/DREINITIAL? on the address bar of the browser.
Note: You need to perform the following step on each backend engine and the daily
index content engine.
12.Add the index from the corresponding backup by giving the command http://<content engine
IP address>:<content engine indexing port>/DREADD?<optional backup file path
and file name>-0.idx.gz.
Example: http://192.168.75.120:10001/DREADD?BU-0.idx.gz
13.Check the number of documents with MFAutonomyConsole using the getstatus action against the
DIH and DAH engines.
Note: If the backup has been taken before the M-Files May '20 Update, you have the
index log files in addition to the IDOL index. In this case, perform the following step. If the
backup has been taken after the M-Files May '20 Update, you do not need to perform the
following step.
14.Overwrite the index log files IndexFLog.log and IndexMLog.log or IndexCLog.log (in case of an
external repository) with the backup files.
The usual location of the log files is in the FileData and MetaData folders in C:\Program
Files\M-Files\Server Vaults\<vault name>\Indexes\Combined\M-Files.
You can run multiple backups or restores simultaneously with a PowerShell script in the backend engines
and the daily index content engine.
$navOpenInBackgroundTab = 0x1000;
$ie = new-object -com InternetExplorer.Application
$ie.Navigate2("http://192.168.75.128:9001/DREEXPORTIDX?FileName=BU");
# backup from Daily
$ie.Navigate2("http://192.168.75.130:10001/DREEXPORTIDX?FileName=BU",
$navOpenInBackgroundTab);
# backup from backend server 1, engine 10001
$ie.Navigate2("http://192.168.75.131:20001/DREEXPORTIDX?FileName=BU",
$navOpenInBackgroundTab);
# backup from backend server 2, engine 20001
$ie.Visible = $true;
$navOpenInBackgroundTab = 0x1000;
$ie = new-object -com InternetExplorer.Application
#$ie.Navigate2("http://192.168.75.128:9001/DREADD? BU-0.idx.gz ");
# restore Daily
$ie.Navigate2("http://192.168.75.130:10001/DREADD?BU-0.idx.gz",
$navOpenInBackgroundTab);
#restore backend server 1, engine 10001
M-Files | 3. System Administration | 236
$ie.Navigate2("http://192.168.75.131:20001/DREADD?BU-0.idx.gz",
$navOpenInBackgroundTab);
# restore backend server 2, engine 20001
$ie.Visible = $true;
Destroying a Vault
The Destroy function can be used to permanently destroy all data from a vault.
! Warning: When you destroy a vault, the following operations are carried out:
• All the vault file data on the M-Files server is permanently deleted.
• The vault database is permanently deleted.
To destroy a vault:
4. Right-click the document vault that you want to destroy, and then select Operations > Destroy from the
context menu.
You are prompted to make sure that you want to destroy the selected vault.
The selected document vault, including its file data and its database, are permanently deleted and the vault
can no longer be accessed by users.
Note: The Destroy function naturally does not affect backups located on the hard drive. The
document vault can thus be restored if backups have been made.
Upgrading Vaults
If the internal database structure of the document vault changes, which usually happens during a software
upgrade, the document vault must be upgraded. During a software upgrade, this is done automatically
for all the vaults that are in the online state. If the vault is offline during a software upgrade, it can only
be used after it has been manually upgraded. To do this, right-click a vault in M-Files Admin and select
Operations > Upgrade from the context menu.
Important information
• The vault upgrade makes it incompatible with older M-Files Server versions.
• If you have recently done the Verify and Repair (Quick) operation and issues were found, make sure
that they are fixed before you upgrade the vault.
In M-Files Cloud, vaults use Microsoft Azure SQL Database as the default database engine.
M-Files | 3. System Administration | 237
In an on-premises environment, M-Files uses Firebird as the default vault database engine. For vaults that
contain several hundreds of thousands of objects, we recommend you to use Microsoft SQL Server. If a
vault uses Firebird but the number of objects in the vault greatly increases, it can be beneficial to have the
vault use Microsoft SQL Server as the database engine instead. You can migrate your vault database from
Firebird to Microsoft SQL Server in M-Files Admin.
Note: You can only migrate the document vault database engine from Firebird to Microsoft SQL
Server. Migrations from Microsoft SQL Server to Firebird are not supported.
Before you start, make sure that these prerequisites are completed:
After the migration, the file data location is the same as with Firebird. If you want to change the file data
location before or after the migration, do these steps:
3. Right-click a vault.
5. Click Yes to confirm that you want to take the document vault offline.
6. Optional: It is recommended that you back up the document vault at this point.
7. In the left-side tree view, right-click the vault again and select Operations > Migrate to Microsoft SQL
Server from the context menu.
8. In Server name, enter the connection address to your Microsoft SQL Server, such as
mysqlserver.mydomain.local.
9. In Database name, enter the name of the database to be created for the vault.
It is recommended to use the same name as the vault has on M-Files Server.
M-Files | 3. System Administration | 239
10.In the Administrator credentials and Basic user credentials sections, fill in the credentials in one of
the two following ways:
Option Steps
Enter the credentials
for a login that has the a. In the Administrator credentials section, enter the credentials for
sysadmin server role a login that has the sysadmin server role on your Microsoft SQL
on your Microsoft SQL Server.
Server, giving M-Files b. In the Basic user credentials section, select the Use an
Server the rights to make automatically generated login option.
the necessary migration-
related operations.
Manually create the
Microsoft SQL Server a. By using Microsoft SQL Server Management Studio, create an
database and login empty database for the vault.
accounts (without the b. Still in Microsoft SQL Server Management Studio, create two login
sysadmin server role) and accounts without the sysadmin server role, for example User A
use the non-sysadmin and User B.
credentials for M-Files c. Back in M-Files Admin and the Document Vault - Microsoft SQL
Server. Server dialog, in the Administrator credentials section, enter the
credentials for User A.
d. In the Basic user credentials section, first select the Use an
existing login option and then enter the credentials for User B.
The easiest way is to select the first option, and to let M-Files Server make all the necessary
changes on your Microsoft SQL Server. In some cases, however, system administrators may
need to withhold Microsoft SQL Server sysadmin credentials from M-Files Server. In these
cases, the vault database and the Microsoft SQL Server login accounts need to be created
manually (the second option). For detailed instructions, refer to the document How to Configure
M-Files to Operate Without Sysadmin Role in MS SQL Server.
M-Files Server uses the basic user credentials for almost all vault operations, and the
administrator credentials – in addition to creating the database and the login accounts – for
some of the maintenance operations.
11.Optional: Click Test Connection to test the connection to your Microsoft SQL Server.
12.Click OK.
A warning dialog is opened to tell you that the operation cannot be undone.
13.Click Yes to close the warning dialog and start the migration.
14.After the migration is complete, in the left-side tree view, right-click the vault.
Once the migration process is complete, the database of your M-Files vault is located on the Microsoft SQL
Server that you specified.
After migrating the vault database to Microsoft SQL Server, you need to create a backup job for the
database in Microsoft SQL Server Management Studio. For more details and recommendations, see M-
Files Backup Policy.
M-Files | 3. System Administration | 240
In this chapter
• Migrating the Vault Database from One Microsoft SQL Server to Another
Migrating the Vault Database from One Microsoft SQL Server to Another
When migrating from one Microsoft SQL Server to another, the new Microsoft SQL Server should be
running the same or newer version of Microsoft SQL Server, and the Microsoft SQL Server edition
(Enterprise or Standard) should also be the same or higher than that of the old Microsoft SQL Server.
In other words, do not migrate vault databases from Microsoft SQL Server to an older version or lower
edition of Microsoft SQL Server.
See also Important Tasks after Installation, Vault Creation, or Vault Migration for a checklist of tasks that
we recommend to be done with vault creation.
3. Right-click a vault.
5. Open Microsoft SQL Server Management Studio and take a full backup of the vault database.
6. Restore the database to the new Microsoft SQL Server as a new database.
7. In M-Files Admin, right-click the document vault and select Properties from the context menu.
9. Under the Use Microsoft SQL Server option, click the Define... button.
10.In the Server name field, specify the name of the new Microsoft SQL Server.
11.In the Database name field, specify the name of the new database.
12.In the Administrator credentials and Basic user credentials sections, specify the new authentication
settings.
13.Click OK to close the Document Vault - Microsoft SQL Server dialog and then click OK to close the
Document Vault Properties dialog.
From this point forward, the M-Files server will access the vault database from the new Microsoft SQL
Server.
M-Files | 3. System Administration | 241
After migrating the vault database to the new Microsoft SQL Server, you need to create a backup job for
the new database in Microsoft SQL Server Management Studio on the new Microsoft SQL Server. For
more details and recommendations, see M-Files Backup Policy.
Restarting a Vault
The restart operation takes the vault offline and brings it back online in one go. With this operation, you
avoid the risk of leaving the vault accidentally offline. When a vault is offline, also any open sessions that
users may have are closed. Users cannot check in objects or log in to a vault until the vault is back online.
When you take a document vault offline, M-Files closes the vault. This also closes any open sessions that
users may have. Users cannot log in to a document vault that has been taken offline until the vault has
been brought back online.
Figure 31: When a vault is taken offline, all vault users are disconnected. If a user checks out a document for editing and makes
modifications to the content, during which the vault administrator takes the vault offline, the user is unable to check in the document
until the vault is brought back online. It is therefore not recommended to carry out unscheduled operations that require the vault to be
taken offline.
M-Files | 3. System Administration | 242
To log out of a vault on the server level, select the vault in the left-side tree view in M-Files Admin, and
then select Action > Log Out from the menu bar.
When you have logged out from the document vault, the name of this function changes to Log In, allowing
you to log back in.
Vault Maintenance
Regular vault maintenance makes sure that even vaults with a large number of objects have high
performance.
Most of the information on this page is applicable to on-premises environments only. The M-Files Cloud
service includes regular vault maintenance. In M-Files Cloud, customer administrators can only see and do
the operations in M-Files Admin that are not included in the service.
In an on-premises environment, the Maintenance submenu for a vault in M-Files Admin contains functions
to, for example, verify and optimize the integrity of the internal database structure. It is also important to
regularly verify the integrity of your vault and master database backups.
It can be helpful to see the Why is my M-Files not as fast as it used to be? FAQ article. It contains many
frequently encountered issues that can cause system slowness.
! Important: M-Files does continuous database maintenance during use, especially with the
thorough optimization process. If you use Microsoft SQL Server, do not use any maintenance
operations with Microsoft SQL Server Management Studio. At best, they have no effect, but they
can cause negative effects on the performance of your M-Files system. With some Microsoft SQL
Server editions, manually used maintenance operations can even prevent the use of M-Files during
the operation.
M-Files | 3. System Administration | 243
• Use the Reset Thumbnail Images operation only if the thumbnail images do not work correctly.
• Rebuild the full-text search index only if you think that the search index is corrupted or if the search
operations are significantly slower than usual.
• Archive M-Files event logs at least once a year.
• Use the Reset Thumbnail Images operation only if the thumbnail images do not work correctly.
• Rebuild the full-text search index only if you think that the search index is corrupted or if the search
operations are significantly slower than usual.
• Use the Verify and Repair (Quick) operation twice a year for all repositories.
• Clean the vaults at least once a year.
• Archive M-Files event logs at least once a year.
• Verify the integrity of your master database backups at least two to four times a year.
• Refer to M-Files Backup Policy for further guidelines and best practices related to backups.
• Verify the integrity of your vault backups at least two to four times a year.
• If Microsoft SQL Server is used, refer to the documentation of the backup tools you use to create the
backups for instructions.
• If Firebird SQL database is used, see Backing Up a Vault and Restoring a Vault for instructions.
• When you restore test vaults, make sure that you do not accidentally overwrite the production
vault. In addition, when you restore a vault with a new GUID, make sure that you do not let the
restored vault, when asked, use any external connections. This can cause problems if the production
vault uses the same connections. Finally, please make note that the restored vault can cause, for
example, scripts to be executed and assignment emails to be sent.
• Refer to M-Files Backup Policy for further guidelines and best practices related to backups.
For a recommended maintenance schedule, see the table in How do I maintain the M-Files server
machine?.
See Important Tasks after Installation, Vault Creation, or Vault Migration for a checklist of tasks that we
recommend to be done with operations listed in the section.
The Optimize Database (Thorough) operation tries to improve the performance of the vault database.
The operation defragments indexes, updates database statistics, and compresses the full-text search
index.
By default, M-Files does the Optimize Database (Thorough) operation once every week. To change the
default schedule or specify a timeout for the optimization, see Scheduled Optimization.
Normally, it is not necessary to do the operation yourself. However, if the vault operates more slowly than
usual, it can be necessary to do it. The vault can respond slowly after a large number of objects is imported
to the vault. For example, if the number of objects in a vault that uses Firebird quickly increases from 0 to
10,000 objects.
M-Files | 3. System Administration | 244
You can do the operation in the quick mode first, but we recommend to use the thorough mode in most
cases. For instructions, see Manual Optimization.
These tasks are done when you run the Optimize Database (Quick) operation:
See Task Order in Thorough Optimization for the list of tasks done during the thorough operation.
The selection of the setting Enable encryption for file data at rest on the Advanced tab of the
Document Vault Properties dialog has an effect on the functionality of the Update encryption status of
existing files operation:
• If the Enable encryption for file data at rest is selected, all the files in the vault previously not
encrypted are now encrypted as well.
• If the Enable encryption for file data at rest is not selected, the encryption of all the encrypted files in
the vault is removed.
After you have run the Update encryption status of existing files, you must manually run the Optimize
Database (Thorough) operation to remove the old file data of the vault. If the option Delete the files of
destroyed objects is available, select it.
This operation is to be done only if you think that the search index is corrupted or if the search operations
are significantly slower than usual. For use instructions, see Managing Vault Indexing.
The best practice is to create a duplicate index in the background. Please contact our customer support in
M-Files Support Portal or your M-Files reseller for further assistance.
Please take note of this important information before you start the operation:
• This operation completely rebuilds the full-text search index and it can require a very large amount of
time. For example, with vaults that contain a million, millions, or tens of millions of documents, indexing
can take days or even weeks. Many factors, such as the used indexer, hardware resources, and type of
data in the vault can have a considerable effect on the indexing speed.
• During the rebuild process, search operations can be used but the search results can be limited
because the search index is not complete. For instructions on how to have the search operate normally
during the process, refer to Rebuilding the dtSearch Full-Text Search Index.
You can reset the thumbnail image cache for the vault if you use the thumbnail view in M-Files Desktop
and if the images are not working correctly. This can happen, for instance, after installing a software
capable of displaying thumbnails that could not previously be shown.
When you clean the vaults, you release disk space for new objects.
M-Files | 3. System Administration | 245
To clean a vault:
1. In M-Files Admin, export the content that you want to remove from the vault.
Example filter:
Note: When you search for objects to delete and destroy, use the same filters as in step 1. This
makes sure that you only destroy content that you have exported.
3. In M-Files Admin, manually optimize the database.
Note: The scheduled automatic optimization does not remove the destroyed files.
In this chapter
This section gives M-Files administrators critical information about important tasks to be done with these
operations:
• M-Files installation
• Vault creation
• Vault migration (to a new location or a new database provider)
To reduce the risk of data loss, make sure that you are familiar with the information given here and that the
guidance is carefully followed.
• Make sure that the necessary antivirus exclusions are in place. See M-Files and Virus Scanning.
• For a production system, implement and test a backup policy for the master database. Refer to M-Files
Backup Policy.
• Make sure that shutdowns and restarts are not forced. Refer to Do not force a shutdown of an M-Files/
SQL Server process or computer.
• When you change the database engine from Firebird to Microsoft SQL Server or create a vault in that
uses Microsoft SQL Server, make sure that its memory limit is set correctly. See Changing the Memory
Limit for a Microsoft SQL Server Instance.
• For a production system, implement and test a backup policy for the vault content. Refer to M-Files
Backup Policy.
• Make sure that the antivirus exclusions include the vault data (file data, metadata, and indexes). This is
especially important if you do not use the default paths for them. See M-Files and Virus Scanning.
M-Files | 3. System Administration | 246
Periodically:
• Monitor your Firebird vault sizes and plan to change the database engine to Microsoft SQL Server
according to these guidelines: Using Firebird as the Database Engine.
• Familiarize yourself with the system requirements and make sure that they are met over the lifetime of
the system. When the vaults grow, the requirements change. See System Requirements and Technical
Details.
• Do not do database optimization tasks manually for Microsoft SQL Server because M-Files does them.
Refer to Manual SQL Maintenance.
• Use the Verify and Repair (Quick) operation. See Using Verify and Repair.
• To clean up files from destroyed objects, do a manual run of the Optimize Database (Thorough)
process. See Manual Optimization.
• If the vault uses dtSearch as the search engine, rebuild the indexes. Refer to Rebuilding the dtSearch
Full-Text Search Index.
• If the vault grows to around million objects, switch to a more scalable search engine. For example,
Smart Search.
The order and number of tasks done during the Optimize Database (Thorough) operation is different in
different contexts. This page gives you the list of tasks done in the most frequently used contexts.
Manual optimization with Microsoft SQL Server ("Delete the files of destroyed objects" not enabled)
Manual optimization with Microsoft SQL Server ("Delete the files of destroyed objects" enabled)
Nightly Maintenance
Nightly maintenance is an M-Files operation that does important maintenance tasks to keep your vault
healthy. By default, M-Files starts the nightly maintenance every night at 4:30 AM server time. The number
of tasks done during the nightly maintenance is different in different contexts. Additionally, you can control
which operations are included in the nightly maintenance of a vault.
Nightly maintenance does, for example, these tasks for all vaults where it is enabled:
If the vault uses Microsoft SQL Server as the database engine, nightly maintenance also does these tasks:
• Updates database statistics from Microsoft SQL Server and starts SQL Server database optimization
• Removes outdated server tasks
• Stops SQL queries that have not completed in the time specified in the Time Limit for SQL Queries
nightly maintenance setting
• To enable this task, set Run Automatic State Changes During Maintenance nightly maintenance
setting to Yes.
• Synchronize Microsoft Entra ID user groups and external repository user groups
• To enable this task, set the Run User Group Synchronization Only During Nightly Maintenance
nightly maintenance setting to Yes.
You can control when and how M-Files does nightly maintenance for a vault.
Recommendations:
For more information, select a setting and see the Info tab.
You can change to any software language with the language setting. For intructions on how to translate the
vault metadata structure to the language of your choice, see section Translating the metadata structure.
M-Files | 3. System Administration | 250
Changing the Windows display language depends on your Windows version. For instance in Windows 10,
you can change the display language in Control Panel > Language.
Note: The classic M-Files Web has different requirements for a fully localized user experience. See
this note for more information. The new M-Files Web uses your browser language setting to select
the language of the user interface.
M-Files software can be used in several different languages. Changing the language is easy and the
change can also be done during use. You can open the Change Language dialog by clicking on the
M-Files icon on the Windows notification area and by selecting Settings > Change Language. M-Files
software offers these languages automatically.
If, for example, English is selected as the software language, the following options are displayed in English:
Check Out, Check In and Workflow. If Finnish were to be chosen, the same options would be shown in
Finnish: Varaa muokattavaksi, Palauta muokkauksesta and Työnkulku.
Additional language versions to those currently supported are available by separate agreement with M-
Files.
The document vault metadata structure can be translated into different languages. The document vault
metadata structure refers to the vault's object types, classes, property definitions, value lists, workflows,
and so on. The document class titles, such as Proposal, Order and Contract, can be translated into the
desired languages.
The company can translate the metadata structure independently or have it translated by a third party.
Managing the translation material is easy: the administrator can export the translation material in the XML
file format. The material can then either be translated in-house or by a professional translation agency. The
actual translation process is not dependent on M-Files Admin or its permissions.
Translating the metadata structure can be particularly beneficial for companies with operations in more
than one country, or companies with more than one in-house language. This enables users to add
documents and other objects using the metadata structure in their own language. The multilingual
metadata structure can also be useful if the company uses several languages for other than geographical
reasons.
See Multilingual Metadata Structures for further information on how to create a localized version of the
metadata structure of your vault.
Tip: If your M-Files system administrator has enabled translated object titles, you can use the
translated object titles in searches. The translated object titles are also shown in the title area of the
metadata card, in the listing area, in notifications, and in value lists.
Besides the M-Files functions, metadata specific to document vaults can be selected and edited in a
user-specified language if the metadata structure has also been translated. If the metadata structure has
not been translated into the relevant languages, it can be difficult for the user to understand why some
information is displayed in different languages. Only users with administrator rights can view and edit the
actual content of the metadata structure.
M-Files | 3. System Administration | 251
For example, the class Proposal, object type Customer and property definition Document date belong
to the metadata structure. If the user has selected Finnish as the software language but the metadata
structure has not been translated into Finnish, the user will see these options in English only because they
have been added to the metadata structure and titled in English.
Thus, for instance, when creating a new document, some metadata card information will be displayed
in Finnish (Lisää ominaisuus, Avaa muokattavaksi and Luo) and some in English (Proposal, Customer
and Project). This is because some of the texts, such as Luo, are part of the M-Files software that has
been already translated into Finnish but the Proposal concept in the metadata structure has not yet been
translated.
In this chapter
The metadata structure is always specific to the document vault and the vault can have a multilingual
metadata structure. For example, the following elements of the metadata structure can be translated:
The default setting for value lists is that the contents of the value list are not translated. If you want to
translate the contents of the value list, meaning the actual values, complete the following steps:
4. Expand a vault.
5. Expand Metadata Structure (Flat View) and then select Value Lists.
8. Enable the option The contents of this value list can be translated.
In this chapter
Using the Languages and Translations dialog, you can export the translatable content of the metadata
structure and translate the exported structure in Excel, Word, or a professional translation program, such
as SDL Trados or SDL Passolo.
To translate the metadata structure of the vault, follow the steps provided below.
The Languages and Translations dialog for the selected vault is displayed.
Next, add your language to the list and export the list of terms to an XML or XLIFF file.
M-Files | 3. System Administration | 253
7. Optional: In the Code field, enter a code of your choice for the language.
12.Define the location for your export file and click Save.
The export file is saved as an XML or XLIFF file to the location you specified.
Once the export has completed, you can start working on the actual translation.
13.Open the exported file in the software of your choice and add the translations.
For instructions on completing the process with Microsoft Excel, see Translating in Microsoft
Excel.
14.Return to M-Files Admin and repeat the steps from 2 to 4 to open the Languages and Translations
dialog.
17.Select whether you want to import all strings or just the ones that have been marked as translated.
18.Click OK.
19.Once the import is complete, click Close to close the Languages and Translations dialog.
Translations for the newly added language have been imported to M-Files and you can select the vault
language in M-Files Desktop.
In this chapter
The Export function of the Languages and Translations dialog can be used to specify the target language
of the translation and the format of the material to be translated:
Languages
Select the source and target languages. Note that you can translate the metadata structure only one
language at a time.
If you are working in Excel, both the source and target language need to be exported. The source
language character strings, that is, the words to translate, are in their specific column and the target
language translations are added to a column of their own.
M-Files | 3. System Administration | 255
You can also export the source language only. If you are using a translation agency or separate translation
software for translating, you should determine the required format for the translation material.
Strings
When commencing the translation process for the first time, select Export all strings. A string refers to one
concept or a specific attribute in the metadata structure, thus usually, a word or a phrase. Each language
has its own strings, that is, a specific vocabulary for the metadata structure.
You can later use the Export only strings that have not been marked as translated option to export the new
or changed strings only.
File format
Select Simple XML, if you want to translate the strings in Microsoft Word or Excel. Select XLIFF, if you
want to use a professional translation tool, such as SDL Trados or SDL Passolo.
Translating the metadata structure into the target language in Excel is straightforward. Simply open the
XML file in Excel: Select the default settings As an XML table and Excel will create a schema based on
the XML source data.
Identifier is the identifier of the concept, meaning the word or phrase to be translated. For example, an
identifier starting with PropertyDef indicates that it is a property definition name. ObjectType is an
object type name and UserGroup is a user group name. M-Files creates these identifiers automatically.
The translator does not need to pay much attention to these identifiers as such, although they can be
helpful pointers when choosing a suitable translation. For a closer look at how the identifiers are named,
see Naming convention of the identifiers.
The source column contains the concepts to be translated. Add the translation to the target column and
change 0 in the translated column to 1. This tells M-Files that the string has been translated.
• PropertyDef
• ObjectType
• Item (referring to any translatable value list item)
• NamedACL
• View
• Language
• ResourceID1: The ID number of the metadata element in question. For instance, the Document object
type has the identifier ObjectType_0_0_Name, where ObjectType is the table ID and the first 0 is
the resource ID 1. The resource ID 2 is always 0 for elements other than Item.
• ResourceID2: The ID number of the item in question. For example, the workflow Processing job
applications in the M-Files sample vault has the identifier Item_7_105_Name, where Item is the
table ID, 7 the record ID 1, and 105 the record ID 2 that identifies the item in the Workflows value list.
M-Files | 3. System Administration | 256
• StringID (Name or NamePlural): The part of the identifier that specifies whether the translation
should be in the singular or plural form.
Importing Translations
When translating in Microsoft Excel, the string can be marked as translated by changing the cell value of
the translated column from 0 to 1. However, if the Import all strings option is selected when re-importing
the translation back to M-Files, all strings are imported to M-Files regardless of whether the value of the
translated column.
Note: If the target column is left empty and the value of the translated column is set to 1, M-Files
uses the source language string as the translation.
If you only want to import the strings marked as translated, select the Import only strings that have been
marked as translated option. This way, only the strings with the value 1 in the translated column are
imported to M-Files. For example, if new additions are made to the source language at a later stage, this
selection can be used to import only the translations of the new additions to M-Files.
If changes are made in the source language, this version data can be found in the source-version column
of the exported XML file: when changes are made to the source language string, the value of this string
cell is always increased by one. The target language translation must then be checked and changed to
correspond to the change in the source language.
Also, if the values of the translated strings in the translated column have previously been changed to 1,
they will be reset to 0 if changes are made to the source language of these strings. For this reason, it is
recommended to instruct the translator to mark the translated and accepted translations as translated, after
which the value 1 indicates that the target language translations are up to date.
To import the translation back to M-Files from Microsoft Excel, save the translated XML file in Microsoft
Excel in XML Data format. You can then import the file to M-Files using the Import function of the
Languages and Translations dialog. It is alright for the file to have different name when importing and
exporting.
Importing a translation to M-Files is quite straightforward. Just select the appropriate target language and
whether you want to import all the strings or just the ones marked as translated.
After importing, M-Files asks if you want to rebuild the full-text search index for the metadata. Edited
translations cannot be used in searches until the search index is rebuilt. This may take several minutes or
even hours depending on the number of objects in the document vault.
You can change the software language and vault language in M-Files Desktop. The software language is
used in the texts and labels that you see in M-Files. For example, button texts, dialog titles, and warning
messages. The vault language is used as the metadata structure language, which is always specific to a
vault.
3. Use the Software language drop-down menu to change the language of the M-Files user interface.
M-Files | 3. System Administration | 257
4. Use the Vault language drop-down menu to change the language of the current vault.
The vault language selection contains all languages that the document vault has been translated
into.
5. Click OK to change the languages and to close the Change Language dialog.
The M-Files user interface language and the current vault language are changed accordingly.
If 1) the software installation language, 2) the vault language, and 3) the Windows display language are
the same, all the M-Files functions and the metadata structure of the document vault are displayed in the
language in question.
Note: If you want to create a new vault in a language other than the currently selected software
language, you must first change the software language and restart the M-Files Server service with
Windows Task Manager before creating the vault.
Note: If the user adds a new value to the value list, the new value (concept) will be added to
the original metadata structure, that is, the source language contents, regardless of the user's
vault language. For example, a user with Finnish as the vault language, can add a new value
LVI-piirustus to the value list Drawing Types/Piirustustyypit. If the source language was English,
the new Finnish value "LVI-piirustus" is displayed among the English values: "Architectural, LVI-
piirustus, Mechanical, Services", and so on. The name of this value can be changed in Value List
Properties to correspond the source language, after which it can be re-translated into Finnish.
Common views can be named in the same way according to the text added by the user, regardless
of the source language.
Note: If the metadata structure is translated into several languages, the software or the vault
language selected by the user does not affect the search results. For example, if the user has
selected Finnish as the language and added a document to class Hinnasto, the document in
question is included in the search results when using the search criterion Price List. However,
then the concepts Price List and Hinnasto must be translations of each other, that is, different
translations of the same concept.
Administrators can also change the default language of a vault for a specific user. The selected default
language can be any of the vault languages. If neither the user nor the administrator changes the vault
language, M-Files will use the vault source language as the default.
Do the following steps to change the default vault language for a specific user:
4. Expand a vault.
5. Select Users.
6. Right-click the user whose default vault language you want to change and select Properties from the
context menu.
7. Use the Vault language drop-down menu to change the default vault language for the selected user.
8. Click OK to save your changes and to close the User Properties dialog.
The default language in the selected vault is changed for the selected user.
Enabling Translatable Object Titles
To use translatable object titles, you need to have the desired languages added as vault languages in the
Languages and Translations dialog. However, it is not required that the metadata structure is translated
into those languages.
Note: This feature is not supported in the M-Files add-ins such as M-Files Add-in for Teams and
SharePoint Online.
The translatable object title configuration allows you to give objects titles in different languages. When an
object has multilingual titles, the translated names can be used as search criteria. You can search for and
find documents and other objects in your own language regardless of the original object's language. The
language version that matches the Vault language in the Change Language dialog is used on the title
area of the metadata card, listing area as well as in notifications and value lists.
1. Check that the desired languages with language codes are listed in the Languages and Translations
dialog.
If a language or a code is missing from the list, add it according to the instructions in Translating
the Metadata Structure. Note down of the language codes.
5. In the task area, click New Property Definition to create property definitions for the desired object title
languages.
For instructions on creating property definitions, see Creating a New Property Definition.
If you want to allow adding a Finnish title for an object, you can create a property definition
called Title in Finnish.
9. Click Save.
Now you are ready to enter translated titles for objects of the specified object type. After you have added
the properties to the metadata of an object and entered the translated names, the title is shown according
to the selected vault language on the title area of the metadata card, listing area as well as in notifications
and value lists. Translated object titles do not affect pinned shortcuts or notifications sent to unknown or
multiple recipients.
Note: After you have saved the changes and M-Files Server has been restarted, end users must
log out from and log back in to the vault to be able to use translatable object titles. To log out all
vault users, restart the vault. However, taking a vault offline must always be done in a controlled
manner and the vault users must be notified beforehand.
Tip: You can use metadata card configuration rules to show the translated object titles after the
actual Name or title property.
M-Files offers flexible approaches for information presentation and transfer also from external sources.
Databases, for example, are required to support OLE DB or Open Database Connectivity (ODBC)
connections. The type of a database connection can be either read-only or two-way. With a read-only
connection, M-Files can read from an external database, but you cannot enter new data with M-Files. With
a two-way connection, changes and additions made in M-Files are saved in the external database.
A good example of an external database connection is a connection between M-Files and an external
customer database. Many organizations already have a vast database of customer information, consisting
of tables populated with customer information. When the user creates a new offer document in M-Files,
it makes sense to add the existing customer information to it. M-Files can be set to import customer
information from an external database. The information can then be accessed directly from, for example,
the metadata card when a new document is created.
You can also import and link existing files from external objects. This makes deploying M-Files easy and
quick, because all existing files can be accessed with M-Files without a separate transfer process. When
you access files with M-Files, it makes sense to enrich them with metadata at the same time. Furthermore,
among other things, version history is created in M-Files; concurrent editing is avoided; and, thanks to
M-Files scheduled jobs, backups are easy to manage. Adding metadata also enables you to better take
advantage of the search capabilities of M-Files.
M-Files | 3. System Administration | 260
! Warning: A large number of connections to external sources with short synchronization intervals
can cause performance issues.
In this chapter
You can import or link files from external sources to M-Files. With a link between a folder on a network
drive and an M-Files vault, you can modify files both in M-Files and on the network drive. If you want to
make changes in M-Files only, you can import the files to the vault.
You can also use external repository connectors to import content to your vault. See Connectors. Make
sure that you do not use both features to import the same content.
In M-Files Cloud, this feature is only supported for Azure file shares. In a shared M-Files Cloud
environment, contact our customer support in M-Files Support Portal or your M-Files reseller if you want to
connect your cloud vault to an Azure file share. They can also give you information on other options to link
and import files.
! Warning: A large number of connections to external sources with short synchronization intervals
can cause performance issues.
In this chapter
4. Expand a vault.
6. In the task area, click New File Source to start creating a new connection to an external source.
7. In the Description field, provide a description for the new connection. You can, for example, describe
the external source for which this connection is used.
8. In the Path from the server field, enter the path to the external location that you wish to connect to M-
Files. The location can be, for example, a network drive of a scanner.
The path must be specified from the point of view of the M-Files server.
M-Files | 3. System Administration | 262
9. Optional: Check the Include subfolders check box if you wish to include in the connection the entire
folder structure of the specified path.
10.Click Set Account... to specify an account in M-Files to be used for processing files from the external
location.
By default, M-Files uses the server identity (Local System account) as the account.
By default, all files are included except for BAK and TMP files.
You may use wildcards to define a filter (for example, *.* or *.docx). Multiple filters are
separated with semicolons (;).
12.Select either:
a. Link files: Select this option if you wish to modify the files of the external source both in M-Files and
externally. Modifications made in M-Files are also visible to external users, and modifications made
outside M-Files are visible in M-Files.
Note: M-Files will store a version history of the linked documents, so that all versions
modified in M-Files, as well as every first preceding version modified outside M-Files before a
new version is created in M-Files, will be available for future use.
! Important: If the M-Files user group All internal users or All internal and external users does
not have edit access to a linked document, the document is deleted from the external file
source when it is added to M-Files. If this happens, you can at any time copy the file back to
the external location simply by adding edit access to either the All internal users or All internal
and external users user group (see Object Permissions).
This behavior can be prevented with a registry setting. For instructions, see Preventing
Linked Documents from Being Removed.
or
b. Import files: Select this option if you want the files of the external source to be copied to M-Files.
Modifying imported documents in M-Files will not have an effect on the original files.
You may also check the Delete source file after importing check box if you want the source files to
be deleted after they have been imported to M-Files. This option may be useful, for example, when
importing scanned documents to M-Files.
13.Optional: Select the Preserve folder structure check box and in the Target folder field, enter a target
folder for the external files if you wish to preserve the original folder structure of the external source in
M-Files using traditional folders.
You may click the ► (right-pointing triangle) icon to refresh the list of traditional folders or to add
a new traditional folder to the vault.
14.Optional: Select the Check for new and deleted files periodically check box if you want M-Files to
automatically check the source folder at predefined intervals and update itself according to which files
M-Files | 3. System Administration | 263
and folders are new and which have been deleted. Enabling this option makes any changes in the
source folder automatically visible in M-Files as well.
a) In the Delay between checks field, enter the interval in seconds between the automatic source
folder checks to define how frequently you want M-Files to check the changes made to the source
folder.
! Warning: Short synchronization intervals can cause performance issues if there are
many connections to external sources.
15.Optional: You may click Refresh Now to connect to the external source immediately.
Click Refreshing Status... to display additional information about the process of refreshing the
external source.
16.Optional: On the Metadata tab, define the metadata to be added for externally created objects.
For more information, see Defining Metadata for an External File Source.
17.Optional: On the Advanced tab, you can specify an alias for the new connection.
When automatic aliases are in use and you write a name on the General tab, the Aliases
field on the Advanced tab is automatically filled in. The alias has the format <predefined
prefix>.<name>. Configure automatic aliases for your vault in Advanced Vault Settings.
18.Click OK.
The new connection to an external source is created and added to the File Sources list. Files are added
from the external source to M-Files on the basis of the settings you have defined for the connection.
Defining Metadata for an External File Source
4. Expand a vault.
6. On the File Sources list, double-click the file source that you want to edit.
7. Click Metadata.
8. In Object type, select the object type that the external objects get when they are imported or linked to
M-Files.
The selected object type must have the Objects of this type can have files setting enabled.
9. Click Add... to define a new property and value to be added automatically for objects created from
external files, or select one of the existing properties and click Edit... to edit it.
10.Use the Property drop-down menu to select the property for which you want to define a value.
11.In the Define Property dialog, select one of the following options:
a. Use a fixed value: Use this option to specify a fixed property value.
or
b. Read from an XML file produced by HP DSS: Use this option if you want to obtain a property
value from user-provided metadata when a document is scanned and OCRed using HP DSS.
M-Files | 3. System Administration | 265
or
c. Read from an XML file: Use this option to read a property value from an XML file using an XPath
expression. The name of the XML file must match the name of the file to be imported. For instance,
when the name of the file is filename.txt the XML file must be named filename.xml.
Now, to use the text inside the keywords element in the XML file as the value for the selected
property, you would enter document/keywords in the Read from an XML file field, and thus you
would get Keywords in an XML file as the property value. The string document/keywords is a
simple XPath expression that selects all keywords elements that are children of the document
element.
XPath is a W3C standard syntax for defining locations in an XML document. For detailed information
on XPath syntax, see the W3Schools XPath Tutorial.
Note: If the XML file uses namespaces, you need to take them into account in the XPath
expression. You can use the namespace prefixes in the expression. Note that the default
namespace, however, has no prefix. Selecting from the default namespace is possible, for
instance, by using the namespace-uri() or the local-name() XPath function, or both,
in the expression. Multiple namespaces with the same prefix are not supported.
For example:
mynamespace:document/keywords
or
or
d. Use an OCR value source: Click Define... to define a zone in a scanned document from which to
capture the property value. For detailed instructions, see Defining an OCR Value Source.
M-Files | 3. System Administration | 266
or
e. Read from the properties of the imported file: Use this option to populate the property value
with a Microsoft Windows file property value. Use the File property drop-down menu to select the
appropriate file property. The accepted data types for the file properties are as follows:
12.If the selected property is of the Choose from list data type, and you chose Read from an XML file
produced by HP DSS, Read from an XML file or Use an OCR value source in the previous step, in
the Conversion to value list item section, select either:
a. Use the value read as the ID of the item: Select this option if you want to use the captured value
as an identifier of the value list item with a separately defined name.
or
b. Use the value read as the name of the item: Select this option if you want to use the captured
value as the name of the value list item. You can check the Add a new item to the list if a
matching item is not found check box if you want to add a new value list item whenever a new
value is captured.
14.Use the Permissions drop-down menu to set the permissions for new objects created through the
external source.
You can click the ... button to refine the permission settings.
15.Optional: Check the Read values from an XML file check box if you want property values to be read
from an XML file. Check also the Delete the XML file after use check box if you want the XML file to
be deleted after the metadata has been read.
The name of the XML file must match the name of the file to be imported. For instance, when the
name of the file is filename.txt the XML file must be named filename.xml. The supported
XML formats are:
The metadata that you specified is assigned to new objects created through this external source.
In this chapter
You can extract text or barcodes from a scanned document using optical character recognition (OCR)
and use them as automatic property values for files imported from an external source, a scanner in this
case. The OCR value source is a zone defined on a scanned page. For more information on defining
different properties for objects imported from external file sources, see Defining Metadata for an External
File Source.
You can use optical character recognition with these file formats:
• TIF
• TIFF
• JPG
• JPEG
• BMP
• PNG
• PDF
TIFF files that use an alpha channel or JPEG compression are not supported.
The use of an OCR value source is only possible when using an external source. The OCR value source
cannot be defined in M-Files Desktop.
Note: You can use the OCR value source without enabling the Use OCR to enable full-text
search of scanned documents option in the Searchable PDF tab.
4. Expand a vault.
7. On the File Sources list, double-click the file source that you want to edit.
9. Click Add... to define a new property and value to be added automatically for objects created from
external files, or select one of the existing properties and click Edit... to edit the existing property.
10.Select the option Use an OCR value source and click the Define... button.
or
Note: For the supported barcode types, see Supported Barcode Types.
M-Files | 3. System Administration | 272
12.In the Zone position section, define a zone from which to extract a value for the selected property. The
characters may include any letters, numbers or punctuation marks. For example, an invoice number
shown on a page can be added as the Invoice number property value for the scanned document.
If you are capturing a barcode and there is only one barcode to recognize on the page, you can
specify the whole page as the zone. If there are several barcodes, restrict the zone in a such a
way that it contains the desired barcode only. With QR codes, you should specify a zone larger
than the actual barcode. If the specified zone has several barcodes, all of them are considered
to be a property value.
a) In the Page field, enter the page number of the scanned document that you want to use as the OCR
value source.
b) Using the Unit options, select the appropriate unit for defining the zone position.
c) In the Left field, enter the left corner position of the OCR zone. The left corner of the scanned
document is considered "0".
d) In the Right field, enter the right corner position of the OCR zone.
e) In the Top field, enter the top corner position of the OCR zone. The top corner of the scanned
document is considered "0".
f) In the Bottom field, enter the bottom corner position of the OCR zone.
13.With the Primary language and Secondary language drop-down menus, select the primary and
secondary language of the scanned documents to improve the quality of the recognition results. The list
of secondary languages only contains languages that are allowed to be used with the selected primary
language.
Although the OCR automatically recognizes all Western languages and Cyrillic character sets,
specifying a language selection often improves the quality of the text recognition results. In
ambiguous cases, a problematic recognition result may be resolved by a language-specific
M-Files | 3. System Administration | 273
factor, such as recognition of the letter 'Ä' in Finnish. The list of secondary languages only
includes languages that are allowed to be used together with the selected primary language.
a. Use the value read as the ID of the item: Select this option if you want to use the captured value
as an identifier of the value list item with a separately defined name.
or
b. Use the value read as the name of the item: Select this option if you want to use the captured
value as the name of the value list item. You can check the Add a new item to the list if a
matching item is not found check box if you want to add a new value list item whenever a new
value is captured.
The zone you have just defined is used to automatically extract a value for the selected property using
OCR whenever a new object is created via the selected external file source.
To make sure that the specified zone is correctly positioned, in most cases the document to be scanned
must be placed onto the scanner glass by hand.
In some cases, the OCR can give an incorrect recognition result of the text. For example, depending on
the font type or size, the number 1 can be interpreted as the letter I. To make sure that the characters are
added correctly to metadata, you can check the property values with event handlers and VBScript. You can
then use VBScript to check, for example, that all added characters are numbers. For more information, see
Event Handlers.
• QR Code
• Data Matrix
• Aztec Code
• EAN-13
• EAN-8
• EAN-5
• EAN-2
• MSI Plessley
• MSI Pharma
• UPC-A
• UPC-E
• Codabar
• Interleaved 2 of 5
• Discrete 2 of 5
• Code 39
• Code 39 Extended
• Code 39 HIBC
• Code 93
• Code 128
• PDF 417
M-Files | 3. System Administration | 274
• Postnet
• Postnet 32
• Postnet 52
• Postnet 62
• Patchcode
• UCC-128
• UPCE Extended
• IATA 2 of 5
• Datalogic 2 of 5
• Reverse 2 of 5
• Code 39 (out-of-spec)
• Code 128 (out-of-spec)
• Codabar (out-of-spec)
Searchable PDF
M-Files can convert images imported from external file sources into searchable PDFs using optical
character recognition (OCR). This makes full-text search of scanned documents possible. After conversion,
you can find the PDF document by searching the actual document content.
You can use optical character recognition with these file formats:
• TIF
• TIFF
• JPG
• JPEG
• BMP
• PNG
• PDF
TIFF files that use an alpha channel or JPEG compression are not supported.
Note: Converting the file to a searchable PDF does not affect the outward appearance of the
document when viewing it. The users still see the original scanned image. M-Files stores the
automatic text recognition results in the PDF as invisible text, which is used when searching the file.
Possible text recognition inaccuracies will not affect the appearance of the scanned document in
any way when viewed on screen or printed.
Do the following steps to convert images from an external file source into searchable PDFs:
4. Expand a vault.
7. On the File Sources list, double-click the file source that you want to edit.
9. Check the Use OCR to enable full-text search of scanned documents check box.
10.With the Primary language and Secondary language drop-down menus, select the primary and
secondary language of the scanned documents to improve the quality of the recognition results. The list
M-Files | 3. System Administration | 277
of secondary languages only contains languages that are allowed to be used with the selected primary
language.
Although the OCR automatically recognizes all Western languages and Cyrillic character sets,
specifying a language selection often improves the quality of the text recognition results. In
ambiguous cases, a problematic recognition result may be resolved by a language-specific
factor, such as recognition of the letter 'Ä' in Finnish. The list of secondary languages only
includes languages that are allowed to be used together with the selected primary language.
11.Optional: Check the Use hyper-compression to reduce PDF file size check box if you want to reduce
the file size of the searchable PDFs created via this connection.
12.Optional: Check the Convert to PDF/A-1b format check box if you want the converted PDF documents
to comply with the ISO standard 19005-1:2005 for long-term preservation of electronic documents.
PDF/A-1b is a more restricted format than the format of standard PDF files, so the file size of
documents converted to PDF/A is often larger than that of files converted to standard PDF. In
addition, by exporting to PDF/A, certain advanced appearance settings may be omitted. You
should use conversion to PDF/A form only if it is particularly necessary due to, for example, the
requirements for long-term preservation.
The documents scanned with this connection are converted into searchable PDFs provided that they
are in the applicable file format. After they have been imported or linked to M-Files, you can find them by
searching for their content.
Note: Text recognition can also be done in M-Files Desktop. For more information, see Scanning
and Text Recognition (OCR). To use text recognition using external sources through the M-Files
Admin only, this limitation can be set by changing the registry settings. The registry settings can be
used to set other limitations as well. For more information on registry settings, contact our customer
support in M-Files Support Portal or your M-Files reseller.
4. Expand a vault.
6. Right-click the connection that you want to delete and select Delete from the context menu.
8. Optional: If the type of the connection you are about to delete is Link, you must select between these
options:
a. Import Linked Files: The documents obtained via the connection are imported to M-Files, but
the link between the documents in M-Files and the files on the file system will be disabled. When
you select this option, the connection imports the files from the file source and after the import is
M-Files | 3. System Administration | 278
complete, you may delete the connection. The files on the file system and the documents in M-Files
will continue to live their own lives independently of each other.
or
b. Destroy Documents: The documents added to M-Files through the connection are destroyed in
M-Files, but the previously linked files stay in the file system. The external folder will no longer be
linked to M-Files and the files previously added to M-Files through this connection are available in
the external location only.
or
The selected connection is deleted and files are no longer imported or linked from the selected file system
location to M-Files.
Scanner Sources
With a scanner connection, you can save paper documents to the vault in digital format. This lets the M-
Files search capabilities to be used with scanned paper documents.
When using external sources, M-Files does not communicate directly with the scanners but uses an
external connection to read the file produced by the scanner from, for instance, the scanner's network
drive. The connection is configured in M-Files Admin under External File Sources.
These connections can be made, for example, with Hewlett-Packard MFP series devices by using HP
Digital Sending Software (DSS). In this case, the device is connected directly to the local area network and
the user scans the paper document with the device.
It is also possible to enter metadata with the device's touchscreen. The scanned file and the metadata
are sent to the DSS software performing optical character recognition (OCR) for the file. The scanned
image and recognized text are combined into a PDF file. The PDF file and an XML metadata file are saved
in a folder controlled by M-Files through external location configuration. On detecting new files, M-Files
transfers the files to the document vault as documents with metadata.
For instructions on how to use a scanner as an external source for M-Files, see Creating a New
Connection to an External Source.
Note: Text recognition can also be done with the M-Files OCR module. You can also scan using a
local scanner that is directly connected to your computer. For more information, see Scanning and
Text Recognition (OCR).
Mail Sources
You can use external mail sources to save, manage, and share important email, and to make sure that
important information does not get lost in email boxes. For example, you can set a designated archive
account to import all email to the vault and to then delete the messages from the mail server. In the vault,
you can manage the imported messages with the M-Files features. Example use cases include managing
orders or archiving sent offers. You can use the Cc and Bcc fields to save sent email to the vault as well,
for example proposals and order confirmations. To avoid junk mail, you can set the email account to accept
email only from users in your organization.
! Warning: A large number of connections to external sources with short synchronization intervals
can cause performance and other issues. One solution is to set a limit for simultaneous mail source
updates. To do this, configure the setting Maximum Number of Simultaneous Updates in the
Connections to External Sources > Mail Sources Common section of Advanced Vault Settings.
M-Files | 3. System Administration | 279
In this chapter
4. Expand a vault.
• Generic POP3 service: Use the POP3 protocol to connect to a mail service that is not listed
here.
• Generic IMAP4 service: Use the IMAP4 protocol to connect to a mail service that is not
listed here.
• Microsoft Exhange Online: Connect to Microsoft Exchange Online.
Refer to this document for instructions on how to set up an OAuth application in Azure Portal:
Azure Portal Configuration for Microsoft Exchange Online as External Mail Source. You will
need the application details in step 9.
9. In the Configuration section, enter the necessary information for your service type. See the information
in the table.
For example:
sXXtFz1UtYMRCVc.2.23TMC-94-T.yK-84
M-Files | 3. System Administration | 281
If you want to save the email messages as RFC 822 compliant EML files,
configure the registry setting that follows on the M-Files server computer.
M-Files | 3. System Administration | 282
This registry setting overrides the selected storage format option. For the
changes to take effect, you must restart the M-Files Server service.
Separate attachments Save attachments separately from the body of the message. This option
from the message can be enabled only if the option Save in Outlook message format
(*.msg) is enabled. The message without its attachments is saved to an
MSG file, and any attachments are stored beside the MSG file in their
original file formats. If the message contains attachments, the message
and its attachments appear in M-Files as a multi-file document.
11.Optional: Select the Check for new and deleted files periodically check box to enable M-Files to
synchronize with the mail server at predefined intervals.
a) In Delay between checks, enter the time interval in seconds between synchronizations.
! Warning: Short synchronization intervals can cause performance issues if there are
many connections to external sources.
12.Optional: Click Refresh Now to synchronize the vault with the mail server right away.
Click Refreshing Status... to see the current status of the refreshing process.
13.Optional: On the Metadata tab, specify properties for new objects created through this connection.
For more information, see Defining Automatic Metadata for a Mail Source.
When automatic aliases are in use and you write a name on the General tab, the Aliases
field on the Advanced tab is automatically filled in. The alias has the format <predefined
prefix>.<name>. Configure automatic aliases for your vault in Advanced Vault Settings.
M-Files | 3. System Administration | 283
15.Click OK.
This locks the Service type setting. Create a new connection to change the service type.
Email messages are imported to M-Files from the mail source with the specified settings. You can
optionally change advanced settings for a Microsoft Exchange Online or Google Mail mail source in the
Connections to External Sources > Mail Sources Common section of Advanced Vault Settings.
Defining Automatic Metadata for a Mail Source
You can define automatic metadata for new objects created from an external mail source. You can use
fixed property values or extract property values from the imported e-mail messages.
Do the following steps to define automatic metadata for objects created from an external mail source:
4. Expand a vault.
6. On the Mail Sources list, double-click the source that you want to edit.
8. Use the Object type drop-down menu to select the object type for new objects created through this
connection.
9. Use the Permissions drop-down menu to select the permissions for new objects created through this
connection.
You can click the ... button to refine the permission settings.
10.In the Properties section, click Add to add a new automatic property for objects created through this
connection or select one of the existing properties and click Edit to edit it.
11.Select either:
a. Use a fixed value: Use this option to add a fixed value for the selected property.
or
b. Read from the e-mail message: Use this option to extract a value from the e-mail message for the
selected property.
Note: If you select the Date field as the source of the property value, the data type of the
property must be Time. It is not recommended to select a property of the Timestamp data
type for the Date field because Timestamp values are adjusted by the time zone settings on
client computers.
M-Files | 3. System Administration | 287
12.If the selected property is of the Choose from list data type, in the Conversion to value list item
section, select either:
a. Use the value read as the ID of the item: Select this option if you want to use the extracted value
as an identifier of the value list item with a separately defined name.
or
b. Use the value read as the name of the item: Select this option if you want to use the extracted
value as the name of the value list item. You can check the Add a new item to the list if a
matching item is not found check box if you want to add a new value list item whenever a new
value is extracted.
The email messages imported to M-Files through this connection are assigned automatic properties
according to the settings that you have defined.
You can specify messages to be automatically associated with contact persons and customers in M-Files.
M-Files does this on the basis of the sender and recipient information when the messages are saved
to your vault in Microsoft Outlook. For an introduction to this feature, see Associating Messages with
Contacts.
For information on how this feature is supported in different M-Files clients, refer to M-Files Feature
Comparison.
Contact persons
M-Files looks for a match with a contact person's email address. M-Files associates the message with the
contact person Matt Bay if the properties of the contact person object have the same email address as the
message ([email protected]).
Customers
1. M-Files looks for customer matches through the contact person information (the Customer object type
must be the owner of the Contact person object type): M-Files associates the message with the
customer ESTT if Matt Bay is the contact person for ESTT.
2. M-Files looks for similarity between the domain name in the email address and the customer's
properties: M-Files associates the message with the customer ESTT on the basis of the email address
domain, [email protected] or [email protected], if the domain estt.com is found in the
customer's properties. The message is not associated with any contact person, unless a full match is
found with the contact person information.
M-Files | 3. System Administration | 288
Advanced Settings
On the Advanced tab, you can further specify associations between email information and M-Files
metadata. M-Files automatically populates the metadata card according to the defined mappings.
• You drag and drop the email from Microsoft Outlook to M-Files.
• You select Save to M-Files from the Microsoft Outlook ribbon.
You can select a default class for all the email messages that are saved to M-Files with Microsoft Outlook.
If you use the standard Microsoft Outlook integration, specify the default class here. If you use M-Files
for Outlook, the user selects the default class in the add-in options in Microsoft Outlook. In other words,
M-Files for Outlook does not use the default email class that is specified in Email Client Integration
Settings.
With the other options on the Advanced tab, you can define an appropriate metadata property for the
value of each email header field.
For example, if you want M-Files to automatically insert the information from the From field to a certain
property on the metadata card of the email object, select the appropriate property from the drop-down
menu.
There are limitations for the data types of the properties that are assigned to object metadata with these
settings. You can see the accepted data types in the table. You must also allow the properties to be used
with the Document object type (or with all object types).
From
• Text
• Text (multi-line)
Cc
• Text (multi-line)
Subject
• Text
• Text (multi-line)
Received
• Timestamp
Sent
• Timestamp
Importance
• Text
• Text (multi-line)
M-Files | 3. System Administration | 289
If you use M-Files for Outlook, specify the settings on the M-Files for Outlook tab. For more information,
refer to Configuring M-Files for Outlook.
Content replication and archiving enables synchronization of objects between vaults. This helps in ensuring
that data is up to date between various specified vaults. Replication and archiving can be carried out by
using the export and import operations available in M-Files Admin.
Note: Accessing these settings requires you to log in to the server with a login account that has
the System administrator server role. Vault users with the Full control of vault rights are allowed to
manage cloud storage based replication jobs.
Figure 34: You can, for example, replicate documents from a production vault to a publication vault according to given property values
of documents. For instance, a document may be replicated to a publication vault when the property Published is set to Yes.
For a more extensive presentation on replication and archiving, see M-Files Replication and Archiving
User's Guide.
Important remarks
• For association and synchronization of objects and their metadata between separate vaults, the
metadata definitions must also be associable between vaults. For more information, see Associating the
Metadata Definitions.
• It is advisable to check the permissions of confidential imported objects in the target vault after an
import operation is complete, especially if the source and the target vaults have differing users or user
groups.
• If M-Files is installed on several servers, each server must have a unique server license installed.
• All M-Files Server instances in a replication setup must have the same build number. For example,
12628 in 23.5.12628.4.
• Two-directional replication of metadata structure is highly discouraged as the structure of the target
vault is always overwritten with the structure in the content package, even if the metadata structure
of the vault is more recent than the one in the content package. Thus, if two-directional replication of
metadata structure is enabled, it may overwrite changes made to the metadata structure of any vault in
the replication scheme.
An exception to the above recommendation are value list items, as they are provided with timestamp
information to indicate when they have been created or modified. Therefore replicating value list items
does not have the same shortcomings as replicating other metadata structure items, as value list
timestamps assure that the most recent value list items are always preserved during replication.
• Replication from a vault to another vault is not supported if the vaults have the same GUID. Two vaults
must never share the same GUID. It is possible to generate such a situation, for example if a copy or a
backup of a vault is attached to another server using the original GUID.
• It is highly discouraged to compress M-Files content packages using the ZIP archive format. ZIP
archives do not specify the character encoding that is used for the file names stored in the archive, and
therefore it may not be possible to import content packages that have been compressed using ZIP to
systems that use different system language and code page settings than the system from which the
content package was exported. If you wish to compress the content package, it is recommended to use
a format that retains the character encoding information of file names, such as 7Z.
In this chapter
• Exporting Content
M-Files | 3. System Administration | 291
• Importing Content
• Scheduled Export and Import
• Archiving Old Versions
Exporting Content
You can use content exporting for long-term archiving of content, synchronization of data among several
vaults, or freeing up disk space on the server.
4. Expand a vault.
The content replication and archiving features are displayed in the right-side pane.
For information about creating a recurring export operation, see Defining a Scheduled Export.
7. On the Package Location tab, define the location for the content package.
a) Click the ... button to define a temporary local folder for the content package.
b) Optional: Click Set Account... to define the user account to be used for saving the content package
to the selected local folder.
You need to use a user account that has write permissions to the selected local folder.
8. Optional: Still on the Package Location tab, enable the Use replication via cloud storage option to
export to a cloud storage location.
a) In the Connection string field, enter the provided connection string for connecting to the cloud
storage.
If you do not yet have the connection string, click Get or Request. The functionality is
different in different M-Files environments.
M-Files | 3. System Administration | 293
Option Description
Get The connection string is automatically filled.
Request An email message to M-Files customer support is opened. Remove
unwanted locations from the line Preferred location and send the email.
b) In the User-specified folder name field, enter a folder location in the cloud storage that will be used
for exporting from one vault and importing to another.
c) In the User-specified password for encryption field, enter a password of your choice that will
be used for encrypting content packages. The same password must be used for exporting and
importing the same packages.
9. Optional: In the Configuration ID field, you can enter any string of characters for identifying this
replication job.
M-Files automatically creates a numeric ID for each scheduled replication job. You can enter an
additional ID for the job to the Configuration ID field. The configuration ID can be any string of
characters. If a configuration ID cannot be found when the jobs are processed, M-Files uses the
job ID.
10.On the Objects and Files tab, select Export objects and files and Export existing objects.
For more information about the options on this tab, see Export Objects and Files.
Note:
When the Export only changes since latest run option is enabled, only new objects
and content that has versioning or non-versioning changes since the given date and
time are exported. If you export also metadata structure elements, the elements are not
exported unless there are changes to files or objects.
If you want to export metadata structure elements regardless of whether objects or files
have been changed, do one of these operations:
11.Optional: To define the conditions that objects must meet to be exported, select Use a search filter and
click the Define button.
a) In the Define Filter dialog, define the conditions that objects must meet to be exported and click OK
once you have defined all the necessary conditions.
a. Check the All Elements option to export all metadata structure elements.
or
b. Check individual metadata structure elements on the list to define individually the elements to be
exported.
For more information about the options on this tab, see Export Structure.
14.Click OK to close the Export Content dialog and to start the export.
Note: Make sure that the export operation is complete before you take any actions in the
vault.
M-Files | 3. System Administration | 295
When the export operation is complete, you can use the export package to import the exported content to
another vault. See Importing Content.
In this chapter
On the Package Location tab of the Export Content dialog, you can change the location of the content
package. M-Files names the files automatically according to the vault ID and timestamp, so that you can
find the content package easily at a later time.
You can also modify the user account to be used. The user needs to have the rights to the specified
saving location in order for the export to be successfully completed. The default selection is Local System
account.
M-Files automatically creates a numeric ID for each scheduled replication job. You can enter an additional
ID for the job to the Configuration ID field. The configuration ID can be any string of characters. If a
configuration ID cannot be found when the jobs are processed, M-Files uses the job ID.
You can also use replication through a cloud storage location. When exported, the replication packages
are locally encrypted with the AES-256 algorithm and then uploaded to the cloud storage location. When
imported, the replication packages are downloaded from the cloud storage location and then decrypted
locally. This functionality can be helpful when you are replicating data between different locations and want
to be completely certain that only the appropriate persons can access the data.
Connection string
Click Get to update the connection string for the cloud storage location. Use the same string for export and
import. If there is no Get button, click Request to send an email to our customer support, and wait for them
to send you the connection string.
The folder name is unique for one export-import pair. For instance, replication from the master vault to a
secondary vault could be named "MasterOut" and replication from the secondary vault to the master vault
"MasterIn".
The replication password is used for encrypting the replication packages. The password can be whatever
you decide. Just remember to use the same password for both export and import.
The Objects and Files tab lets you to change settings for exporting object and file content.
! Important: When you export objects, make sure that the target vault does not refer to the same
external repositories as the source vault. Vaults that refer to the same repositories can cause
duplicate objects in the target vault.
M-Files | 3. System Administration | 296
By using a filter, you can specify which existing objects you want to export. For example, you can export
certain objects by object type or property. In particular, when publishing certain documents, such as
brochures or press releases, for interest groups only, you can use the search filter for the publication when,
for example, the requirement of a certain class or property is met.
If a previously exported object is no longer part of the export set, mark it to be destroyed in the
target vault
By enabling this setting, any of the objects that were included in an earlier export set but are not in the
current one will be deleted in the target vault upon import. If you wish to delete for example certain price
lists from a vault designed for partner use, you need to make sure that this setting has been enabled and
that the price lists do not fit the criteria of the export set.
Note: The setting is job-based and applies only for scheduled export and import jobs.
Note: The setting Do not import object destructions in the properties of the import job overrides
this setting.
You can choose to export only the latest versions of the selected objects for archiving. Older versions of
the selected objects will not be archived.
You can indicate whether you also want to save the files in PDF/A-1b format when archiving them. PDF/
A-1b format complies with the standard ISO 19005-1:2005, on the long-term preservation of electronic
documents.
Saving in PDF/A-1b format is possible with Office files and standard PDF files. Files in PDF/A-1b format
are not imported during import. Saving in PDF/A-1b format slows down the export to some extent.
If you have chosen to export objects with the Marked for archiving property defined, you can indicate that
the property should be cleared after the content export. With this setting is enabled, the exported objects
are no longer marked for archiving.
You can specify whether you want to destroy the exported objects after the export. If you have selected to
export the latest versions only, you cannot select this setting.
When this option is enabled, objects from external repositories are exported without their external
repository ID. It can be useful to enable this option if external repository IDs contain sensitive data. For
example, customer names.
M-Files | 3. System Administration | 297
Instead of the existing objects, you can choose to export data from the destroyed objects and object
versions only. This function is intended mainly for clearing the destroyed objects from the vault.
You can select to export only the changes made since the latest export. This means that only new objects
and content that has versioning or non-versioning changes are exported. Thus, also objects whose Last
modified timestamp has not changed can be included in the export job.
For example, these content changes are included in the export package when Export only changes since
latest run is selected:
• Object created
• File content edited
• Object metadata edited
• Object deleted
• Object undeleted
• Object checked out
• Checkout undone
• Conflict resolved
• Object version label changed
• Comment added for object version
• New object version imported to vault
By default, M-Files offers the date of the latest export (or of the last import of exported objects to the
source vault with a timestamp older than the previous export).
Note:
When the Export only changes since latest run option is enabled, only new objects and content
that has versioning or non-versioning changes since the given date and time are exported. If you
export also metadata structure elements, the elements are not exported unless there are changes
to files or objects.
If you want to export metadata structure elements regardless of whether objects or files have been
changed, do one of these operations:
Preview
Click the Preview button to see the number of objects to be affected by the export process.
Export Structure
The Structure tab enables you to select which parts of the metadata structure you want to export.
M-Files | 3. System Administration | 298
Export structure
You can select the metadata structure elements of the selected vault to be exported or select all elements
with All Elements.
Important remarks
• Built-in elements are always created in M-Files by default. They include, for example, the property
definitions Name or title, Created by, and Keywords. In addition to these, administrators can create
user-defined elements.
• It is recommended to use aliases or GUIDs in event handlers and metadata card configurations. This is
because they are exported as-is and because the metadata element IDs can be different in the source
and the target vaults.
M-Files | 3. System Administration | 299
• The imported metadata card configurations are visible in the target vault after you either restart M-Files
Admin or do a forced refresh (Ctrl + F5) in the configurations editor.
By selecting the Export contents of the selected value lists checkbox you can choose to export all value list
content.
Note: All the removed values are replicated as well. This means that values in the target vault may
be deleted through a metadata structure import. The values are not deleted completely, however,
but instead only marked as deleted. This enables the ability to search and re-enable deleted values
in the source or target vault with M-Files Admin.
Selecting OK creates an export package of the selected metadata to the location specified on the Package
Location tab.
By enabling the Export users' custom display settings of the selected views checkbox you can choose
to include users' custom display settings to the export package.
Note: Exporting a view always includes the common display settings of the view.
Importing Content
After creating an export package, you can import its content to a vault. You can use the Import Content
function when you need to import data to another vault for example for replication, publication, archiving, or
backup purposes. The objects and their metadata are imported and synchronized with those in the target
vault. M-Files always imports versions that are new or changed compared to the current versions in the
target vault.
4. Expand a vault.
The content replication and archiving features are displayed in the right-side pane.
For information about creating a recurring import operation, see Defining a Scheduled Import.
7. On the Package Location tab, define the location for the content package.
a) Optional: Enable the Import multiple content packages if you want to import multiple packages
from the selected location.
b) Click the ... button to define the location of the content packages to be imported.
c) Optional: Click Set Account... to define the user account to be used for retrieving the content
package from the selected folder.
You need to use a user account that has read permissions to the selected folder.
8. Optional: Still on the Package Location tab, enable the Use replication via cloud storage option to
import from a cloud storage location.
a) In the Connection string field, enter the provided connection string for connecting to the cloud
storage.
If you do not yet have the connection string, click Get or Request. The functionality is
different in different M-Files environments.
Option Description
Get The connection string is automatically filled.
M-Files | 3. System Administration | 301
Option Description
Request An email message to M-Files customer support is opened. Remove
unwanted locations from the line Preferred location and send the email.
b) In the User-specified folder name field, enter a folder location in the cloud storage that will be used
for importing to one vault and exporting from another.
c) In the User-specified password for encryption field, enter a password of your choice that will
be used for encrypting content packages. The same password must be used for exporting and
importing the same packages.
9. Optional: Select Delete content package after importing if you want the content package to be
removed after the operation has been completed.
Use this option only if you import the content package to one vault. Otherwise, the content
package is deleted before it is imported to all the vaults.
10.Optional: In the Configuration ID field, you can enter any string of characters for identifying this
replication job.
M-Files automatically creates a numeric ID for each scheduled replication job. You can enter an
additional ID for the job to the Configuration ID field. The configuration ID can be any string of
characters. If a configuration ID cannot be found when the jobs are processed, M-Files uses the
job ID.
11.On the Objects and Files tab, you can specify how objects and files are imported.
12.On the Structure tab, you can specify how metadata structure is imported.
13.On the Permissions tab, you can specify the permission settings for the imported objects.
! Important: It is essential to take into consideration that exporting and importing objects
with relationships to other objects may, in some cases, produce a conflict. If the conflict
cannot be resolved automatically, some of the selected objects might not be replicated.
The import summary report should be reviewed carefully before proceeding with the
import operation.
In this chapter
The Package Location tab displays options related to the package containing the objects, files, and
metadata structure to be imported. See the corresponding settings in Exporting Content when you are
importing the content package to the selected vault.
The location must be the same as that of the content package exported from the source vault. That is, M-
Files must find the exported data to perform the import. The location may be different, but in that case a
separate data transfer between locations must be implemented.
Note: The exported package can contain different marker files. M-Files only imports content
packages that have the Ready marker file but not the Imported marker file for the target vault.
Figure 36: The Package Location tab of the Import Content dialog
You can also import several packages at a time by checking the Import multiple content packages check
box. This enables you to select a folder instead of a single file.
The content package will be automatically deleted after importing if the Delete content package
after importing option is enabled. Use this option only if you import the content package to one vault.
Otherwise, the content package is deleted before it is imported to all the vaults.
M-Files | 3. System Administration | 303
M-Files automatically creates a numeric ID for each scheduled replication job. You can enter an additional
ID for the job to the Configuration ID field. The configuration ID can be any string of characters. If a
configuration ID cannot be found when the jobs are processed, M-Files uses the job ID.
You can also use replication through a cloud storage location. When exported, the replication packages
are locally encrypted with the AES-256 algorithm and then uploaded to the cloud storage location. When
imported, the replication packages are downloaded from the cloud storage location and then decrypted
locally. This functionality can be helpful when you are replicating data between different locations and want
to be completely certain that only the appropriate persons can access the data.
Connection string
The connection string contains the storage location information. Please make sure to use the same string
for both export and import (see Export Package Location).
Manage Replication
Click Manage Replication... to open a dialog listing the queued import packages. This allows you to easily
remove any erroneous packages that may be blocking the queue.
The folder name is unique for one export-import pair. For instance, replication from the master vault to a
secondary vault could be named MasterOut and replication from the secondary vault to the master vault
MasterIn.
The replication password is used for encrypting the replication packages. The password can be whatever
you decide. Just remember to use the same password for both export and import.
The Objects and Files tab enables you to change settings related to importing object and file content.
M-Files | 3. System Administration | 304
Figure 37: The Objects and Files tab of the Import Content dialog.
M-Files | 3. System Administration | 305
If the objects are checked out in the vault from which you are exporting, you can import the check-out
states to the target vault as well. Then the object is also checked out in the target vault, which prevents
other users from editing it. This reduces the possibility of conflicts, which could be caused by simultaneous
editing in multiple vaults.
Use the name of an imported element as its alias if no other alias is available
Since only built-in, GUID and "ID+name" matching metadata definitions are automatically connected, other
metadata definitions must be associated by using aliases. However, the necessary alias definitions may
not have been made in the source vault. In the latter case, the data export can be facilitated by means of
this setting. When this option has been selected, the alias need only be defined in the target vault as long
as it is in line with the element's source vault name.
For example, you may want to import objects of the Project type but have not defined an alias for the
Project object type in the source vault. By selecting this option and adding, in the target vault, an alias
corresponding to the source vault's name for the project object type (in this case, the alias is "Project"), you
will get the necessary definitions for the import.
Note: You must use the default language names from the source vault as the aliases for the
metadata definitions in the target vault to be able to perform connection of the metadata definitions.
Note: This setting is valid only when the metadata definition in question (object type, property
definition, value list, or similar) has no alias defined in the source vault.
• You do not want to destroy objects that you have destroyed in the source vault also in the target vault.
For example, if you use the target vault for archiving destroyed objects, select this setting.
• You do not want to destroy objects that are no longer part of the export set. Please note that this setting
nullifies the export setting If a previously exported object is no longer part of the export set, mark it to be
destroyed in the target vault.
Import Structure
On the Structure tab, you can see which features are set to be disabled in the imported structure. By
default, external connections and new and changed scripts are disabled. To clear these selections, you
must have the system administrator permissions.
In a shared M-Files Cloud environment, users with the Full control of vault administrative rights can
change the import behavior of the new and changed scripts that are set to be disabled. By default, the
selected scripts are disabled only if they are unsigned. Unsigned scripts have not been validated by M-
Files. In New and changed scripts to disable, select Always disable to set all the new and changed
scripts to be disabled, including signed scripts.
Views
In one-time import, the setting Import views with an older last modified date and time is available.
Enable this setting to import views whose corresponding view in the target vault has been modified later
than the view in the import package.
M-Files | 3. System Administration | 306
When you click OK, M-Files creates a report that shows all the changes to the target vault structure.
The Permissions tab of the importing dialog allows you to change the permission settings of the content to
be imported.
4. Expand a vault.
The content replication and archiving features are displayed in the right-side pane.
6. Either:
a. Click One-time Import... if you want to modify the permissions of a single import package.
or
b. Click the task area item New Scheduled Import... if you want to modify the permissions of a
recurring import job.
Depending on your choice, either the Import Content or the Scheduled Job Properties dialog
is opened.
The Permissions tab of either the Import Content or the Scheduled Job Properties dialog is
opened.
M-Files | 3. System Administration | 307
M-Files | 3. System Administration | 308
8. In the Permissions of the imported objects section, select one of the following options:
Option Description
Use the permissions from the content package Select this option if you want the imported objects
to have the same permissions as the objects in
the source vault.
Use the default permissions of the object Select this option to have the imported objects
types use the default permissions specified in the
properties dialog of each object type.
Specify permissions for imported versions Select this option if you want to manually define
permission settings that are to be applied to all
the imported objects.
9. Optional: Check or uncheck the Activate new or changed definitions of automatic permissions
option checkbox.
If the content package contains any new or changed definitions of automatic permissions,
importing the content package with this option enabled activates all the automatic permissions
triggered by the imported definitions in the target vault. Importing the content package with this
option unchecked still imports the automatic permission definitions to the target vault, but does
not cause any new automatic permissions to be activated.
10.Optional: Check or uncheck the Ignore the definitions of automatic permissions of the imported
objects option checkbox.
When selected, this option makes the importing process bypass the definitions of automatic
permissions of all the imported objects in the content package. This way you can choose to
preserve the automatic permissions of all the objects in the target vault by leaving out any
potential changes to the definitions of automatic permissions from the objects in the imported
content package.
Before accepting any changes to the target vault, M-Files presents a detailed summary of the content
package to be imported. It is highly recommended to carefully review the summary report explaining the
results of the content import.
M-Files | 3. System Administration | 309
It is very important to make sure that no unintended duplicate structure elements will be generated, and
that all changes to the target vault's metadata structure will be as expected. In the event there are incorrect
mappings, the process should be canceled and the names or aliases of the elements in the source and/or
target vault modified accordingly.
For keeping vaults up to date between each other and in interaction, scheduled export and import must
be defined for the vaults. With scheduled export and import, you can synchronize the objects and their
metadata between vaults.
Note: It is recommended that you study the section Interaction Among Several Vaults before
defining any export or import jobs.
Scheduled export
Define the scheduled export in the source vault where you can save the content to be exported on a
scheduled basis. The same settings are available as when defining an individual export. For further
information, refer to Export Content. Exported data can be imported to another vault for publication,
replication, archiving or backup.
Scheduled import
When you want to import the content to another vault for synchronization or other use, you should define
the scheduled import to the target vault. The same settings are available as when defining an individual
import. For further information, refer to Import Content.
M-Files | 3. System Administration | 310
Scheduling an export or an import job works the same way as scheduling tasks in the Windows Control
Panel.
Note: In addition to the content export and import, you should be able to associate the metadata
definitions for the interaction between separate vaults, so that synchronization is possible through
archiving. For further information, refer to Interaction Among Several Vaults.
In this chapter
4. Expand a vault.
The content replication and archiving features are displayed in the right-side pane.
7. In the Description field, type in a name for the scheduled export job.
9. On the Package Location tab, define the location for the content package.
a) Click the ... button to define a temporary local folder for the content package.
b) Optional: Click Set Account... to define the user account to be used for saving the content package
to the selected local folder.
You need to use a user account that has write permissions to the selected local folder.
10.Optional: Still on the Package Location tab, enable the Use replication via cloud storage option to
export to a cloud storage location.
a) In the Connection string field, enter the provided connection string for connecting to the cloud
storage.
If you do not yet have the connection string, click Get or Request. The functionality is
different in different M-Files environments.
Option Description
Get The connection string is automatically filled.
M-Files | 3. System Administration | 312
Option Description
Request An email message to M-Files customer support is opened. Remove
unwanted locations from the line Preferred location and send the email.
b) In the User-specified folder name field, enter a folder location in the cloud storage that will be used
for exporting from one vault and importing to another.
c) In the User-specified password for encryption field, enter a password of your choice that will
be used for encrypting content packages. The same password must be used for exporting and
importing the same packages.
11.Optional: In the Configuration ID field, you can enter any string of characters for identifying this
replication job.
M-Files automatically creates a numeric ID for each scheduled replication job. You can enter an
additional ID for the job to the Configuration ID field. The configuration ID can be any string of
characters. If a configuration ID cannot be found when the jobs are processed, M-Files uses the
job ID.
12.On the Objects and Files tab, select Export objects and files and Export existing objects.
For more information about the options on this tab, see Export Objects and Files.
Note:
When the Export only changes since latest run option is enabled, only new objects
and content that has versioning or non-versioning changes since the given date and
time are exported. If you export also metadata structure elements, the elements are not
exported unless there are changes to files or objects.
If you want to export metadata structure elements regardless of whether objects or files
have been changed, do one of these operations:
13.Optional: To define the conditions that objects must meet to be exported, select Use a search filter and
click the Define button.
a) In the Define Filter dialog, define the conditions that objects must meet to be exported and click OK
once you have defined all the necessary conditions.
14.On the Structure tab, enable the Export structure option and either:
a. Check the All Elements option to export all metadata structure elements.
or
b. Check individual metadata structure elements on the list to define individually the elements to be
exported.
15.Click OK to save the scheduled export job and close the Scheduled Job Properties dialog.
The scheduled export job that you have just defined is added to the Scheduled Export and Import list
and will be run according to the defined schedule.
M-Files | 3. System Administration | 313
4. Expand a vault.
The content replication and archiving features are displayed in the right-side pane.
7. In the Description field, type in a name for the scheduled import job.
9. On the Package Location tab, define the location for the content package.
a) Optional: Enable the Import multiple content packages if you want to import multiple packages
from the selected location.
b) Click the ... button to define the location of the content packages to be imported.
c) Optional: Click Set Account... to define the user account to be used for retrieving the content
package from the selected folder.
You need to use a user account that has read permissions to the selected folder.
10.Optional: Still on the Package Location tab, enable the Use replication via cloud storage option to
import from a cloud storage location.
a) In the Connection string field, enter the provided connection string for connecting to the cloud
storage.
If you do not yet have the connection string, click Get or Request. The functionality is
different in different M-Files environments.
Option Description
Get The connection string is automatically filled.
M-Files | 3. System Administration | 315
Option Description
Request An email message to M-Files customer support is opened. Remove
unwanted locations from the line Preferred location and send the email.
b) In the User-specified folder name field, enter a folder location in the cloud storage that will be used
for importing to one vault and exporting from another.
c) In the User-specified password for encryption field, enter a password of your choice that will
be used for encrypting content packages. The same password must be used for exporting and
importing the same packages.
11.Optional: Select Delete content package after importing if you want the content package to be
removed after the operation has been completed.
Use this option only if you import the content package to one vault. Otherwise, the content
package is deleted before it is imported to all the vaults.
12.Optional: In the Configuration ID field, you can enter any string of characters for identifying this
replication job.
M-Files automatically creates a numeric ID for each scheduled replication job. You can enter an
additional ID for the job to the Configuration ID field. The configuration ID can be any string of
characters. If a configuration ID cannot be found when the jobs are processed, M-Files uses the
job ID.
13.On the Objects and Files tab, you can specify how objects and files are imported.
14.On the Structure tab, you can specify how metadata structure is imported.
15.On the Permissions tab, you can specify the permission settings for the imported objects.
16.Click OK to save the scheduled import job and close the Scheduled Job Properties dialog.
The scheduled import job that you have just defined is added to the Scheduled Export and Import list
and will be run according to the defined schedule.
Archiving Old Versions
You can archive old versions of documents that you no longer need. When you archive old versions of
documents, the selected document versions are transferred from the document vault to the archive file.
4. Expand a vault.
You can also right-click an empty area in the Scheduled Export and Import list and select
Archive Old Versions.
7. Select either:
a. All documents: Select this option if you want to archive old versions of all documents.
or
b. Documents marked for archiving: Select this option if you want to archive old versions of the
documents that you have marked for archiving.
Note: You can mark a document for archiving in M-Files Desktop by right-clicking a
document and selecting Archiving > Mark for Archiving from the context menu. For more
information, see Archiving Content.
8. Select the conditions (you can select all that apply) for limiting the number of old versions to be
archived:
You can click Preview to view the number of old versions to be archived with the selected
settings.
Option Description
Checked in before Select this option to archive old versions that have
been checked in before the given date.
At least <number> versions older than the Select this option to archive old versions that are
current version a given number of versions older than the current
version.
At least <number> days older than the current Select this option to archive versions that are
version a given number of days older than the current
version.
No version tag Select this option to exclude versions that have a
version label from the archive.
9. In the Content package location section, click the ... button to select the location to save the archive.
10.Optional: Click Set Account... to run the task with another account than the Local System account. If
the file location is on a network drive that the Local System account cannot get access to, you must set
another account. On the Set Account dialog:
a) Select This account.
b) In This account, enter the name of the user account.
c) In Password and Confirm password, enter the password of the user account.
d) Click OK to close the Set Account dialog.
11.Click OK to save your changes and to close the Archive Old Versions dialog.
The selected old versions of documents are archived to the location you have specified.
You can restore the archived content to the vault with Content Replication and Archiving.
Note: If you have archived documents in earlier versions of M-Files than 9.0, please note that you
cannot restore archive files in the .MFA file format to a vault using version 9.0 or later. If you want
to restore an archive file in the .MFA file format, you must use a vault that has version 8.0 or older
installed. After this, you can upgrade the vault and perform archiving that is compatible with version
9.0 and newer.
M-Files | 3. System Administration | 318
The vault event log records vault events. For example, object creations and user logins. When the event
log is enabled, you can monitor the vault events and use filter criteria or sort order to show only events that
you are interested in. For more information, see Configuring the Vault Event Log and Using the Vault Event
Log.
Note: The event log must be enabled for notifications to be sent. For information about
notifications, see Editing Notification Settings in M-Files Admin.
Some event types are only recorded if you have purchased and activated the Electronic Signatures and
Advanced Logging module. For a list of these event types, see Event Types. This module also lets you use
User Action Log, Advanced Event Log features, and electronic signatures.
To activate the Electronic Signatures and Advanced Logging module, see Activation.
In this chapter
• Event Types
• Configuring the Vault Event Log
• Using the Vault Event Log
• User Action Log
Event Types
The table on this page contains the standard event types and shows which event types are only part of the
Electronic Signatures and Advanced Logging module. See the event types that User Action Log adds to
the event log in Event types with User Action Log.
You can use the arrowheads in the table headers to sort the information and the search field to filter the
table content.
See the information in the table. For more information, select a setting and see the Info tab.
Note: You cannot disable the event log with this setting if
Advanced Event Log features are enabled.
Event Types to Settings in this section specify which event types are included in the vault
Include event log. The event types that are set to No, are not recorded and thus not
included in event log exports.
Maximum M-Files Server removes the oldest events when the number of events is
Number of close to the value specified here unless the Electronic Signatures and
Events Advanced Logging module and Advanced Event Log features are in use.
User Action Log This section contains settings related to User Action Log. To use this
feature, the Electronic Signatures and Advanced Logging module must be
active on the M-Files server.
4. Click Save.
M-Files | 3. System Administration | 323
Your changes are saved. If you enabled User Action Log, M-Files starts to record the events for the vault
users that have logged out and logged back in. To log out all vault users, restart the vault. However,
taking a vault offline must always be done in a controlled manner and the vault users must be notified
beforehand.
Using the Vault Event Log
This section tells you what functions are available in the vault event log and how to use them. To open the
event log, in M-Files Admin, go to a vault, and select Event Log.
Click on different parts of the screenshot below for a description of the areas in the user interface.
1. Task area
2. Top pane
3. List of events
4. Vault event log
Task area
At the top of the task area, you can see the status of the vault event log.
Click... To...
Open Settings Go to the Event Log settings in the Advanced Vault Settings section in M-
Files Admin.
Do this to check which event types are included in the event log.
Filtered View Specify filter criteria or select a filtered view to show only specific events. You
can filter the events, for example, by object type, event type, user, or time
range.
You can save frequently used filter criteria to My Filtered Views. This is useful
if you often use the same criteria when you examine the vault event log. To do
this, enter filter criteria and click Save as. Enter a name for the filtered view,
select whether you want to use it as the default view, and click Save.
To use a filtered view, click My Filtered Views, select a filtered view from the
list, and click Apply > Close. In the Filtered View dialog, click OK.
In My Filtered Views, select a view and click Use as Default View to set a
filtered view to be applied by default when you open the vault event log.
Show Column Filters Show or disable column filters. With the column filters, you can enter filter text
for a column to show only specific events.
Disable Column Filters
Export Export and archive all or selected events in the XML format. For more
information on archiving, see Archiving M-Files Event Logs.
After the export, you can select to delete the exported events from the event
log.
Delete Event IDs X– Delete the events on the opened page. If you have filtered the events, also
XXXX events that are not shown are deleted.
In the confirmation dialog, you can select to export the events before they are
deleted.
In the confirmation dialog, you can select to export the events before they are
deleted.
Top pane
Here you can see which event IDs are shown and change the page and the number of events shown on
one page.
List of events
To see more information about an event, double-click it to open the Event Details dialog.
M-Files | 3. System Administration | 325
Note: Some event details are available only if have the Electronic Signatures and Advanced
Logging module is active on the M-Files server.
The User Action Log feature gives more visibility to the actions that M-Files Desktop users do in a vault. It
lets the additional event types listed in the table below to be included in the vault event log. To enable the
feature, see Configuring the Vault Event Log.
Important remarks
• To use this feature, the Electronic Signatures and Advanced Logging module must be active on the M-
Files server.
• Actions done in M-Files Web, M-Files Mobile, or M-Files API based custom clients are not recorded.
• Actions done in offline mode are not recorded.
• Using this feature considerably increases the size of the vault log.
Column inserted An event of this type is recorded when a column is added to a listing in
M-Files Desktop.
Column removed An event of this type is recorded when a column is removed from a
listing in M-Files Desktop.
Data exported An event of this type is recorded when data is exported from the vault.
• The name and ID of the user who did the export operation
• The timestamp of the event
• The export settings and the number of exported objects
• The name and ID of the exported objects
File opened An event of this type is recorded when a file is opened in M-Files
Desktop.
File opened for document An event of this type is recorded when a user compares document
comparison content in M-Files Desktop.
Metadata card opened An event of this type is recorded when the metadata card is shown in the
right pane or in a new window for an object.
• The name and ID of the user who opened the metadata card
• The timestamp of the event
• The property IDs, name, and ID of the object
The property IDs are shown only if you have enabled this behavior with
the feature settings.
M-Files | 3. System Administration | 327
Object dragged from M-Files An event of this type is recorded when an object is dragged and dropped
from M-Files Desktop.
Object history opened An event of this type is recorded when the History dialog is opened in
M-Files Desktop.
Object listing invoked An event of this type is recorded when a search is performed in M-Files
Desktop.
Object listing requested from An event of this type is recorded when a search is performed in M-Files
server Desktop.
For M-Files to start recording events of this type, you must restart the
vault after enabling the feature.
M-Files | 3. System Administration | 328
Object or objects marked to be An event of this type is recorded when M-Files Desktop is used to mark
available offline an object to be available in the offline mode.
• The name and ID of the user who marked the object to be available
offline
• The timestamp of the event
• The name and ID of the object
Preview tab opened An event of this type is recorded when the preview tab is displayed for a
document or a non-document object containing one or more files.
• The name and ID of the user who opened the preview pane
• The timestamp of the event
• The name and ID of the document (or, alternatively, the name of the
file and the name and ID of the object containing the file)
Relationships dialog opened An event of this type is recorded when the Relationship dialog is
opened in M-Files Desktop.
Search initiated An event of this type is recorded when a search is performed in M-Files
Desktop.
• The name and ID of the user who marked the view or grouping level
to be available offline
• The timestamp of the event
• The name and ID of the object
View or folder opened An event of this type is recorded when a view or grouping level is
opened in M-Files Desktop.
• The name and ID of the user who opened the view or grouping level
• The timestamp of the event
• The name and ID of the object
• The columns shown in the listing area
Scheduled Optimization
In the Scheduled Optimization section, you can control and monitor the scheduled automatic
optimization. This can be helpful, for example, to see the the status of the optimization job or the last time
that the job was run in the vault.
The Optimize Database (Thorough) operation tries to improve the performance of the vault database.
The operation defragments indexes, updates database statistics, and compresses the full-text search
index. For more information, see Optimizing the database.
Note: The section is available in offline mode only when optimization is in progress.
Select the Optimize Database (Thorough) job to show these options in the task area: Start Job, Stop
Job, and Properties.
1. In the Scheduled Optimization section, double-click the Optimize Database (Thorough) job.
4. Optional: In the Automatic cancelation section, specify a timeout for the scheduled job to improve
system performance.
5. Click OK.
M-Files Server performs various tasks for your document vault in the background. You may monitor the
progress of these operations in M-Files Admin.
Background tasks are complex and time-consuming processes that are processed in the background so
that they can be executed in parallel with other M-Files Server tasks without interfering or stalling other
ongoing processes.
Complete the following steps to monitor background tasks in your document vault:
4. Expand a vault.
You can browse the background tasks page by page by using the arrow icons.
If the list contains a large number of items, you might want to filter it. To filter the view, open the View
menu and click Filter. Enter a desired text to filter the column contents.
The background tasks that are currently in progress are listed in the Background Tasks view. You can
click Refresh in the task area to refresh the view.
You can use M-Files Admin to manage vault indexing. This can be helpful, for example, when you want to
do one of these:
• Start the reindexing process and monitor the status of the index rebuild.
• Make sure that indexing for the vault has completed.
• See when the last object of the indexing round was processed.
The Index Management section in M-Files Admin divides indices into three categories: Active Index,
Used for Indexing, and Disabled.
When an index rebuild process is ongoing, a blue notification icon ( ) is shown next to the name of the
More technical information about the feature is available in Index Management in M-Files Admin.
2. In the top-right corner of the user interface, select one of the commands available for the index.
The table given here contains a description for all available commands. The availability of the
operations depends on the state of the index, the search engine that the vault uses, and your
user rights.
This operation deletes the selected index and then builds it from
scratch. The operation is available for all search engines. If you
use dtSearch, we recommend that you also refer to Rebuilding the
dtSearch Full-Text Search Index.
M-Files | 3. System Administration | 334
This operation is available for Micro Focus IDOL and Smart Search
only.
Smart Search:
Remove This operation removes only the configuration. Index data must be System
Configuration
deleted separately. admin
You can use M-Files Admin to measure the performance of a specific vault to detect problems or
bottlenecks in the performance of the vault. The performance tests measure the network round-trip time to
the database server of the vault as well as the time it takes to insert 100,000 rows into the vault database.
4. Expand a vault.
M-Files | 3. System Administration | 335
5. Click Performance.
You can stop the test at any time by clicking Stop Testing in the task area.
The network round-trip time to the database server as well as the database insert speed are
measured.
The results of the tests are displayed in the Duration column. If there are no remarks displayed in the
Remarks column, your vault should be performing optimally.
If one or more of the tests took longer than their expected duration, a remark is displayed in the Remarks
column. If the network round-trip time to the database server took longer than expected, it may be
indicative of a slow network connection or heavy traffic on the network. If the database insert speed test
took longer than expected, your server hardware may be insufficient or there may be heavy load on the
server.
Note: The vault performance tests have predefined threshold times. The default threshold time
for the network round-trip test is 1,500 microseconds, and for the database insert speed test, it is
6,000 milliseconds. For instructions on modifying the default threshold values, see Settings for Vault
Performance Measurement.
M-Files enables a multi-level interaction between several document vaults. The interaction enables you, for
instance, to:
• Create relationships between objects in different vaults so that objects in other vaults can be found as
the company's operations require.
With interaction, you can share documents and other objects efficiently between separate vaults. You
can, for example, specify certain documents for sharing from the company's vault with a publishing vault.
This enables you to easily provide your customers and other cooperation partners with up-to-date price
lists, product descriptions, brochures, and other material from this publishing vault at all times without any
manual copying or outdated information.
Note: If M-Files is installed on several servers, each server must have a unique server license
installed. For example, if you want to replicate information between vaults on separate servers,
unique server licenses must be installed for all the servers.
In order for you to associate and synchronize metadata between vaults, the metadata definitions must also
be associatable between vaults. For more information, refer to Associating the Metadata Definitions.
In addition to associations for the metadata, the objects and values need to be updated or synchronized
regularly so that the data content is up to date across vaults. Synchronization of data between vaults is
performed with replication of contents, with data then exported from the source vault and imported to
another vault.
The synchronization of this content can be performed with scheduled export and import operations. The
content can be synchronized, for example, every 15 minutes. With this approach, the data in the target
vault will always be up to date. For more information, refer to Content Replication and Archiving.
Two-way synchronization is possible between vaults, but synchronization can also be performed among
many individual vaults. When defining the export, you can use a filter if you want to export and publish only
certain documents or another objects for the target vault.
In this chapter
To associate and synchronize objects and their metadata between different vaults, the metadata definitions
must also be associatable between different vaults.
Associations between metadata definitions can be made in several ways depending on how the vaults
are used. Certain metadata definitions are always associated automatically. Some of them are associated
automatically according to the vault structure, but for some of them, it must be done manually using
aliases.
Associations between metadata can be created in several ways, depending on the purpose of use of the
vaults. The target vault can be used in archiving, replication, backups, and publication. For this reason, you
M-Files | 3. System Administration | 337
should consider – before creating a vault that might be used as a target vault – which implementation is the
easiest and best for creation of the desired vault.
If the association and synchronization is performed between two or more existing vaults, check the
association of the metadata definitions and define the scheduled export and import between vaults.
If you want the vaults to be perfect – full and complete – copies of each other in terms of both metadata
and contents, you should first create a target vault through backup or copy of the relevant vault and then
define the export and import. This way, especially the metadata definitions are automatically matched with
the names and IDs and any separate definition of aliases need not be performed one metadata definition at
a time.
Note: Metadata definitions created after creation of the vault must be manually associated
between vaults by using aliases.
Partially the same metadata structure and partially the same contents (for example vaults intended
for different purposes in the company)
If you want the metadata largely matching each other between vaults, you should consider first creating the
metadata structure of the target vault through metadata structure export (see Export Structure) and then
define the export and import. After this, you should verify in the target vault that the metadata structure
corresponds to the use of the target vault.
Note: Metadata created after creation of the vault must be manually associated between vaults by
using aliases.
Different metadata structure but partially the same content (for example, publication of certain
objects from one vault to another)
If you want to publish only certain objects and metadata in the so-called publishing vault, you should create
the metadata structure of the publishing vault separately from that of the source vault.
In this case, aliases must be defined for all other metadata structures than built-in ones, so that metadata
can be associated when the synchronization is performed.
Associating Metadata
By default, M-Files associates metadata by the following methods (in order of relevance):
1. The built-in metadata definitions are always automatically associated, regardless of the manner
of creation of the vault metadata structures or methods of performing the association. These metadata
definitions might be Name or title, Created by, Last modified by, Keywords, and so on. In publishing
operations, you may want to hide some of these. For example, you may not want to show the document
creator in the publishing vault. You can edit the built-in metadata to suit the publishing operation with
the registry settings and permissions.
2. All the items have a GUID (globally unique identifier). If there is a GUID match across vaults, the
metadata definitions are always mapped automatically.
3. If the aliases match between the vaults, the association of the metadata definitions is always
performed. The alias must be manually defined in each vault for the metadata definition in question. For
more information, refer to Aliases for Associating Metadata Between Vaults.
4. If both metadata definition's ID and the name match, the association of the metadata is performed
automatically. This default setting can be changed from the registry settings. Note that when the
association is performed with name, the names in line with the default languages for vaults are used.
M-Files | 3. System Administration | 338
Also note that if the metadata structures have been separately created in different vaults, the IDs are
not the same and the association must be done with aliases.
5. You can also use the name of imported metadata definition as its alias if there are no other aliases
available. In this case, you need to define the alias only in the target vault using the name of the
metadata definition from the source vault. For more information, refer Use the name of an imported
element as its alias if no other alias is available under Importing Content.
6. If, in addition to those mentioned above, you want to have associations using the name only, you
can include this definition in the registry settings. Then the name of the metadata definition, such as
Telephone number, must be the same across vaults. When default settings are used, the name alone is
not sufficient for association of the metadata. Note that when the association is performed by means of
name, the names in line with the default languages for the vaults are used.
Because only the built-in metadata definitions and those matching the GUID or ID and name are
associated automatically, for other metadata definitions the association must be performed by using
aliases.
Aliases can be used for identifying semantically equivalent metadata. For example, when importing objects
from another vault, their Date and Description properties can be mapped to the target vault's equivalent
properties on the basis of aliases even if the properties' internal IDs and/or names are different. That is,
the aliases refer to semantically equivalent metadata in different vaults. In other words, alias is a common
identifier for the same metadata definition between several vaults.
The alias is defined as a common ID with the same name in both source and target vault.
When defining the alias, you can use various external data type and archive standards, such as SÄHKE2,
MoReq2, and Dublin Core.
Check that there are sufficient definitions for all desired metadata definitions so that the association can
be performed. Check the following: object types, value lists, property definitions, classes and class groups,
workflows and workflow states, user groups, and named access control lists. In the properties of these
metadata definitions, you can find the Advanced tab, where you can define the alias(es) for the metadata
definitions.
For example, the source vault has the property definition Telephone number, whose vault-specific ID
is 1001. The semantically equivalent property definition is also in the target vault, but the vault-specific ID
is 1005 – the name can be the same (Telephone number) or different (for example Phone and Phone
number) in the default language. If you want to associate these, you must define a common alias for this
property definition in both vaults. The alias can be anything you want, such as Telephone number or
dc.PhoneNumber, with the exception that it cannot contain both dots and spaces.
The alias is not shown to the users in M-Files Desktop; that is, the users see the name of the vault-specific
property definition, just as before.
Note: If there are several metadata definitions with the same alias in the target vault, the
association is bypassed for these and the data will not be imported to the target vault.
4. Expand a vault.
5. Expand Metadata Structure (Flat View) and select the type of metadata definition, for example
Property Definitions, for which you want to assign an alias or aliases.
6. From the list, right-click the instance for which you want to assign an alias and select Properties from
the context menu.
8. In the Aliases field, type in the name of the alias for the selected metadata definition.
Use the same aliases for semantically equivalent metadata in both the source and the target
vault.
The alias is displayed in the Aliases column of the metadata definition listing.
Login Accounts
Depending on the purpose of use of the target vault, the users of the target vault may be the same as, or
entirely different from, those of the source vault. If you want to grant certain users permissions for both
vaults, synchronize the metadata for the Users value list, or do both, you should create user accounts with
the same name for these users for both vaults. User accounts are not automatically synchronized between
vaults.
The interaction between several vaults enables creation of relationships between objects across vaults.
The objects are not exported from one vault to another; instead, the relationship is created by reference
to an object in another vault; that is, a link is created to the original object. The object types of the objects
must be associatable, but synchronization of the objects (replication of content) is not required, because
the objects are not transferred from one vault to another. For more information, see Relationships Between
Objects in Separate Vaults.
This section provides further information on synchronization of objects and their values. We recommend
you to read this section before you specify synchronization jobs. Synchronization is done with Content
Replication and Archiving.
Synchronizing Objects
When the metadata structures of vaults have been defined according to your needs and the required
metadata definitions can be associated with them, the actual synchronization of objects and values can be
performed between vaults. Synchronization of data between vaults is performed with replication of content.
For more information, refer to Content Replication and Archiving and Replication and Archiving User's
Guide.
M-Files | 3. System Administration | 340
Note: Only the values for which there is a built-in object type are synchronized automatically. For
other object types, either the alias or the combination of ID and name must match, so that objects
of this object type are imported to the target vault during import. You should check that these
definitions are in proper order. For more information, see Associating the Metadata Definitions.
If users edit an object at the same time in multiple vaults, a conflict can occur during synchronization of
data between vaults. For example, from source vault A to target vault B. When M-Files detects a conflict, it
creates a conflict object.
If automatic conflict resolution is enabled, M-Files resolves conflicts automatically. For instructions on
configuring automatic conflict resolution, refer to Configuring Automatic Resolution of Replication Conflicts
in M-Files knowledge base. To restore a discarded object version, see Showing and Restoring Discarded
Object Versions.
Unresolved conflicts are shown in object relationships. In the listing area, expand an object with the arrow
button. If the object has unresolved conflicts, they are shown under the Conflicts node.
To see all conflict objects of the vault, go to the Conflicts view. By default, the view is hidden. For
information on unhiding views, see Using the Clean View, Hide View, and Unhide Views commands.
In manual conflict resolution, you decide which object version you want to keep. To resolve a conflict, you
must have editing rights to the object and the conflict object in the same vault. Right-click the conflict object
and click Resolve Conflict: Keep These Changes to replace the local changes with the contents of the
conflict object or Resolve Conflict: Discard These Changes to keep the local version.
If two-way synchronization (replication of contents) is used, you must resolve the conflict in both vaults.
If you want to publish only certain objects from a vault by using another vault, you can do this by using a
search filter when defining the content export. You should also check that the object types of the published
objects can be associated either automatically or based on aliases.
When the metadata structures of vaults have been defined according to your needs and the required
metadata definitions can be associated, the actual synchronization of objects and their values can be
performed between vaults. Data synchronization between different vaults is performed with replication of
contents.
However, you should note that if the value does not exist in the target vault or you cannot create it as
a normal value-list value during import (for example, in the case of built-in values, such as classes,
workflows, and users), the value name is displayed in metadata in the form "Value name XYZ (deleted)". In
other words, if the value does not exist in the metadata structure of the target vault after import, it is shown
as a "Value name XYZ (deleted)" value.
Note: The default permissions for the imported values are the target vault's default permissions for
new values set from value lists. This means that the name of the value can be shown regardless of
its permissions in the source vault. For example, the name of the document creator can be shown
in the metadata of the published document as "Created by: User XYZ (deleted)". If necessary,
M-Files | 3. System Administration | 341
check the permissions and association of the metadata definitions if you do not want to display this
information in the other vault.
Related objects
The object metadata contains information on other, related objects. For example, a document might be
related to a project or a customer.
When objects are exported to another vault, you may not want to export their related objects to the target
vault. For example, you export documents to the target vault but not projects or customers (for instance,
in publishing operations, you publish price lists and brochures but not customer information). Then the
related object is shown as a shortcut in the object's metadata (or, less frequently, with the "Value name
XYZ (deleted)" value). The object refers to the source vault and has not been imported as a genuine object
to the target vault. For further information, refer to Relationships between objects in separate vaults under
Object Relationships.
Note: The default permissions for the related object are the target vault's default permissions
for new objects set in the import by object type. This means that the name of the related object
is shown in the metadata of the imported/published object regardless of its permissions in the
source vault. For example, the name of the customer or project may be shown in metadata of
the published document as a shortcut or as a "Value name XYZ (deleted)" value. If necessary,
check the permissions and association of the metadata definitions if you do not want to display this
information in the other vault.
In this chapter
M-Files Admin enables you to modify the metadata elements of the vault, such as object types, value lists,
property definitions and classes. Classes can also further be categorized into class groups. The document
M-Files | 3. System Administration | 342
and object metadata is utilized almost everywhere in M-Files, such as in views and search functions, and
therefore the metadata structure of the vault should be carefully planned.
Figure 39: The vault metadata structure consists of object types, class groups, classes, property definitions, and value lists. The
example above illustrates the hierarchy of a metadata structure that contains the Customer and Document object types and various
classes for the two object types.
You can browse and edit the vault metadata structure either as a hierarchical view or as a flat view.
Complete the following steps to browse and edit your vault metadata structure:
4. Expand a vault.
In the Metadata Structure (Hierarchical View) and Metadata Structure (Flat View) sections, you can
create new metadata elements, such as object types, to the vault metadata structure or modify existing
ones. See the subtopics in this section for further information on different types of metadata elements and
how you can specify them.
In this chapter
• Object Types
• Value Lists
• Property Definitions
• Classes
• Class Groups
Object Types
M-Files uses object types to specify the stored objects. The built-in object types are document, document
collection, and share. You can also specify more object types, for example, customer, contact, or project.
Note: Currently, you can use the share object type only with the M-Files for Microsoft Teams
integration. For more information on the share object type, refer to section 1.5 in Setting Up and
Using M-Files for Microsoft Teams.
Besides versioning, M-Files enables sorting in dynamic views, protection against concurrent editing, easy-
to-use permissions functionality, and extremely versatile search capabilities for all objects.
The metadata card is provided both for documents as well as for other object types. Other object types
differ from documents in that they need not contain any files whereas documents are always based on at
least one file (such as a Word document).
In this chapter
4. Expand a vault.
8. In the Name (singular) field, write a name for the object type in the singular form.
9. In the Name (plural) field, write the same name in the plural form.
M-Files | 3. System Administration | 345
10.Optional: To change the icon of the object type, click Change Icon.
a) Select an icon from the list or click Browse to browse for a different icon file.
b) Click OK.
11.Optional: If you want that users can create objects of this type in M-Files, select the Users can create
objects of this type check box.
a) If you want the object type to appear under the Create menu in the top area and the task area,
select Show the creation command in the task area.
12.Optional: If you want that users can add files into objects of this type, select Objects of this type can
have files.
13.Optional: In the The types of objects that users can browse for objects of this type list, select the
object types that users can browse when they double-click an object of this type or right-click an object
and select Browse Relationships in M-Files.
This setting does not affect the related objects displayed in the listing view (search results or a
view) below the main object.
14.In the Default permissions for new objects drop-down menu, select the default permissions for new
objects of this type.
15.Optional: Select the Allow this object type to be used as a grouping level in views check box so
that users can use this object type to define a grouping level within a view.
16.Optional: To define an object type hierarchy, automatic permissions, a separate metadata search index,
or aliases for the object type, click the Advanced tab.
17.Optional: To refine the permissions for the new object type, click the Permissions tab.
18.Optional: To use an external database as the source of the objects for the new object type, define the
external database connection on the Connection to External Database tab.
For more instructions, see Connections to External Databases for Object Types.
19.Click OK.
You can see the object type that you have just created in the Object Types list. You can now create
objects of this type in M-Files.
Advanced Object Type Properties
On the Advanced tab of the Object Type Properties dialog, for the selected object type, you can:
• define aliases
Object types can have hierarchical relationships. For example, the relationship between a customer
company and its contact person can be defined so that the Contact Person object type is a subtype of the
Customer object type. Viewing the value list for the Customer object type also displays the contact persons
filtered by customer.
1. In M-Files Admin, go to the Advanced tab of the Object Type Properties dialog for the object type that
you want to modify.
a) Open M-Files Admin.
b) In the left-side tree view, expand an M-Files server connection.
c) Expand Document Vaults.
d) Expand a vault.
e) Expand Metadata Structure (Flat View) and then select Object Types.
Define this object type as a subtype of another Select the This object type is a subtype of the
object type following object type check box and select the
object type from the drop-down menu.
3. Click OK.
An object type hierarchy is created between the selected object types. In M-Files, when you create a new
object that you have defined as a subtype of another object type, you will need to select an owner object
for it. Thus a relationship is created between the owner and the subobject when the new object is created.
M-Files | 3. System Administration | 347
An object receives automatic permissions when a value with automatic permissions is added to the object
metadata. You can define automatic permissions for an object type so that when an object of the selected
type is referred to in the metadata of another object, the object inherits the permissions of the object that it
references.
Note: The automatic permission settings that are specific to a value list item always have priority
over the settings made at value list and object type level. For more information on automatic
permissions for value list items, see Automatic Permissions for Value List Items.
Note: Micro Focus IDOL and Smart Search: If more than four automatic ACL sources control the
permissions of an object, only administrators can see it in search results.
1. In M-Files Admin, go to the Advanced tab of the Object Type Properties dialog for the object type that
you want to modify.
a) Open M-Files Admin.
b) In the left-side tree view, expand an M-Files server connection.
c) Expand Document Vaults.
d) Expand a vault.
e) Expand Metadata Structure (Flat View) and then select Object Types.
2. Click the Define button next to Default automatic permissions from this object type.
3. Select the Restrict the permissions of objects that refer to this value check box to enable automatic
permissions for the selected object type.
Use the object permissions defined on the Select the Use the object's own permissions
metadata card as automatic permissions check box.
Use a predefined named access control list as Select the Use named access control list check
automatic permissions box and then select a predefined named access
control list from the drop-down menu.
Use custom permission settings as automatic Click the Add button, then select the users or
permissions user groups to be added to the custom permission
settings, and click Add.
M-Files | 3. System Administration | 349
5. Optional: Select the Allow users to deactivate these restrictions check box if you want vault users to
be able to disable the automatic permissions granted by these settings.
The selected object type now has automatic permissions. Now when an object of this object type is
referred to in the metadata of another object, the referring object inherits the permissions of the object that
has automatic permissions set.
Using a Separate Metadata Search Index for an Object Type
You might want to enable the Use a separate metadata search index for this object type option for
essential object types that are frequently used and that are found in large number in the vault.
Since these essential object types vary from organization to organization, the option is disabled by default.
In document management, for example, the Document object type is naturally the most important object
type. In CRM vaults, however, the most important object types are usually something different, such as
Customer, Project, and Contact person.
If you select this option, M-Files uses a separate search structure for the objects of the selected object
type. This improves search speed for both the objects of the selected object type and for other objects –
especially if the vault contains a high number of objects representing this key object type.
Note: Enabling this option might take a long time to complete, from a couple of minutes up to a few
hours. The vault is also taken offline for the duration of this operation and the users cannot access
the vault.
1. In M-Files Admin, go to the Advanced tab of the Object Type Properties dialog for the object type that
you want to modify.
a) Open M-Files Admin.
b) In the left-side tree view, expand an M-Files server connection.
c) Expand Document Vaults.
d) Expand a vault.
e) Expand Metadata Structure (Flat View) and then select Object Types.
2. Select the Use a separate metadata search index for this object type check box.
3. Click OK.
M-Files now uses a separate search index for the objects of the selected object type.
Defining Aliases for an Object Type
Aliases can be used for identifying semantically equivalent metadata. For example, when importing objects
from another vault, their Date and Description properties can be mapped to the target vault's equivalent
properties on the basis of aliases even if the properties' internal IDs, names, or both are different. That
is, the aliases refer to semantically equivalent metadata in different vaults, or in other words, alias is a
common ID for the same metadata definition between several vaults.
The alias is defined as a common ID with the same name in both source and target vault.
When you define the alias, you can use various external data type and archive standards, such as
SÄHKE2, MoReq2, and Dublin Core.
1. In M-Files Admin, go to the Advanced tab of the Object Type Properties dialog for the object type that
you want to modify.
a) Open M-Files Admin.
b) In the left-side tree view, expand an M-Files server connection.
c) Expand Document Vaults.
d) Expand a vault.
e) Expand Metadata Structure (Flat View) and then select Object Types.
2. In the Aliases field, enter the aliases for the selected object type.
ObjectType.Customers; OT.Customers
When automatic aliases are in use and you write a name on the General tab, the Aliases
field on the Advanced tab is automatically filled in. The alias has the format <predefined
prefix>.<name>. Configure automatic aliases for your vault in Advanced Vault Settings.
3. Click OK.
Access for viewing this object type and creating objects of this type can be defined on the Permissions
tab.
If the user does not have the permission to view the name of the object type, it is not available for selection
in M-Files Desktop (for example when you are creating a new object or search). Even if the object type
name is hidden, the user can see the objects themselves in views or search results, for example.
If you cannot see the object type name, you do not have the permission to create objects of this type
either. However, the user may have the permission to see the name without having permission to create
new objects.
Editing Permissions
4. Expand a vault.
• Users
• User groups
• Metadata Structure (Flat View) > Object types
• Metadata Structure (Flat View) > Value lists
• Metadata Structure (Flat View) > Property definitions
• Metadata Structure (Flat View) > Classes
• Metadata Structure (Flat View) > Class groups
• Workflows
• Named access control lists
8. Open Permissions.
M-Files | 3. System Administration | 352
9. In Users and user groups, select the user or user group whose permissions to change.
Allow: Enable this to explicitly give the permission to the selected user or user group.
Deny: Enable this to explicitly deny the permission from the user or user group.
The Deny setting is normally used to specify an exception to an Allow setting. For example,
when John Doe is part the group HR Managers, you can set Allow for the group and Deny for
John Doe.
12.Click OK.
You can set M-Files to update object types to and from an external database. Objects that use an external
database connection can also contain properties that are not synchronized with the external database.
This section tells you how to set object types to use an application connection to an external database. To
use the legacy database connection, see the section "Using the Legacy Database Connection for Object
Types".
Prerequisites
Take note of this important information before you start the setup:
• Before you set up an application connection to an external database, you must have an external object
type connector installed and enabled.
• The connector must support the application connection. You can use M-Files OLE DB External
Object Type Connector, which is normally installed to the vault but is disabled.
5. 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.
The services that have the (OK) suffix, have a configuration for the object type.
8. Click Configure.
10.In Provider, select the provider for the external database connection.
Note: The list of providers shows all the available providers on the server machine that
runs the external object type connector. Thus, it can include providers that cannot be
used in external database connections.
The syntax of the connection string is different for each Object Linking and Embedding Database
(OLE DB) supplier used for establishing the connection to the external database. If Open
Database Connectivity (ODBC) is necessary to create the connection, the data store must
be accessed over OLE DB and ODBC. For a list of recommended providers, see Provider
Recommendations for External Database Connections.
M-Files | 3. System Administration | 354
11.Optional: If you selected Custom provider (manual configuration), in Custom provider, specify the
provider.
In Advanced Options, enter the connection Use this option if it is not possible to use the other
string. settings with the selected provider. When you
enter the connection string, make sure that all
values are correctly enclosed and the connection
string has the necessary formatting.
Note: The application connection does not support the Connections to External
Databases settings in the Advanced Vault Settings section in M-Files Admin. To use
these settings, define them here.
14.Under Service-Specific Settings, in SELECT Statement, write the SELECT statement for getting
source columns from the external database.
15.Click Save.
b) Enter the password that is defined in the Ground Link proxy configuration.
c) Click OK.
17.To authenticate the common user, open the Dashboard tab and click Authenticate.
Note: The ODBC driver does not support all special characters. If your connection uses
ODBC, the values that contain special characters must be enclosed in curly brackets.
The correct format is {username or password}.
The dialog closes and the configuration refreshes. On the Configuration tab, the Column
Mappings section shows the source columns that your SELECT statement returned from the
external database.
21.On the Configuration tab, go to Column Mappings and expand a source column node.
22.In Mapping Type, specify how the source column is mapped to M-Files. Complete one of these steps:
or
b. To map the source column to an M-Files property, select Property. In Target Property, select the
M-Files property.
Note: When you want to map multiple values to a property of the Choose from list
(multi-select) data type, the values must be recorded on their own rows in the external
database. For example, if you want to map multiple values to the Industry property, the
values must be recorded like this:
In this case, however, data can only be read from, not recorded to the external database.
23.Optional: If the Mapping Type is Property, specify the settings Use in Update Operation and Use in
Insert Operation and define the related statements.
If you want to... Complete the following steps:
Allow read-only access Set the Use in Update Operation and Use in Insert Operation
settings to No. Do not specify the statements in this table.
Allow users to update but not
create or delete information a. Set the Use in Update Operation to Yes.
M-Files | 3. System Administration | 356
24.Repeat the steps from 21 to 23 for all the necessary source columns.
Tip: You can enable and disable the external database connection also with the
Disabled check box on the Connection to External Database tab of the Object Type
Properties dialog.
If the connection is disabled, information between the vault and the external database is
not synchronized.
b) Enter the password that is defined in the Ground Link proxy configuration.
c) Click OK.
The object type is now updated to and from the external database.
In this chapter
• In SELECT FROM statements, the columns are selected in order of appearance. There is no relation
between column and property names, which is why the order must be the same in the SELECT FROM
and INSERT INTO statements. Also, columns not used in the INSERT INTO statement must always
be listed last in the SELECT FROM statement.
• In the SELECT statement used to get the ID of the records, WHERE must refer to the first column of the
SELECT FROM statement.
2. In M-Files Admin, in the Connection to External Database tab of the Object Type Properties dialog,
select Legacy database connection.
3. Click Configure.
4. Click the Define button next to the OLE DB connection string (from server) field.
The syntax of the connection string is different for each Object Linking and Embedding Database
(OLE DB) supplier used for establishing the connection to the external database. If Open
Database Connectivity (ODBC) is necessary to create the connection, the data store must
M-Files | 3. System Administration | 358
be accessed over OLE DB and ODBC. For a list of recommended providers, see Provider
Recommendations for External Database Connections.
Note: M-Files Admin only displays OLE DB providers that are available on the computer
running M-Files Admin. If your M-Files Server resides on a different host, make sure that
the selected OLE DB connection string works from the computer running M-Files Server
as well.
5. On the Provider tab, select Microsoft OLE DB Driver for SQL Server from the list and click Next >>.
Other providers can have different options on the Connection and Advanced tabs. The All tab
contains all the available connection properties as a name–value table.
6. To the Select or enter a server name field, write the name of your Microsoft SQL Server.
a. Windows Authentication: Select this option to use a Microsoft Windows account for logging in. In
this case, the connection uses the credentials that are used for running the M-Files Server service.
or
b. SQL Server Authentication: Select this option to use a Microsoft SQL Server login. Enter the
credentials in the User name and Password fields, and select the Allow saving password check
box.
Note: The ODBC driver does not support all special characters. If your connection uses
ODBC, the values that contain special characters must be enclosed in curly brackets.
The correct format is {username or password}.
8. For the Select the database section, complete one of these steps:
a. Use the drop-down menu to select the database on the specified server.
or
b. Enter a database name to the Attach a database file as a database name field and click the ...
button to select a Microsoft SQL Server Database (MDF) file.
9. Optional: Click Test Connection to make sure that your database connection operates correctly.
10.Optional: On the Advanced tab, define a timeout period for the database connection.
The connection string is added to the OLE DB connection string (from server) field.
M-Files | 3. System Administration | 359
12.In the Configure Connection to External Database dialog, to the SELECT statement field, enter the
SELECT statement for getting source columns from the external database.
The Columns listing shows correspondences between columns retrieved from the external
database (Source Column) and M-Files properties (Target Property).
14.Map the Source Column properties with properties in your M-Files vault (listed in the Target Property
column).
Note: When you want to map multiple values to a property of the Choose from list
(multi-select) data type, the values must be recorded on their own rows in the external
database. For example, if you want to map multiple values to the Industry property, the
values must be recorded like this:
In this case, however, data can only be read from, not recorded to the external database.
15.Select the check boxes in the Update and Insert columns and define the four statements below the
Columns listing.
If you want to... Complete the following steps:
Allow read-only access Do not select the check boxes and leave the statements empty.
Allow users to update but not
create or delete information a. Select the check boxes in the Update column for the necessary
properties.
b. Click the Default button next to the UPDATE statement field.
You can also enter your statements to the fields.
The table below explains the use of the four statements mentioned above.
17.Optional: Select the Disabled check box to temporarily disable the external database connection.
If the connection is disabled, information between the vault and the external database is not
synchronized.
The object type is now updated to and from the external database.
Refreshing External Object Types
There are two types of refresh operations for external object types:
• full refresh
• quick refresh
A full refresh detects new items, compares and updates existing items, and deletes items that have
disappeared from the external database. A quick refresh, by default, only detects new items in the external
database. It does not compare existing items. It does not delete items, either, because undeleting them
would require a full refresh.
The quick refresh operation is notably quicker than the full refresh operation. For reference, the full refresh
operation for 120,000 items takes about two minutes, while the quick refresh operation finishes in about
seven seconds. For simple value lists, refreshing data is fast even with large amounts of data and therefore
a full refresh is always used. This guarantees up-to-date data.
External object types can be refreshed in M-Files Desktop by pressing the Alt key and selecting Settings >
Refresh External Objects and then by selecting a suitable external object type from the submenu. You
can select either the Quick Refresh or the Full Refresh operation.
If you try to refresh an external object type at the same time with M-Files Server, the operation started by
you begins after the one started by M-Files Server.
To start or stop the full refresh operation for an external object type in M-Files Admin, right-click the object
type in Metadata Structure (Flat View) and click Refresh Now. This gets the up-to-date column data from
the external database.
The full refresh operation is also started when you edit the object type definitions in M-Files Admin. If you
update the object type definition before the previous refresh operation has completed, M-Files starts the
operation again.
The quick refresh operation is started automatically if an external object type is requested by a client (for
instance, the metadata card containing a property that uses an external object type is viewed) and if the
latest refresh was executed more than 15 minutes ago.
A full refresh operation is initiated for all external object types at 4:30 AM server time every night. This
operation is executed as one part of the nightly maintenance routine.
A full refresh operation is automatically triggered instead of a quick refresh operation if an external object
type is requested by the client and if a full refresh has not been performed within the last 25 hours.
M-Files | 3. System Administration | 362
For configuration options available for refreshing external object types automatically, see the document
Default Refresh Logic and Configuration Options for External Value Lists and Object Types.
When M-Files updates objects to and from an external database, it compares object properties in the
external database to the ones in the vault. If M-Files finds differences in the properties, it updates the
objects. During the comparison, properties with an automatically calculated value are ignored, which
causes these scenarios:
• If all the object's property values to be updated to or from an external database are set to have an
automatically calculated value in M-Files, the object is not updated.
• If the refresh operation creates an object in M-Files, all property values of the object are filled with
the values from the external database. This includes properties that are set to have an automatically
calculated value.
• If the refresh operation updates the object's properties in M-Files, all the object's property values to be
updated get their value from the external database. This includes properties that are set to have an
automatically calculated value.
The table below lists the recommended OLE DB providers to be used for an external database connection
(see Connections to External Databases for Object Types).
Database Provider
• Use the Data sources (ODBC) administrative tool to configure a new system data source.
• Select MySQL Connector/ODBC as the ODBC driver.
• Define the data source.
• Under driver properties, select the Disable Transactions check box.
In connection settings, select Microsoft OLE DB Provider for ODBC Drivers as the provider
and the system data source you defined as the data source. The default collection in the
connection settings remains empty. Thus you only define the database in the driver settings.
Value Lists
A value list contains various values, such as city names. The same value list can be utilized in several
different properties.
M-Files | 3. System Administration | 363
A value list is one of the M-Files data types. Creating and using value lists makes it significantly faster
to specify metadata for a document. In many cases, selecting a value from the list is more sensible than
typing it in each time. On the other hand, not all values can reasonably be selected from a list, such as the
title of the object.
Figure 40: Value lists can be used for storing and selecting preset values for metadata properties. Several different properties can be
based on the same value list.
Complete the steps below to view the value lists in your vault:
4. Expand a vault.
5. Expand Metadata Structure (Flat View) and then select Value Lists.
You should now be able to see the available value lists in the right-side listing view. To also display the
built-in value lists, click Show All Value Lists in the task area.
In this chapter
The contents of an internal value list are saved in the document vault database, meaning that the list is
used only inside the document vault. An external value list, on the other hand, can be updated from an
external database. In this case, you need to define how the server is to retrieve the value list contents from
the other database. For example, an employee database running on an external database server can be
connected to the M-Files value lists by defining the database connection. See Connections to External
Databases for Value Lists.
4. Expand a vault.
5. Expand Metadata Structure (Flat View), and then select Value Lists.
7. In the Name (singular) and Name (plural) fields, enter the name of the new value list respectively in
singular (for example, Client) and plural (for example, Clients) forms.
8. Optional: Check the Allow users to add new values to this list if you want to allow users to add new
values to the value list.
9. From the Default permissions for new values drop-down menu, select the default permissions for
new values in this value list.
M-Files | 3. System Administration | 366
10.Optional: Check the Allow this value list to be used as a grouping level in views check box to allow
this value list to used for defining a grouping level within a view.
11.Optional: On the Advanced tab, set hierarchical relationships for the value list.
12.Optional: On the Permissions tab, you can specify the users who may see this value list or add new
values to it.
13.Optional: On the Connection to External Database, set the connection to an external database for
importing value list contents from an external database source.
4. Expand a vault.
5. Expand Metadata Structure (Flat View) and then select Value Lists.
6. From the Value Lists list, select the value list that you want to convert to an object type.
8. You are prompted to confirm that you want to convert the selected value list to an object type. Click
Yes.
Once you have clicked Yes, you cannot undo the conversion.
The selected value list is converted to an object type and removed from the Value Lists list and added to
the Object Types list.
Value List Contents (Individual Values)
You can create new items for the value list as well as new subitems for internally hierarchical values. You
can also define hierarchical relationships between value list items (see Defining a Hierarchical Relationship
Between Value Lists). Additionally, you can set value-specific permissions as well as default permissions
for objects that use the item.
M-Files | 3. System Administration | 367
Figure 41: The "Contact persons" value list used as a sublist for the "Customers" value list.
Permissions
By selecting a value list item and clicking the Permissions... button, you can specify the users who may
see this value list item. This way, you can make a value list value to be visible to a specific target group
only.
M-Files | 3. System Administration | 368
Automatic permissions
An object receives automatic permissions when a value with automatic permissions is added to the object
metadata.
You can activate the automatic permissions by value, value list, object type, or class by clicking
Permissions... in the Value List Contents dialog and then selecting the Automatic Permissions tab. For
more information, see Automatic Permissions for Value List Items.
In this chapter
4. Expand a vault.
7. Right-click a value list to which you want to add individual values and select Contents from the context
menu.
A new value titled New Item is added to the selected value list.
You can rename existing values by selecting a value from the list and clicking the Rename
button.
10.Optional: Click Permissions to specify the users who may see this value list item.
For detailed instructions, see Value List Permissions and Automatic Permissions for Value List
Items.
11.Optional: Click Change Icon to change the icon of the value list item.
In addition to being able to add icons for object types, you can add, change, and remove icons
for value list items. This allows you to further increase the clarity of the M-Files user interface.
Specific icons can be assigned to, for instance, workflow states and meeting types. Since
workflow states can be changed directly with the shortcuts in the task area or from the metadata
M-Files | 3. System Administration | 369
card, icons can be used to make the states visually more distinguishable. For more instructions,
see Changing the Icon of a Value in a Value List.
In addition to being able to add icons for object types, you can add, change, and remove icons for value list
items. This allows you to further increase the clarity of the M-Files user interface.
Specific icons can be assigned to, for instance, workflow states and meeting types. Since workflow states
can be changed directly with the shortcuts in the task area or from the metadata card, icons can be used to
make the states visually more distinguishable.
4. Expand a vault.
5. Expand Metadata Structure (Flat View) and then select Value Lists.
6. Optional: To show the built-in value lists, click Show All Value Lists.
7. Right-click a value list that you want to edit and select Contents from the context menu.
8. Select a value from the list and click the Change Icon button.
9. Either:
or
b. Click Browse to browse for a different icon file and then select an icon from the list of icons.
10.Click OK to change the icon and close the Change Icon dialog.
11.Repeat the steps from 6 to 8 to change the icon for another value.
12.Click Close when you are done to close the Value List Contents dialog.
M-Files | 3. System Administration | 370
You can use automatic permission settings to pass permissions for an object when the object has a
property value, object type or class that uses automatic permissions. The object receives automatic
permissions when a value with automatic permissions specified is added to the object metadata.
Note: Micro Focus IDOL and Smart Search: If more than four automatic ACL sources control the
permissions of an object, only administrators can see it in search results.
M-Files | 3. System Administration | 371
Figure 42: The "Automatic Permissions" dialog for a value list item.
In the above example, automatic permissions have been activated. Read-only access has been granted to
all users and a separate access to project managers.
M-Files | 3. System Administration | 372
Activate the function Restrict the permissions of objects that refer to this value when you want to activate
the automatic permissions.
You can use the permissions of a value or object, such as a project, as automatic permissions.
In this type of case, for example, a project plan inherits the permissions of the project that is added as a
value to the metadata of the project plan. For example, the user has defined permissions for the project
House project Haven that allow access for the project manager and project group only. When this project is
added to the metadata of a project plan, the same permissions are granted to the plan.
Note: Automatic permissions are not inherited indirectly. For example, we can have an object
"Hugh Brent" that inherits automatic permissions from the "Look Up Company" property. These
permissions are no longer inherited by the "CRM Application Development" object that has "Hugh
Brent" as one of its property values.
Name
Give as descriptive a name as possible to the automatic permissions set, because this information will be
displayed in the client software.
Specify permissions
You can then specify the automatic permissions that are always activated automatically for the object when
a value, object, or class using automatic permissions is added to the object's metadata.
For more information on permissions, see Object Permissions. Also refer to the specification of pseudo-
users in Pseudo-users.
Note: If you do not explicitly allow any permissions, using this kind of value or object restricts all
permissions for the final object.
You can also specify whether the users are allowed to deactivate the automatic permission restrictions
created through this value, so that the users can delete the preset automatic permissions if necessary.
The specified value providing automatic permissions must be selected on the metadata card for the explicit
property definition for which you have enabled automatic permissions. See Verifying Which Properties
Have Automatic Permissions Enabled.
Note: The value-specific settings always have priority over the settings made at value list and
object type level.
4. Expand a vault.
5. Expand Metadata Structure (Flat View) and then select Value Lists.
6. Right-click a value list that you want to edit and select Contents... from the context menu.
7. Select a value list item that you want to edit and click the Permissions... button.
8. On the Automatic Permissions tab, check the Restrict the permissions of objects that refer to this
value check box.
10.Optional: Select the Allow users to deactivate these restrictions check box if you want to give users
the option to disable the automatically set permissions and employ user-defined permissions instead.
The selected value now has automatic permissions defined. When this value is added to the metadata of
an object, the object receives the automatic permissions defined for the value.
Verifying Which Properties Have Automatic Permissions Enabled
4. Expand a vault.
You can see which properties have automatic permissions enabled in the Automatic Permissions column
of the listing area.
Advanced Value List Properties
Value list hierarchy
Figure 43: In the advanced settings, various hierarchical relationships can be defined.
A value list can be hierarchical in itself, meaning that it can contain items and subitems. A parent item
collects related subitems. This way, you can create, for example, a value list containing all drawing types
hierarchically. The parent object can be for instance a floor plan, with floor plans in different scales as its
M-Files | 3. System Administration | 376
subobjects. Regardless of their internal hierarchy, all items in the hierarchical value list represent the same
concept (for example, the parent item Floor plan and its subitems Floor plan 1:100 and Floor plan 1:50).
4. Expand a vault.
5. Expand Metadata Structure (Flat View) and then select Value Lists.
7. Open the Advanced tab, and check This value list is a sublist of the following value list check box.
8. Using the drop-down menu, select the Same list (defines a value list with internal hierarchy) option.
10.Select an item on the list for which you want to create a subitem and click New Subitem.
You can also rename the item later by selecting the item in the list and clicking Rename.
12.Optional: If you want to create additional subitems, repeat the steps 10 and 11.
The value list items that you have just created are added to the value list as subitems of the selected
owner value list items. When you assign a value to a property from the aforementioned value list, you can
select a subitem by clicking the down arrow next to a value list item to expand its subitems.
Defining a Hierarchical Relationship Between Value Lists
If a parent item and subitems represent different concepts, such as countries and their cities, separate
value lists must be created for the items and the value lists must be defined as two hierarchically related
value lists. In such a case, the item in the Countries value list (country name) is the owner value for the
items in the Cities value list. The Countries value list is then the higher-level list and the Cities list is its
sublist.
Do the following steps to define a hierarchical relationship between two value lists:
4. Expand a vault.
5. Expand Metadata Structure (Flat View) and then select Value Lists.
6. Double-click the value list that you want to define as a sublist of a higher-level list.
Make sure that the property definition using this value list uses automatic filtering. For more
information, see Property Definitions.
7. Open the Advanced tab, and check This value list is a sublist of the following value list check box.
8. Using the drop-down menu, select the value list that you want to set as the owner of this value list.
9. Click OK to save your changes and close the Value List Properties dialog.
10.In the Value Lists list, find the value list that you have just set as the owner of the previous value list,
right-click it, and select Contents... from the context menu.
11.In the upper list, select the owner item for which you want to add a subitem.
You can also rename the item later by selecting the item in the list and clicking Rename.
14.Optional: If you want to create additional subitems, repeat the steps from 11 to 13.
15.Click Close when you are ready to save your changes and close the Value List Contents dialog.
The selected value list is defined as a sublist of the selected owner value list. When you assign a value to a
property from the owner value list in M-Files, you can then also assign any associated subvalues from the
sublist.
Default for automatic permissions
You can activate the automatic permissions by value, value list, object type, or class. You can specify the
automatic permissions for each value list in the same way as for each value. The automatic permissions
are attached to an object when a value with automatic permissions is added for the object.
Note: The value-specific settings always have priority over the settings made at value list and
object type level.
Enable this option to allow the contents of the selected value list to be translated to different languages.
For more information, see Languages and Translations.
M-Files | 3. System Administration | 378
Using the Aliases field, you can define an alias for the value list. For more information, see Associating the
Metadata Definitions. Use semicolons (;) to separate many aliases.
When automatic aliases are in use and you write a name on the General tab, the Aliases field on the
Advanced tab is automatically filled in. The alias has the format <predefined prefix>.<name>. Configure
automatic aliases for your vault in Advanced Vault Settings.
Access for viewing this value list and creating items to the list can be defined on the Permissions tab.
If the user does not have the permission to view the name of the value list, it is not available for selection in
M-Files (for example, when you are creating a new search).
If the user cannot see the value list, the user does not have the permission to create items to it either.
However, the user may have the permission to see the list without having the permission to create new
items.
Editing Permissions
4. Expand a vault.
• Users
• User groups
• Metadata Structure (Flat View) > Object types
• Metadata Structure (Flat View) > Value lists
• Metadata Structure (Flat View) > Property definitions
• Metadata Structure (Flat View) > Classes
• Metadata Structure (Flat View) > Class groups
• Workflows
• Named access control lists
8. Open Permissions.
9. In Users and user groups, select the user or user group whose permissions to change.
Allow: Enable this to explicitly give the permission to the selected user or user group.
Deny: Enable this to explicitly deny the permission from the user or user group.
The Deny setting is normally used to specify an exception to an Allow setting. For example,
when John Doe is part the group HR Managers, you can set Allow for the group and Deny for
John Doe.
12.Click OK.
You can set M-Files to update value lists to and from an external database.
This section tells you how to set value lists to use an application connection to an external database. To
use the legacy database connection, see the section "Using the Legacy Database Connection for Value
Lists".
Prerequisites
Take note of this important information before you start the setup:
• Before you set up an application connection to an external database, you must have an external object
type connector installed and enabled.
• The connector must support the application connection. You can use M-Files OLE DB External
Object Type Connector, which is normally installed to the vault but is disabled.
5. 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.
The services that have the (OK) suffix, have a configuration for the value list.
8. Click Configure.
10.In Provider, select the provider for the external database connection.
Note: The list of providers shows all the available providers on the server machine that
runs the external object type connector. Thus, it can include providers that cannot be
used in external database connections.
The syntax of the connection string is different for each Object Linking and Embedding Database
(OLE DB) supplier used for establishing the connection to the external database. If Open
Database Connectivity (ODBC) is necessary to create the connection, the data store must
be accessed over OLE DB and ODBC. For a list of recommended providers, see Provider
Recommendations for External Database Connections.
11.Optional: If you selected Custom provider (manual configuration), in Custom provider, specify the
provider.
M-Files | 3. System Administration | 381
In Advanced Options, enter the connection Use this option if it is not possible to use the other
string. settings with the selected provider. When you
enter the connection string, make sure that all
values are correctly enclosed and the connection
string has the necessary formatting.
Note: The application connection does not support the Connections to External
Databases settings in the Advanced Vault Settings section in M-Files Admin. To use
these settings, define them here.
14.Under Service-Specific Settings, in SELECT Statement, write the SELECT statement for getting
source columns from the external database.
15.Click Save.
b) Enter the password that is defined in the Ground Link proxy configuration.
c) Click OK.
17.To authenticate the common user, open the Dashboard tab and click Authenticate.
Note: The ODBC driver does not support all special characters. If your connection uses
ODBC, the values that contain special characters must be enclosed in curly brackets.
The correct format is {username or password}.
M-Files | 3. System Administration | 382
The dialog closes and the configuration refreshes. On the Configuration tab, the Column
Mappings section shows the source columns that your SELECT statement returned from the
external database.
21.On the Configuration tab, go to Column Mappings and expand a source column node.
22.In Mapping Type, specify how the source column is mapped to M-Files.
For more information on value list hierarchy, see Value list hierarchy.
23.Optional: If the Mapping Type is Name or Title, specify the setting Use in Insert Operation and define
the related statements.
If you want to... Complete the following steps:
Allow read-only access Set the Use in Insert Operation setting to No. Do not specify the
statements in this table.
Allow users to create but not
update or delete information a. Set the Use in Insert Operation to Yes.
b. Under Service-Specific Settings, in INSERT INTO statement,
write the two statements in this table.
24.Repeat the steps from 21 to 23 for all the necessary source columns.
Tip: You can enable and disable the external database connection also with the
Disabled check box on the Connection to External Database tab of the Value List
Properties dialog.
If the connection is disabled, information between the vault and the external database is
not synchronized.
M-Files | 3. System Administration | 384
b) Enter the password that is defined in the Ground Link proxy configuration.
c) Click OK.
The value list is now updated to and from the external database.
In this chapter
• In SELECT FROM statements, the columns are selected in order of appearance. There is no relation
between column and property names, which is why the order must be the same in the SELECT FROM
and INSERT INTO statements. Also, columns not used in the INSERT INTO statement must always
be listed last in the SELECT FROM statement.
• In the SELECT statement used to get the ID of the records, WHERE must refer to the first column of the
SELECT FROM statement.
2. In M-Files Admin, in the Connection to External Database tab of the Value List Properties dialog,
select Legacy database connection.
3. Click Configure.
4. Click the Define button next to the OLE DB connection string (from server) field.
The syntax of the connection string is different for each Object Linking and Embedding Database
(OLE DB) supplier used for establishing the connection to the external database. If Open
Database Connectivity (ODBC) is necessary to create the connection, the data store must
be accessed over OLE DB and ODBC. For a list of recommended providers, see Provider
Recommendations for External Database Connections.
Note: M-Files Admin only displays OLE DB providers that are available on the computer
running M-Files Admin. If your M-Files Server resides on a different host, make sure that
the selected OLE DB connection string works from the computer running M-Files Server
as well.
5. On the Provider tab, select Microsoft OLE DB Driver for SQL Server from the list and click Next >>.
Other providers can have different options on the Connection and Advanced tabs. The All tab
contains all the available connection properties as a name–value table.
6. To the Select or enter a server name field, write the name of your Microsoft SQL Server.
a. Windows Authentication: Select this option to use a Microsoft Windows account for logging in. In
this case, the connection uses the credentials that are used for running the M-Files Server service.
or
b. SQL Server Authentication: Select this option to use a Microsoft SQL Server login. Enter the
credentials in the User name and Password fields, and select the Allow saving password check
box.
Note: The ODBC driver does not support all special characters. If your connection uses
ODBC, the values that contain special characters must be enclosed in curly brackets.
The correct format is {username or password}.
8. For the Select the database section, complete one of these steps:
a. Use the drop-down menu to select the database on the specified server.
or
b. Enter a database name to the Attach a database file as a database name field and click the ...
button to select a Microsoft SQL Server Database (MDF) file.
9. Optional: Click Test Connection to make sure that your database connection operates correctly.
10.Optional: On the Advanced tab, define a timeout period for the database connection.
The connection string is added to the OLE DB connection string (from server) field.
12.In the Configure Connection to External Database dialog, to the SELECT statement field, enter the
SELECT statement for getting source columns from the external database.
The Columns listing shows correspondences between columns retrieved from the external
database (Source Column) and M-Files properties (Target Property).
14.Map the Source Column properties with properties in your M-Files vault (listed in the Target Property
column).
Note: When you want to map multiple values to a property of the Choose from list
(multi-select) data type, the values must be recorded on their own rows in the external
database. For example, if you want to map multiple values to the Industry property, the
values must be recorded like this:
In this case, however, data can only be read from, not recorded to the external database.
15.Select the check boxes in the Insert column and define the two statements below the Columns listing.
If you want to... Complete the following steps:
Allow read-only access Do not select the check boxes and leave the statements empty.
Allow users to create but not
update or delete information a. Select the check boxes in the Insert column for the necessary
properties.
b. Click the Default button next to the INSERT INTO and SELECT
statement fields. You can also enter your statements to the
fields.
The table below explains the use of the two statements mentioned above.
M-Files | 3. System Administration | 387
SELECT After a new record has been created After a new record has been
with the INSERT INTO statement, M- created with the INSERT INTO
Files Server gets the ID of the newly statement, M-Files Server gets the
created record with this SELECT ID of the newly created record with
statement. this SELECT statement.
17.Optional: Select the Disabled check box to temporarily disable the external database connection.
If the connection is disabled, information between the vault and the external database is not
synchronized.
The object type is now updated to and from the external database.
Refreshing External Value Lists
There are two types of refresh operations for external value lists:
• full refresh
• quick refresh
A full refresh detects new items, compares and updates existing items, and deletes items that have
disappeared from the external database. A quick refresh, by default, only detects new items in the external
database. It does not compare existing items. It does not delete items, either, because undeleting them
would require a full refresh.
The quick refresh operation is notably quicker than the full refresh operation. For reference, the full refresh
operation for 120,000 items takes about two minutes, while the quick refresh operation finishes in about
seven seconds. For simple value lists, refreshing data is fast even with large amounts of data and therefore
a full refresh is always used. This guarantees up-to-date data.
M-Files | 3. System Administration | 388
External value lists can be manually refreshed with the metadata card in M-Files Desktop and the classic
M-Files Web. Select a property that uses an external value list and click the Refresh icon ( ).
If you try to refresh an external value list at the same time with M-Files Server, the operation started by you
begins after the one started by M-Files Server.
To start or stop the full refresh operation for an external value list in M-Files Admin, right-click the value list
in Metadata Structure (Flat View) and click Refresh Now. This gets the up-to-date column data from the
external database.
The full refresh operation is also started when you edit the value list definitions in M-Files Admin. If you
update the value list definition before the previous refresh operation has completed, M-Files starts the
operation again.
The quick refresh operation is started automatically if an external value list is requested by a client (for
instance, the metadata card containing a property that uses an external value list is viewed) and if the
latest refresh was executed more than 15 minutes ago.
A full refresh operation is automatically triggered instead of a quick refresh operation if an external value
list is requested by the client and if a full refresh has not been performed within the last 25 hours.
For configuration options available for refreshing external value lists automatically, see the document
Default Refresh Logic and Configuration Options for External Value Lists and Object Types.
When M-Files updates objects to and from an external database, it compares object properties in the
external database to the ones in the vault. If M-Files finds differences in the properties, it updates the
objects. During the comparison, properties with an automatically calculated value are ignored, which
causes these scenarios:
• If all the object's property values to be updated to or from an external database are set to have an
automatically calculated value in M-Files, the object is not updated.
• If the refresh operation creates an object in M-Files, all property values of the object are filled with
the values from the external database. This includes properties that are set to have an automatically
calculated value.
• If the refresh operation updates the object's properties in M-Files, all the object's property values to be
updated get their value from the external database. This includes properties that are set to have an
automatically calculated value.
The table below lists the recommended OLE DB providers to be used for an external database connection
(see Connections to External Databases for Value Lists).
M-Files | 3. System Administration | 389
Database Provider
• Use the Data sources (ODBC) administrative tool to configure a new system data source.
• Select MySQL Connector/ODBC as the ODBC driver.
• Define the data source.
• Under driver properties, select the Disable Transactions check box.
In connection settings, select Microsoft OLE DB Provider for ODBC Drivers as the provider
and the system data source you defined as the data source. The default collection in the
connection settings remains empty. Thus you only define the database in the driver settings.
Property Definitions
Property definitions are used for determining properties associated with classes. A property definition
specifies the property name (which should naturally be as descriptive as possible) and the data type, which
determines the type of the data entered (in relation to the property).
Various properties can be combined to create classes (refer to Classes). For example, Contract of
Employment is a document class with the associated properties Title, Document Date, Employee,
Keywords and Description.
The property definitions are used for determining the metadata on the metadata card. The properties that
are associated with the document class are displayed on the metadata card after class selection.
In this chapter
In a new property definition, you need to specify the data type after assigning a name to the property. For
example, if you are creating a property with the name Document Date, the logical data type choice is
Date.
M-Files | 3. System Administration | 390
This type of property accepts a maximum of 100 characters entered in the user
interface. More characters can be entered with the M-Files API but values of over
100 characters will be cut and the full value is lost.
Text (multi-line) Any typed text. The text can have multiple lines.
Choose from list You can select one value from the options on the value list.
Choose from list You can select several values from the options on the value list.
(multi-select)
Date You can select a date. As a default, M-Files suggests the current date.
Note: This data type can present a wider range of numbers than
Number (integer) but at the cost of precision. Consequently, Number
(real) should not be used when the number value has to be absolutely
accurate, such as with values representing money. In those cases, it is
recommended to use Number (integer) as the data type.
M-Files | 3. System Administration | 391
Boolean (yes/no) You can specify the Boolean value yes or no for the desired variable.
The data type indicates the type of the property. For example, if you create a new property named
Confidential and specify Boolean (yes/no) as its data type, you need to select yes or no when filling in the
Confidential field on the metadata card. This happens only if the property Confidential has been associated
with the document class (Report, Memo, Agenda, etc.) to which the document you are creating belongs.
After creating this property, you can create a new view that lists the documents on the basis of whether
they are confidential or not. You can group the documents into the Yes and No property folders by using
the view hierarchy.
Value lists can be efficiently utilized in property definitions. For example, the Customers value list is utilized
in several property definitions in the M-Files sample vault.
When specifying, for example, the Author Organization, the options are retrieved from the Customers value
list, to which you can easily add new values (customers). This way, the same company names need not
be entered again, but the existing list can be utilized instead. The lists decrease the number of input errors
and make work more efficient.
Pre-filtering of properties
You can specify pre-filtering for property definitions to show a subset of the objects. This way, the list of
objects to be displayed can be limited by certain criteria, and the user can more quickly find the desired
object when, for example, adding a customer to the metadata card.
The customer class may also be used as a pre-filter for customer listing. Likewise, the project class, for
example, may be used as a pre-filter for a project listing.
You can set the values of a value list based property to be filtered with another property. This causes the
values to be dynamically filtered with the user's choices on the metadata card.
Example: The user adds the properties Customer and Contact Person on the metadata card. The value
that the user selects for Customer causes the values available for Contact Person to only contain contact
persons of the selected customer. The Customer property uses the Customers value list and Contact
Person the Contact Persons value list. The Contact Persons value list is set to be filtered by the Customer
property.
You can also select an automatic filter to let M-Files use the best filter for the property. For example, two-
way filtering between ZIP codes and cities can be used in a user-friendly manner: On the metadata card,
you can select a ZIP code first, and M-Files selects a suitable city from the list automatically. If you select
the city first, M-Files filters the available ZIP codes automatically according to the city.
M-Files | 3. System Administration | 392
Enable this setting to make sure that the value list on the metadata card is strictly filtered with the property
selected in Filter the list by using the value of the following property. Otherwise, the list can also
contain values filtered on the basis of other properties that 1) are in the object's metadata and 2) show
values of the same list.
Example: The Project Manager property shows values of the Employees value list and is filtered with the
External Project property. A Project object contains a value for the properties Project Manager, External
Project, and Internal Project. If this setting is enabled, only managers for external projects can be selected
for Project Manager. Otherwise, managers for external and internal projects can be selected.
You can define whether you want the value list used for the property definition to be ascending or
descending.
You can also limit the use of this functionality to just one object type.
To use the automatic permissions through a property, you must allow this in the property definition's
properties. For the Class property definition, the automatic permissions are active by default.
When you have added automatic permissions to a value, value list or object type, M-Files will display the
property definitions in which the automatic permissions are enabled and those in which they are disabled.
Make sure that the automatic permissions are enabled for the desired property definition.
Note that the specified value must be selected for the explicit property definition for which you have
enabled automatic permissions.
Enable this option to allow the property to be used for defining a grouping level within a view. It is advisable
to disable this option for properties that may contain classified information.
If you disable this option, searches based on the values of the selected property do not generate any
results. However, the property can still be shown in the list of additional property conditions. If you enable
this option and use the Do not search for old object versions suboption, users can only search for the
latest versions of objects on the basis of the values of this property.
If you think the property is a relevant search criterion, this option should be enabled. Otherwise, it is best to
leave it disabled to allow the search to perform optimally.
In the Advanced tab, you can specify an alias for the property definition. For more information, see
Associating the Metadata Definitions. Use semicolons (;) to separate many aliases.
M-Files | 3. System Administration | 393
When automatic aliases are in use and you write a name on the General tab, the Aliases field on the
Advanced tab is automatically filled in. The alias has the format <predefined prefix>.<name>. Configure
automatic aliases for your vault in Advanced Vault Settings.
4. Expand a vault.
5. Expand Metadata Structure (Flat View) and then select Property Definitions.
7. In the Name field, enter a name for the new property definition.
The name will be displayed on the metadata card when you add this property to the metadata
card.
8. Use the Data type drop-down menu to select the data type for the new property definition.
For more information on data types, see Property definition data types.
9. Optional: If you chose Text or Text (multi-line) as the data type, select a content type for the text data
type using the Content drop-down menu.
10.Optional: If you chose Choose from list or Choose from list (multi-select) as the data type, do the
steps from 10.a to 10.e:
a) In Show values from the following list, select the value list from which a value is to be chosen for
the property.
You can also click Filter and set the conditions to filter the values available in the value list.
b) Optional: In Filter the list by using the value of the following property, you can select the
property by which available values are filtered. If you do not want to filter the values, select (no
filtering).
For more information, see Filter the list by using the value of the following property.
c) Optional: Enable Show only filtered values on the metadata card to make sure that the value
list on the metadata card is strictly filtered with the property selected in Filter the list by using
M-Files | 3. System Administration | 394
the value of the following property. For more information, see Show only filtered values on the
metadata card.
d) Optional: Use the Sort values in the list in the following order drop-down menu to select the
sorting order for the values.
e) Optional: Enable Enable automatic permissions via this property to allow automatic permissions
for this property.
For more information, see Automatic Permissions for Value List Items.
11.Use the Allow using this property with the following object type drop-down menu to select the
object type that this property is used with, or select the All object types option if you do not want to
restrict the use of this property to a specific object type.
12.Optional: Check the Allow this property to be used as a grouping level in views check box to allow
this property to be used for defining a grouping level within a view.
It is advisable to disable this option for properties that may contain classified information.
13.Optional: Check the Allow searching for objects by this property check box to allow the values of
this property to be used as criteria for searching for objects and object versions.
a) Optional: Select the Do not search for old object versions check box to allow the values of this
property to be used as criteria for searching for the latest versions of objects only.
The new property definition that you have just defined is added to the Property Definitions list and the
property can be added to the metadata of objects in M-Files.
Property Definition Automatic Values
An automatic value can be set for a property. This means that, for example, invoices can be consecutively
numbered. An automatic value can also contain text, in which case it is a combination of other properties.
For example, to create proposal headings in a set format such as Class/Product/Customer, these
properties (Proposal/Mach20A/ESTT Corporation) can be used to automatically create the headings.
Automatic values offer increased utilization of document and object metadata in storing and searching
for information. In addition, using automatic values makes the naming of documents and objects more
consistent and reduces the need for repeated data entries.
Automatic values are especially useful for naming objects (for more information, see New Class) and in
automatically including metadata in document content (for more information, see Add M-Files Property).
! Warning: VBScript execution errors can cause new object versions to not be created. They can
also cause external object type synchronization to not complete. This prevents updates also to
other objects of the same object type. VBScript execution errors are recorded in the Windows event
log.
An automatic number is calculated once and it does not change. Ths is useful, for example, in different
company's internal processes and record-keeping.
An automatic value is calculated always when a new object version is created. It can contain other
properties, usually by concatenating two or more properties. For example, if a document name (automatic
value) is defined as Class (Customer), the document name can get the value Proposal (ESTT). If the
M-Files | 3. System Administration | 395
automatic value is created with the class and customer name (Proposal (Customer A)), the automatic value
changes to (Proposal (Customer B)) when another customer is selected.
The example above illustrates a property with consecutive numbering in single whole number increments
(increment: 1). The last value used is set as 1000. Thus, the next object to use this property will be
numbered as 1001. The calculation order value is 100 (see Calculation order below).
M-Files | 3. System Administration | 396
Generates an incrementing numerical value. The increment can also be specified in the Increment field.
The default value is one (1).
Generates an automatic number that can contain letters, numbers, or both. Creating a customized
automatic number is specified in more detail with M-Files API and generic features of VBScript.
The following M-Files variables can be used with this script: PropertyDef, Output,
LastUsed, ObjVer, DisplayID, Vault, CurrentUserID, CurrentUserSessionInfo,
PropertyValues, VaultSharedVariables, SavepointVariables, TransactionCache,
MFScriptCancel, GetExtensionObject, MasterTransactionID, CurrentTransactionID,
ParentTransactionID. For more information about the variables, refer to Available VBScript Variables.
The desired custom value is assigned to the Output variable, for example Output = "Automatic
value". For more information on specifying customized automatic numbering, see Specifying an
Automatic Property Value Using VBScript.
Conjoins selected properties (for instance Proposal/Device/Customer). Any characters or text can be
inserted between the selected properties. For example: Proposal: Customer (Project) or Proposal,
Customer, Project.
A list of available placeholders can be opened when specifying an automatic value for a property. The Add
Placeholder… button opens the list of property definitions and other placeholders available for use.
Alternatively, you can add the placeholders to the field manually. They are used by bracketing them with %
characters. For instance, %PROPERTY_23% (%PROPERTY_21%) could give us "John Smith (09/25/2016
12:39 PM)", assuming that 23 is the ID for the Last modified by property and 21 the ID for the Last modified
timestamp property.
Besides the ID, you can also add the placeholders using aliases. To specify an alias placeholder, use the
syntax %PROPERTY_{Property.Definition.Alias}%. For more information on defining aliases, see
Assigning Aliases for Metadata Definitions.
Indirect placeholders
Indirect placeholders are metadata indirectly related to an object. For example, if a contract is related to a
customer object, the country of the customer is indirect metadata for the document.
Alternatively, you can add indirect placeholders using aliases. In the previous example, the syntax with
aliases would be %PROPERTY_{PD.Customer}.PROPERTY_{PD.Country}% , where PD.Customer
is the alias for the Customer property definition and PD.Country is the alias for the Country property
definition.
M-Files | 3. System Administration | 397
Creating an automatic value can be specified in more detail with M-Files API and generic features of
VBScript.
These M-Files variables can be used with this script: PropertyDef, Output, ObjVer, DisplayID,
Vault, CurrentUserID, CurrentUserSessionInfo, PropertyValues, VaultSharedVariables,
SavepointVariables, TransactionCache, MFScriptCancel, GetExtensionObject,
MasterTransactionID, CurrentTransactionID, ParentTransactionID. For more information
about the variables, refer to Available VBScript Variables.
The custom value is assigned to the Output variable, for example Output = "Automatic value".
For more information on specifying calculated values, see Specifying an Automatic Property Value Using
VBScript.
The starting value for consecutive numbering or values. The default is zero (0). The value can be changed;
for example, consecutive numbering can start at 3000.
Calculation order
Calculation order determines the order in which automatic values are calculated (from smallest to
greatest). This is significant when several automatic values are used and their combinations form new
automatic values.
For example, calculation order is crucial if the name of an object is an automatic property value consisting
of two other automatic values. These two automatic values should be calculated first and their combined
value afterward.
The values themselves make no difference other than that the calculation order proceeds from smallest
to greatest. The calculation order values for different properties can be, for example, 10, 12, 17 and 20.
The property with the calculation order number 10 is thus calculated first, followed by the property with the
calculation order number 12, and so on.
Recalculate
The Recalculate command is available in M-Files Admin task area (or by right-clicking a property in the
Property Definitions list and selecting Recalculate) when a property with an automatic value is selected.
You can choose between recalculating empty values or recalculating all values.
Calculates automatic values for properties that have not been calculated yet. This is the default for
calculating automatic values. Changes to settings only apply to new values. For example, if you edit the
Last value used field, only new objects will have the new value. Old values are preserved; that is, once
defined, a value does not change.
Recalculates the automatic values of all properties. Recalculate All Values thus also recalculates
previously defined values. For example, if consecutive numbering is used and the Last value used is
changed, this function renumbers all existing objects.
M-Files | 3. System Administration | 398
Document templates work differently when automatic values are used. All properties in the template
metadata work without the calculation of an automatic value. Thus, in templates, automatic property values
work as if they were not automatic. Their values can be defined normally and the server does not calculate
an automatic value for the property.
For example, objects in the Proposal class may use automatic values in their titles (such as Proposal
<number> - <customer name>). However, it makes sense to name the Proposal class templates as
templates; titles using automatic properties only make sense for actual proposals, not templates. Thus,
the template might be called Proposal Template, while the actual proposal documents created using the
template will have names formulated with automatic values, such as Proposal 35 - ESTT.
For more information, refer to Using Document Templates and New Class.
In this chapter
4. Expand a vault.
5. Expand Metadata Structure (Flat View) and then select Property Definitions.
Specify a combination of text and property Select the Simple concatenating of properties
placeholders as an automatic property value. option, and enter the combination of text and
property placeholders in the text field. You can
add property placeholders by clicking the Add
Placeholder... button.
Specify for a property an automatic calculated Select the Calculated value (VBScript) option,
value using VBScript. and click Edit Code... to add the code for
calculating the property value.
8. Optional: In the Last value used field, enter the starting value for automatic numbering if you want to
use some other value than the default zero (0).
9. In the Calculation order field, enter the number that determines the order in which this automatic value
is calculated in relation to other automatic values. The smaller the number, the earlier the calculation
order.
10.Click OK to save your changes and close the Property Definition Properties dialog.
The selected property now has an automatic value. When you add this property to the metadata card, the
value is calculated and generated automatically.
Specifying an Automatic Property Value Using VBScript
Creating customized automatic values and calculated values can be specified in more detail with M-
Files API and generic features of VBScript ("Microsoft Visual Basic Scripting Edition"). This section gives
instructions on how to use VBScript with automatic values. For the VBScript user's guide and language
reference, see the VBScript MSDN article.
The VBScript code for a calculated value is executed whenever a property value is edited. The VBScript
code is used for calculating the automatic value, after which the result of the calculation must be assigned
to a variable called Output. This value is stored as the value of the property in the object metadata.
The simplest piece of VBScript for formulating an automatic value might therefore look like this:
Usually an automatic value uses other object properties, for example, by concatenating them. VBScript
code can use the property values and basic information of the same or another object with these VBScript
variables:
Note: Some property definitions are not shown when using the PropertyValues variable in
scripts (see Property definitions not shown for scripts).
Do the following steps to use VBScript for calculating an automatic value for a property:
4. Expand a vault.
5. Expand Metadata Structure (Flat View) and then select Property Definitions.
8. Select either:
a. Customized automatic numbering (VBScript): Select this option if you want to define automatic
numbering using VBScript.
or
b. Calculated value (VBScript): Select this option if you want to define any other type of automatic
value using VBScript.
M-Files | 3. System Administration | 404
10.Specify the VBScript code for calculating the automatic value. For instructions, see Specifying an
Automatic Property Value Using VBScript.
The following code creates an automatic value for the "Proposal Title" property by utilizing the
proposal number and customer information in the object metadata. The ID of the Proposal
Number property is 1156 and the ID of the Customer property is 1288. If a document has the
proposal number 5577 and the customer is ESTT, the code below creates the following string as
the title of the proposal: "Proposal #5577 / ESTT".
Option Explicit
Dim szNumber
szNumber = PropertyValues.SearchForProperty( 1156
).TypedValue.DisplayValue
Dim szCustomer
szCustomer = PropertyValues.SearchForProperty( 1288
).TypedValue.DisplayValue
Dim szName
szName = "Proposal #" & szNumber & " / " & szCustomer
Output = szName
11.Close the Edit VBScript Code window once you are done.
12.Back in the Property Definition Properties dialog, click OK to save your changes and to close the
Property Definition Properties dialog.
The selected property now has an automatic value which is calculated by the VBScript code that you have
specified.
Automatically Validating Property Values
On the Validation tab of the Property Definition Properties dialog, you can define the criteria that
the values of a specific property should meet. For example, with validation you can ensure that the
property value contains a required number of characters. In this way, you can verify that the customer
phone number or invoice number is added correctly on the metadata card. You can also validate that, for
instance, the value can be accepted in relation to other properties or that the value is not empty.
Validation is specified by using variables, generic features of VBScript, and M-Files API. The following M-
Files variables can be used for validating property values: PropertyDef, PropertyValue, ObjVer,
DisplayID, Vault, CurrentUserID, CurrentUserSessionInfo, VaultSharedVariables,
SavepointVariables, TransactionCache, MFScriptCancel, GetExtensionObject,
MasterTransactionID, CurrentTransactionID, ParentTransactionID. For more information
about the variables, refer to Available VBScript Variables.
By default, validation is considered successful. Invalid values are thus detected using conditional
statements and should any of the conditions specified in the validation be met, then an error should be
raised, prompting the user to correct the invalid value (for instance, Err.Raise MFScriptCancel,
"The property must have a value of at least 10 characters.").
4. Expand a vault.
7. Either:
a. In the Property Definitions list, right-click the property, the values of which you want to be
automatically validated, and select Properties from the context menu.
or
b. In the task area, click New Property Definition to create a new property definition with automatic
value validation.
9. Select the Validation with VBScript option and click the Edit Code... button.
10.In the Edit VBScript Code window, type in the VBScript code for validating the values of this property.
If the values of this property must have at least 10 characters, you could use the following code:
Option Explicit
propertyName = PropertyDef.Name
value = PropertyValue.GetValueAsUnlocalizedText
End If
Note: The M-Files API documentation is available online: M-Files API. For more
information about using VBScript in M-Files, see the How do I write VBScript code for M-
Files purposes? tutorial.
11.Close the Edit VBScript Code window and then click Apply in the Property Definition Properties
dialog to save your changes.
The values entered for the selected property are now automatically validated. When entering a value for
the property on the metadata card, the value is validated and if it does not meet the criteria specified, the
action specified in the validation script is executed (such as displaying an error message).
M-Files | 3. System Administration | 409
The following table lists the descriptions for built-in property definitions that come included in the metadata
structure of every vault implementation. These property definitions are essential elements of every vault
metadata structure, and therefore modifying these definitions is restricted by design.
Access for viewing this property and editing the property in object metadata can be defined on the
Permissions tab.
If the user does not have the permission to view the property, it is not available for selection in M-Files (for
example, when you are creating a new search or when More properties is selected).
If the user cannot see the property, the user also does not have the permission to edit it. However, the user
may have the permission to see the property without having the permission to edit it. Editing in this case
refers to the user being able to edit the property in the object metadata in all possible ways: edit its value,
or add or delete the property.
Editing Permissions
4. Expand a vault.
• Users
• User groups
• Metadata Structure (Flat View) > Object types
• Metadata Structure (Flat View) > Value lists
• Metadata Structure (Flat View) > Property definitions
• Metadata Structure (Flat View) > Classes
• Metadata Structure (Flat View) > Class groups
• Workflows
• Named access control lists
8. Open Permissions.
9. In Users and user groups, select the user or user group whose permissions to change.
Allow: Enable this to explicitly give the permission to the selected user or user group.
Deny: Enable this to explicitly deny the permission from the user or user group.
The Deny setting is normally used to specify an exception to an Allow setting. For example,
when John Doe is part the group HR Managers, you can set Allow for the group and Deny for
John Doe.
12.Click OK.
Instead of having the property value selection field show a flat list of values, you can set it to show a
hierarchically ordered list, which can be built either on top of value lists or real object types. This section
explains how you can set up the property value selection field to show an object type based hierarchy. If
you would like to specify and use hierarchical value lists instead, see Value list hierarchy.
Tip: The values of a real object type based value list consist of actual objects in your vault,
whereas a simple value list only contains items that are added to the list manually, with M-Files
Admin or in the M-Files clients by users.
Before you can set a hierarchy to be used by a property, you of course must have one available to you.
See the example in Creating an Object-Based Hierarchy to get started. After you have finished creating the
hierarchy, you can put it to use as explained in Specifying Hierarchical Properties.
In this chapter
This example describes a scenario where a construction company wants to use a single hierarchically
ordered list of values for three separate properties referring to the location of a construction site. They want
the hierarchical value list to be based on actual objects in their vault.
To create the required metadata structure and objects for this kind of scenario, follow the steps provided
below. The names of the structure elements are examples only, and you can freely name them as you like.
M-Files | 3. System Administration | 415
First, open M-Files Admin and create the required metadata structure elements as instructed below.
1. Create an object type with the names Area (singular) and Areas (plural).
For instructions on creating object types, see Creating a New Object Type.
2. Create four property definitions that have the names listed below. All of them should be of the data type
Choose from list and should show values from the value list Areas, essentially consisting of various
Area objects in your vault.
• Belongs to area
• Construction site continent
• Construction site country
• Construction site city
For instructions on creating property definitions, see Creating a New Property Definition.
Tip: You can optionally set the following filters for the continent and country properties if
you want the continent property to only show continents and the country property to hide
cities from the list:
• Continent
• Country
• City
As the value of the Object type setting for each one, select Area.
Under the Properties section, add the Belongs to area property for all the three classes. This
way, the property is automatically added to the metadata card when you are creating these
objects later on.
Next, open M-Files Desktop and create a hierarchy of continent, country, and city objects using the newly
created metadata structure elements.
The top-level object must contain this property as well because it defines that it belongs to
the same hierarchy as its descendant objects (in this example, countries and cities).
e) Click Create once you are done.
f) Repeat these steps for as many objects of this class as you require.
M-Files | 3. System Administration | 416
Finally, open M-Files Admin again and, by following the instructions in Specifying Hierarchical Properties,
set the property definitions Construction site continent, Construction site country, and Construction
site city to use the Belongs to area hierarchy. The configuration should look similar to the one presented
below.
• Hierarchies
7. Click Save and close M-Files Admin once you are done.
Now, when you add the properties Construction site continent, Construction site country, and
Construction site city to the metadata of an object, they all show the same hierarchical list of areas that
you can use to select the location of the construction site.
M-Files | 3. System Administration | 417
To set a property of your choice to use an object-based hierarchy, do the following steps:
3. Expand the Configuration node and select Real Object Type Hierarchies.
5. Expand the newly created node and specify the values according to the information in the table below.
6. Click Save.
When the property specified in the Target Property setting is added to object metadata, the value
selection drop-down menu shows a hierarchically ordered list of values based on the property specified in
the Hierarchy Property setting. For an example, see Creating an Object-Based Hierarchy.
Note: After the changes have been saved and M-Files Server has been restarted, end users must
log out from and log back in to the vault to be able to use these type of lists. To log out all vault
users, restart the vault. However, taking a vault offline must always be done in a controlled manner
and the vault users must be notified beforehand.
Classes
A class is a metadata structure element designed to help categorize objects, improve consistency, and
make it easier for users to add object metadata. You can create classes and specify properties for each
class in M-Files Admin. When you select the class in the client, M-Files shows on the metadata card the
properties that the system administrator has specified for the class.
In this chapter
• New Class
• Permissions and Automatic Permissions
New Class
To create a new class in M-Files Admin, go to a vault in the left-side tree view and expand Metadata
Structure (Flat View) > Classes. In the task area, click New Class.
M-Files | 3. System Administration | 419
In this Class Properties dialog, you can add new properties with the Add button. If the Required
checkbox for the property is active, users must give a value for the property when they create an object
with that class. The settings in this example make sure that Name or title and Document date are given
for all Purchase Invoice objects.
M-Files | 3. System Administration | 420
The properties of a class can be a combination of normal M-Files properties and properties that are read
from an external database. However, make sure that the external database connection is enabled before
you add internal properties to a class.
Set As Name
Any property of the class can be set to specify the name of the object. This makes the naming of objects
in a class more consistent. This property can be very useful when you work with automatic values (see
Property Definition Automatic Values). For example, the automatic value of the property can be set to be
the name of the proposal document.
The Update names function (found on the M-Files Admin task area for a class) can be used to update the
names of all existing objects in the class to conform to the new definition.
You can define a default workflow for new objects in this class. For example, all invoices can be set to use
the invoice circulation workflow.
If a specific workflow is forced for new objects in the class, the workflow cannot be deleted or changed.
For example, the Purchase Invoice Approval workflow can be specified as compulsory for a new document
created in the Purchase Invoice class.
Templates
You can define templates to be used when creating new objects in this class. To specify a document or
other object as a template, add the property Is template and set it to Yes. Templates are class-specific.
You can specify the template to be a part of several classes by specifying multiple classes for the object
being used as a template, with the Additional Classes property.
In the Advanced tab, you can specify an alias for the class. For more information, see Associating the
Metadata Definitions.
Follow the steps provided below to create a new class to your M-Files vault.
4. Expand a vault.
7. In the Name field, type in a descriptive name for the new class.
8. Using the Object type drop-down menu, select the object type that the class is to be associated with.
9. Optional: Using the Properties table, define which properties are to be automatically added to the
metadata card when this class is selected.
10.Optional: Using the Default workflow for new objects drop-down menu, specify the default workflow
to be associated with the class.
Enable Force this workflow for new objects to require the selected workflow to be used for any
new objects with this class.
11.Optional: On the Permissions tab, you can specify the users who may see this class or attach objects
to it.
12.Optional: On the Automatic Permissions tab, you can specify whether or not objects of this class
receive automatic permissions.
13.Optional: On the Advanced tab, you can define aliases for the class using the Aliases field.
For more information, see Aliases for Associating Metadata Between Vaults.
When automatic aliases are in use and you write a name on the General tab, the Aliases
field on the Advanced tab is automatically filled in. The alias has the format <predefined
prefix>.<name>. Configure automatic aliases for your vault in Advanced Vault Settings.
14.Click OK.
The new class is added to the list of classes in M-Files Admin and can be selected for objects in M-Files
Desktop.
Assignment Class
When you are creating a new class with the object type Assignment, an additional tab appears to the
Class Properties dialog, the Assignment Details tab. It enables you to select the assignment type and
certain conditions related to the completion or approval of the assignment.
Assignment types
There are two types of assignments, task assignments and approval assignments. The assignees of the
task assignments simply mark the assignment complete when they have successfully carried out the task,
M-Files | 3. System Administration | 422
whereas the assignees of approval assignments have more say in the actual approval process: they can
use the assignment for approving or rejecting the target object.
In both cases, you can set the completion of the assignment to require action from all or any assignees.
You may also want to require an electronic signature.
Permissions
On the Permissions tab, you can specify who can see this class and set the class for objects. System and
vault administrators can always see all classes and set them for objects.
Automatic permissions
An object receives automatic permissions when a class with automatic permissions specified is added to
the object metadata.
You can activate the automatic permissions by value, value list, object type, or class. You can specify
the automatic permissions for each class in the same way as for each value. For more information, see
Enabling Automatic Permissions for a Value List Item.
Note: Micro Focus IDOL and Smart Search: If more than four automatic ACL sources control the
permissions of an object, only administrators can see it in search results.
Editing Permissions
4. Expand a vault.
• Users
• User groups
• Metadata Structure (Flat View) > Object types
• Metadata Structure (Flat View) > Value lists
• Metadata Structure (Flat View) > Property definitions
• Metadata Structure (Flat View) > Classes
• Metadata Structure (Flat View) > Class groups
• Workflows
• Named access control lists
8. Open Permissions.
M-Files | 3. System Administration | 423
9. In Users and user groups, select the user or user group whose permissions to change.
Allow: Enable this to explicitly give the permission to the selected user or user group.
Deny: Enable this to explicitly deny the permission from the user or user group.
The Deny setting is normally used to specify an exception to an Allow setting. For example,
when John Doe is part the group HR Managers, you can set Allow for the group and Deny for
John Doe.
12.Click OK.
Class Groups
You can create class groups to combine document classes into categories. This makes it easier to select a
class when you create documents. You can create class groups for the document object type only.
4. Expand a vault.
The name can be, for example, 4. Meetings for a class group that contains classes for
documents related to meetings, such as Memo, Meeting Notice, or Agenda. Class groups are
shown in the class selection drop-down menu in alphabetical order. You can use numbers at the
start of the group names to change the order of the list.
9. Optional: To create a class and add it to the class group, click New Class.
10.Select the classes that you want to add to the new class group and then click Add.
You can select more than one item at once. Hold down the Ctrl key to select multiple individual
items or hold down the ⇧ Shift key to select adjacent items on the list.
M-Files | 3. System Administration | 424
11.Optional: In Members, you can select a class and click the ↑ or the ↓ button to rearrange the classes.
The ordering changes the order in which the classes are shown in the class selection drop-down
menu in M-Files Desktop.
12.Optional: In Members, select a class and click Edit to change its properties.
13.Optional: To remove a class from the class group, in the Members list, select the group to be removed
and click Remove.
This only removes the class from the class group. It does not delete the class.
14.Optional: Select one or more classes and click Add properties to add one or more properties to the
selected classes.
To change the order of the added properties, you must edit each class separately.
15.Optional: Open the Permissions tab to specify the users who may see the new class group.
In this chapter
• Editing Permissions
Editing Permissions
4. Expand a vault.
• Users
• User groups
• Metadata Structure (Flat View) > Object types
• Metadata Structure (Flat View) > Value lists
• Metadata Structure (Flat View) > Property definitions
• Metadata Structure (Flat View) > Classes
• Metadata Structure (Flat View) > Class groups
• Workflows
• Named access control lists
8. Open Permissions.
9. In Users and user groups, select the user or user group whose permissions to change.
Allow: Enable this to explicitly give the permission to the selected user or user group.
Deny: Enable this to explicitly deny the permission from the user or user group.
The Deny setting is normally used to specify an exception to an Allow setting. For example,
when John Doe is part the group HR Managers, you can set Allow for the group and Deny for
John Doe.
12.Click OK.
This section deals with managing vault users and user groups in M-Files Admin.
In this chapter
• Users
• User Groups
• External Repository Users
• External Repository User Groups
Users
Under the Users node of a vault in M-Files Admin, you can add users to the vault, thus assigning a name
to the user and specifying the user's permissions. Each user object is based on a server login account (see
Login Accounts).
M-Files assigns each user a unique ID, which can be found in the user's properties in M-Files Admin.
Deleting users
As a general rule, users should not be deleted from the vault because they contain a lot of information
that might still be needed later on. The user objects hold, among other things, user interface preferences,
information about the favorite objects of the user, and records about notifications related to the user. M-
Files Admin does not allow the delete operation to be undone, so it should be carried out only if you are
absolutely certain the user information will no longer be needed. You might, instead, want to consider
disabling the user. For more information about disabled users, go to Creating a User and search for
disabled in step 9.
M-Files | 3. System Administration | 426
In this chapter
• Creating a User
• Importing Users
• Vault User Permissions
• Enabling or Disabling Many Users
Creating a User
In M-Files Cloud, you can create a user in M-Files Manage. For instructions, refer to Creating Users in the
M-Files Manage user guide.
4. Expand a vault.
5. Click Users.
Tip: If the list contains a large number of items, you might want to filter it. To filter the
view, open the View menu and click Filter. Enter a desired text to filter the column
contents.
7. Use the Login account drop-down menu to select a login account for the user or select New login
account... from the same drop-down menu to create a new login account for the user.
For instructions on creating a new login account, see Creating a Login Account.
The Full name field is updated with the full name information of the selected login account.
8. Use the Vault language drop-down menu to select the default vault language for the user from the list
of available vault languages.
For instructions on adding a new vault language, see Languages and Translations.
9. Set the properties and administrative rights for the new user in the selected vault by checking or
unchecking the relevant check boxes:
Option Description
External user
Users can be grouped into external and internal users. A user can
be defined as an external user by enabling the External user option.
M-Files | 3. System Administration | 427
Option Description
External users cannot see or access any documents other than those
specifically marked for them. By default, they do not have permissions
to view any documents. For example, you can define your customers as
external users and grant them access to customer-specific documents in
the document vault.
User cannot create or The user cannot create or modify private views or private notification
modify private views or rules. Private views and notification rules are visibile only to the user who
notification rules created them, whereas common ones are visible to all vault users.
Full control of vault
With this option, the user is assigned all administrative permissions in the
vault.
Destroy objects
The user has the permission to permanently destroy objects.
M-Files | 3. System Administration | 428
Option Description
Force undo checkout
A user with this permission can undo the checkout made by another
user. For example, if a user has forgotten to check in a document that
others should be able to edit, a user with this permission can check in the
document. In this case, the changes made to the document during the
checkout will not be saved on the server.
Note: The user with this permission has the power to obtain edit
rights to documents that they would normally be able to only read.
Change metadata
structure The user has the permission to modify document vault metadata, such
as add new document classes or value lists. For example, if you want
to change the Invoice document class so that the Project property field
must be filled in for each invoice, you can make the change if you have
this permission. Even if the user does not have the permission to do this,
the user can still add new metadata fields to individual objects using the
metadata card.
Manage workflows
This permission enables the user to create, edit and delete workflows in
M-Files Admin.
10.Optional: On the Permissions tab, specify the users or user groups who may see this user.
The system administrator and all users with full control of the document vault in question always
see all users.
a) On the Users and user groups list, select the user or the user group for which you wish to set the
permissions for seeing this user.
If the desired user or user group is not on the list, click Add... to add the user or user group to
the Users and user groups list.
b) Check either the Allow or Deny check box to modify the permissions of the selected user.
A new user is created and it is listed in the Users list. The new user can now access the selected
document vault with the permissions that you have defined.
Note: You can also import domain users to M-Files. For instructions, see Importing Users.
Importing Users
4. Expand a vault.
5. Click Users.
7. Select either:
a. Choose from list to select the user group using drop-down menus. In Domain, select the desired
domain. In Organizational unit, select the desired organizational unit within that domain. Finally, in
User group, select the user group that you want to import.
or
b. Enter Name. This option is especially useful if you have so many user groups that searching the
correct one from list is hard. Enter the name of the user group in the format <domain>\<user group>
and click Show.
The list area in the dialog is populated with the members of the selected user group.
8. Optional: Check the Include users from nested groups check box to be able to import login accounts
from nested groups within the selected user group.
The list area in the dialog is populated with the members of the selected user group and the
members of any user group nested within the selected user group.
M-Files | 3. System Administration | 430
You can select more than one item at once. Hold down the Ctrl key to select multiple individual
items or hold down the ⇧ Shift key to select adjacent items on the list.
10.Using the License type for new login accounts drop-down menu, select the license type for the login
accounts that are created for the imported users.
The users are imported to the selected vault and added to the Users list.
Vault User Permissions
The Permissions tab enables you to specify who may see this user.
Note: The system administrator and all users with full control of the document vault in question
always see all users.
Editing Permissions
4. Expand a vault.
• Users
• User groups
• Metadata Structure (Flat View) > Object types
• Metadata Structure (Flat View) > Value lists
• Metadata Structure (Flat View) > Property definitions
• Metadata Structure (Flat View) > Classes
• Metadata Structure (Flat View) > Class groups
• Workflows
• Named access control lists
8. Open Permissions.
9. In Users and user groups, select the user or user group whose permissions to change.
Allow: Enable this to explicitly give the permission to the selected user or user group.
Deny: Enable this to explicitly deny the permission from the user or user group.
The Deny setting is normally used to specify an exception to an Allow setting. For example,
when John Doe is part the group HR Managers, you can set Allow for the group and Deny for
John Doe.
12.Click OK.
You can enable and disable many users at the same time. This is especially useful if you have a lot of
users. You can also delete many users at once, but user deletion is not recommended.
3. Click Users.
a. To select a range of users, click the first user, hold down the ⇧ Shift key, and click the last user.
or
b. To select many individual users, click the first user, hold down the Ctrl key, and select the other
users.
6. If you selected Disable, click Yes in the dialog that is opened to confirm the operation.
User Groups
You can create, edit, remove and import user groups to your vault. Creating user groups makes it easier
to specify permissions for documents. You can combine into user groups individual users with a certain
common feature, such as their position in the organization (management, research and development, and
so forth).
M-Files | 3. System Administration | 432
You can manage the user groups in your vault by completing the following steps:
4. Expand a vault.
In this chapter
4. Expand a vault.
Tip: If the list contains a large number of items, you might want to filter it. To filter the
view, open the View menu and click Filter. Enter a desired text to filter the column
contents.
7. In the Name field, enter a name for the new user group.
9. Select the users to be added to the user group and click Add.
You can select more than one item at once. Hold down the Ctrl key to select multiple individual
items or hold down the ⇧ Shift key to select adjacent items on the list.
10.Optional: Enable the Group members are synchronized from the domain and click Define... if you
want to retrieve the users from a domain.
11.Optional: On the Advanced tab, define an alias for the user group.
When automatic aliases are in use and you write a name on the General tab, the Aliases
field on the Advanced tab is automatically filled in. The alias has the format <predefined
prefix>.<name>. Configure automatic aliases for your vault in Advanced Vault Settings.
The user group that you have just created is added to the User Groups list.
Note: Object permissions are updated as an asynchronous background task. Object permissions
may be updated when, for example, a named access control list, a user, a user group, or the value
of a pseudo-user (such as a project manager) is modified. You may monitor the progress of the
task in M-Files Admin in the Background Tasks section. For more information, see Monitoring
Background Tasks.
User groups can be imported by domain and by organizational unit. This makes importing user groups into
M-Files quicker and easier. M-Files can check for new and deleted user group members periodically.
M-Files | 3. System Administration | 434
Figure 48: User groups can be imported from the domain to the vault, allowing existing user groups in the domain to be used for
specifying permissions to vault content.
4. Expand a vault.
5. Click User Groups and then click Import User Group in the task area.
6. Select either:
a. Choose from list to select the user group using drop-down menus. In Domain, select the desired
domain. In Organizational unit, select the desired organizational unit within that domain. Finally, in
User group, select the user group that you want to import.
or
b. Enter Name. This option is especially useful if you have so many user groups that searching the
correct one from list is hard. Enter the name of the user group in the format <domain>\<user group>
and click Show.
The list area in the dialog is populated with the members of the selected user group.
M-Files | 3. System Administration | 435
7. Optional: Check the Include users from nested groups check box to be able to import login accounts
from nested groups within the selected user group.
The list area in the dialog is populated with the members of the selected user group and the
members of any user group nested within the selected user group.
8. Using the License type for new login accounts drop-down menu, select the license type for the login
accounts of the users to be imported.
9. Optional: Select the Check for new and deleted members every 15 minutes check box if you want to
keep the user group up to date and import new users automatically when they are added to the group.
The selected user group is imported to the selected vault and it is added to the User Groups list. In
addition, new login accounts are created for new users.
In this chapter
Or you can edit the synchronization settings of previously imported user groups. If the user group on the
domain is changed (it is for instance renamed or the grouping is changed), the earlier imported M-Files
user group can be merged with the new user group on the domain. This preserves the identity of the M-
Files user group regardless of changes in the domain user group, and the permissions related to it can
remain the same.
If you no longer wish to import users to a specific user group, you can also disable user group
synchronization altogether.
4. Expand a vault.
5. Click User Groups and then, on the User Groups list, double-click a user group that you want to edit.
6. Either:
If you want to Do the following
Import to users an existing user group Check the Group members are synchronized
from the domain check box, click the Define...
button and then define the import settings in the
dialog that is opened. See Importing User Groups
M-Files | 3. System Administration | 436
7. Click OK to save your changes and close the User Group Properties dialog.
User synchronization
In M-Files Cloud, user provisioning with M-Files Manage is the recommended method to synchronize user
groups with Microsoft Entra ID. User provisioning uses the SCIM protocol. Thus, user group management
is done in Entra ID and Entra ID pushes the users to M-Files. The process creates users to the M-Files
subscription, which lets you easily link an Entra ID user group to many vaults.
This method is available only in M-Files Cloud. To use this method, you must have an Microsoft Entra ID
Premium license. For more information and configuration instructions, refer to M-Files Manage User Guide.
There are two methods to set up user synchronization with Entra ID on the vault level. In both methods,
user group management is done in Entra ID, but they are different in how users are brought to M-Files.
With the SCIM method, Entra ID pushes the users to M-Files. With the plugin method, you specify the user
groups in M-Files Admin and M-Files periodically pulls the users from Entra ID.
• To use this method, you must have an Microsoft Entra ID Premium license.
• In an on-premises environment, this method lets you use Entra ID authentication only for M-Files
Desktop. In an on-premises environment, use the plugin method instead.
• Configuring Azure Active Directory Synchronization Plugin
• This is the recommended method for user synchronization from Entra ID in on-premises
environments.
In addition to the Azure AD synchronization plugin, you can also use the Okta user group synchronization
plugin. For instructions, refer to Configuring Okta User Group Synchronization Plugin.
Optional settings for Active Directory importing with the plugin method
After you have configured the synchronization plugin, you can adjust the behavior of the user group
synchronization with Active Directory (AD) importing settings. This is especially useful in environments with
large vaults and AD groups.
M-Files | 3. System Administration | 437
To open the settings, in the Advanced Vault Settings section of M-Files Admin, go to User Groups >
Active Directory Importing.
Recommendations:
• If the M-Files server has many vaults, we recommend that you set the synchronization to start at a
different time in each vault to improve system performance. To do this, change the Start Time of First
Import for each vault to specify different start times of the first import after the server startup.
Important information
See the table for information on what occurs in M-Files when the members of the synchronized AD groups
have changed.
Change Effects
Users added to AD groups
that are synchronized to M- • The users are added as vault users to the vault that contains the user
Files group.
• If the added users do not yet have M-Files login accounts, new login
accounts are automatically created for the users and the license
specified in the synchronization settings is applied to the new login
accounts.
• No changes are made to existing M-Files login accounts. For example,
if users have been assigned concurrent licenses, and they are added to
a group with named licenses, the users keep the concurrent licenses.
See the table for information on what occurs if you disable or delete synchronized users in the vault.
Change Effects
Synchronized users disabled By default, the users stay disabled. To enable the users again, they must
in M-Files be enabled in M-Files.
If you use a synchronization plugin, you can change the default behavior.
To do this, go to the Active Directory Importing settings and set Enable
Disabled Users from Imported Groups to Yes.
Synchronized users deleted The AD group synchronization does not create the deleted users again to
in M-Files the vault.
M-Files | 3. System Administration | 438
The Permissions tab enables you to specify who may see this user group.
Note: The system administrator and all users with full control of the document vault in question
always see all user groups.
Editing Permissions
4. Expand a vault.
• Users
• User groups
• Metadata Structure (Flat View) > Object types
• Metadata Structure (Flat View) > Value lists
• Metadata Structure (Flat View) > Property definitions
• Metadata Structure (Flat View) > Classes
• Metadata Structure (Flat View) > Class groups
• Workflows
• Named access control lists
8. Open Permissions.
9. In Users and user groups, select the user or user group whose permissions to change.
Allow: Enable this to explicitly give the permission to the selected user or user group.
Deny: Enable this to explicitly deny the permission from the user or user group.
The Deny setting is normally used to specify an exception to an Allow setting. For example,
when John Doe is part the group HR Managers, you can set Allow for the group and Deny for
John Doe.
12.Click OK.
When you connect a document vault to an external repository using the Intelligent Metadata Layer
technology, users in the external repository are imported to M-Files Server.
The External Repository Users view in M-Files Admin allows you to manage and refine associations
between M-Files users and external repository users. When you associate an M-Files user with an external
repository user, the M-Files user inherits the access rights of the external repository user. This way you
can refine the access rights of an M-Files user to external repository content.
Figure 49: To refine access rights of external repository content, you must map external repository users with M-Files users in M-Files
Admin.
Depending on your connector configuration, automatic associations between M-Files users and external
repository users may be established in external repository connections. See Automatic Association for
more information.
For more information on Intelligent Metadata Layer, see Intelligent Metadata Layer.
Note: External Repository Users is visible only if the selected vault has one or more active
external repository connections.
Complete the following steps to associate an M-Files user with an external repository user:
4. Expand a vault.
M-Files | 3. System Administration | 440
Tip: If the list contains a large number of items, you might want to filter it. To filter the
view, open the View menu and click Filter. Enter a desired text to filter the column
contents.
7. To associate an M-Files user with the selected external repository user, click the Add... button.
8. Select the M-Files user or users that you want to associate with the selected external repository user
and then click Add.
You can select more than one item at once. Hold down the Ctrl key to select multiple individual
items or hold down the ⇧ Shift key to select adjacent items on the list.
The selected M-Files user is now associated with the selected external repository user, and the M-Files
user has the same access rights to the external repository content as the external repository user when the
M-Files user accesses the external repository with M-Files.
When you connect a document vault to an external repository using the Intelligent Metadata Layer
technology, all or some of the user groups in the external repository are imported to M-Files Server,
depending on your connector configuration.
The External Repository User Groups view in M-Files Admin allows you to manage and refine
associations between M-Files users or M-Files user groups and external repository users or external
repository user groups. When you associate an M-Files user or user group with an external repository user
group, the M-Files user or user group inherits the access rights of the external repository user group. This
way you can refine the access rights of an M-Files user to external repository content.
M-Files | 3. System Administration | 442
Figure 50: To refine access rights of external repository content, you must map external repository user groups with M-Files users and
user groups in M-Files Admin.
Depending on your connector configuration, automatic associations between M-Files users or M-Files user
groups and external repository users or external repository user groups may be established in external
repository connections. See Automatic Association for more information.
For more information on Intelligent Metadata Layer, see Intelligent Metadata Layer.
Note: External Repository User Groups is visible only if the selected vault has one or more
active external repository connections.
Complete the following steps to associate an M-Files user or user group with an external repository user
group:
4. Expand a vault.
Tip: If the list contains a large number of items, you might want to filter it. To filter the
view, open the View menu and click Filter. Enter a desired text to filter the column
contents.
7. To associate an M-Files user or user group with the selected external repository user group, click the
Add... button.
8. Select the M-Files user or user group that you want to associate with the selected external repository
user group and then click Add.
You can select more than one item at once. Hold down the Ctrl key to select multiple individual
items or hold down the ⇧ Shift key to select adjacent items on the list.
The selected M-Files user or user group is now associated with the selected external repository user
group, and the M-Files user or user group has the same access rights to the external repository content as
the external repository user group when the associated M-Files user accesses the external repository with
M-Files.
M-Files integrates with the organization's administrative and executive processes. With workflows, you
can automate the routines of your organization and assign tasks to the correct people at the correct time.
Users receive email notifications about task-related issues, and managers can monitor task progress and
approve completed tasks.
You can use workflows for example for purchase invoice circulation. Workflow states can then include:
• Awaiting approval
• Approved
• Rejected
• Paid in full
You can select who can transfer the object from one state to the next and who is responsible for the next
workflow task. For example, only a management group member can give its approval for payments.
When the invoice is in the Approved state, the department for money transactions will automatically know
that a new invoice is awaiting payment. When the invoice is paid, it is moved to the Paid in full state.
Figure 51: Workflows make routine tasks of the organization easier. For example, purchase invoice process.
M-Files Admin includes a graphical user interface for workflow management. See Graphical Workflow
Designer for more information.
In this chapter
You can use the graphical workflow designer in M-Files Admin to create and edit workflows. Open M-Files
Admin, select the vault connection and then the vault in the left-side tree view. Finally, click Workflows.
Note: Install Internet Explorer 9 or later on the computer for the designer to operate.
M-Files | 3. System Administration | 445
Workspace
• The top section shows the available workflows and the task area commands New Workflow, Make
Copy, Delete and Properties.
• The bottom section shows the graphical workflow designer. See Using the designer and Task pane
commands for explanations of the designer-related task area commands.
The Save and Discard commands are in the top-right corner of the workspace, on the title bar of the
selected workflow. The Save command saves all the changes to the workflow. This includes the layout of
your graphical representation.
To change the workspace proportions, drag the workflow title bar up or down.
You can use the task area, the graphical designer area, and context menus.
To create new states, click New State in the task area or double-click an empty space on the canvas. The
dialog for a new workflow state opens.
Note: If a class has a default workflow and a new object is created in the class, the first state is
chosen automatically only if the first state is the first on the States list of the Workflow Properties
dialog. The order of states on the list overrides the order of states in the graphical workflow
designer.
Editing states
Deleting states
M-Files | 3. System Administration | 446
Drag and drop the workflow states to move them around on the canvas.
Arrow connectors between states show the workflow state transitions. To add connectors between the
states, move your cursor on the edge of a state rectangle and use drag and drop. The state rectangle has
green edges and the cursor changes into a cross (+) when you can draw a connector.
Sometimes the connectors can overlap with each other or with the state rectangles. Edit the connector
shape to make the layout easier to read. Select a connector and use the two handles to change the shape
of the connector.
You can Edit or Delete the selected state transition from its context menu, and Straighten the connector.
Double-click the connector to open the properties dialog for the transition.
Scroll your mouse to zoom in and out or drag the canvas around. Right-click an empty space on the
canvas to reset the zoom level.
States and state transitions can have context-specific task area commands, for example Edit State and
Straighten. The table below shows actions that are common for the designer and your entire workflow:
Click... To do this...
Re-layout Arrange workflow components to a default positioning.
Show Grid and Hide Show or hide the grid in the background.
Grid
Print Make a paper copy of the workflow.
Note: The print function uses the Page setup settings of Internet
Explorer for the page header and footer. Set the settings for the header
and footer to empty if you want to remove them from the printout. To
open the Page setup dialog, for example with Internet Explorer 10, click
the tools button in the top-right corner of the browser and select Print >
Page setup.
M-Files | 3. System Administration | 447
Click... To do this...
Export as Image Export the workflow as a PNG file. When you click Export as Image, the
common Windows save dialog for the image file opens.
Tooltips
Move the cursor over the state rectangles and connectors to see possible tooltips.
Tooltips can contain the element title, description, and information on the state transition conditions and
special actions.
You can automate company processes with workflows. To create a workflow, click Workflows in the left-
side tree view of M-Files Admin and select New Workflow in the task area.
In this chapter
4. Expand a vault.
5. Select Workflows.
You can also add states with the New State command in the graphical workflow designer. Use
the arrow buttons to change the order of the states.
Note: If a class has a default workflow and a new object is created in the class, the
first state is chosen automatically only if the first state is the first on the States list of the
Workflow Properties dialog. The order of states on the list overrides the order of states
in the graphical workflow designer.
10.Optional: In Allow using this workflow with the following class, select a class if you want to let
users select this workflow for objects of that class only.
11.Optional: On the Permissions tab, select who can see the workflow.
M-Files | 3. System Administration | 448
When automatic aliases are in use and you write a name on the General tab, the Aliases
field on the Advanced tab is automatically filled in. The alias has the format <predefined
prefix>.<name>. Configure automatic aliases for your vault in Advanced Vault Settings.
13.Click OK.
The new workflow is added to the list of workflows. Next, you can add workflow states and state transitions
to it.
To do this, select the workflow from the list and use the tools on the Tools pane. For step-by-step
instructions, see Adding States to a Workflow and Adding State Transitions to a Workflow.
Workflow States
Use workflow states to divide workflows into smaller stages. To add a state to a workflow, in the Graphical
Workflow Designer, double-click the canvas or select New State on the Tools pane. In the State
Properties dialog, specify the settings. See the information in the table.
When automatic aliases are in use and you write a name on the General
tab, the Aliases field on the Advanced tab is automatically filled in. The alias
has the format <predefined prefix>.<name>. Configure automatic aliases for
your vault in Advanced Vault Settings. For more information on aliases, see
Associating the Metadata Definitions.
In this chapter
4. Expand a vault.
M-Files | 3. System Administration | 449
5. Select Workflows.
10.Optional: On the Conditions tab, specify the preconditions and postconditions that must be met before
an object can be moved to or out of this state.
11.Optional: On the Actions tab, specify the actions that are done when an object is moved to this state.
The states are added to the workflow, and they are shown in the graphical workflow designer. Next, you
can add state transitions between the states.
Tip: To change the icons of the workflow states, open Metadata Structure (Flat View) > Value
Lists. Then click Show All Value Lists, double-click Workflows, and finally click Contents. Select
the workflow and the state and click Change Icon. For more information, see Changing the Icon of
a Value in a Value List
On the Conditions tab of the State Properties dialog, you can specify different preconditions and
postconditions for the state transitions. For example, you can select specified properties or their values that
a document must have before it is be moved to a different state. The conditions can also show users that
specified documents (for example, project documentation) must be on a certain level before it is possible to
move them to the next level.
It is possible to use variables, generic features of VBScript, and M-Files API to specify conditions that meet
special needs.
TransactionCache, and GetExtensionObject. For more information about variables, see Available
VBScript Variables.
Note: The M-Files API documentation is available online: M-Files API. For more information about
using VBScript in M-Files, see the How do I write VBScript code for M-Files purposes? tutorial.
M-Files | 3. System Administration | 451
Preconditions
The state preconditions specify the properties that an object must have before it can be moved to this
state.
For example, the document must contain the Approved by information before it is moved to the Approved
state.
Postconditions
The state postconditions specify the properties that an object must have for it to be moved out of this state.
For example, the purchase invoice must have the Cost center information before it is moved from the
Awaiting definition of cost center state.
Use the Actions tab of the State Properties dialog to specify what happens when an object is moved to a
specified workflow state. To open the dialog, see instructions on editing states.
Click on different parts of the screenshot below for a description of the settings.
M-Files | 3. System Administration | 453
M-Files | 3. System Administration | 454
In this chapter
As a result of a state transition, new permissions can be specified, and the object can be deleted, and
archived, or both. You can select several options of the Actions tab at the same time.
Set permissions
If you select this option, the object bypasses the automatic permissions that would usually be applicable to
the object. Use the Set permissions feature to change the effective permissions for the object version.
Ignore the permissions of the latest checked-in version for this version
The object permissions in M-Files are version-specific. To get access to the latest object version, you must
have at least read access to it. To get access to a previous version, you must have at least read access to
that specific version and to the latest version. If you select this option, M-Files ignores the permissions of
the latest checked-in version and gives users access to older object versions where they have at least read
access rights. The permission settings of the latest version do not change this access.
For example: There is an SOP and its workflow has the states Draft, Waiting for Approval, and Approved.
All three states have different permissions. A draft is shown only to the user who created the document,
and an approved document is shown to all users.
M-Files | 3. System Administration | 455
The document is now at version 3 and in the Approved state (and, thus, visible and accessible to all
users). It is moved back to the Draft state for changes and the permissions are changed so that only the
document creator can see it. If the option Ignore the permissions of the latest checked-in version for
this version is enabled, all users have access to the document version 3, but not to the latest one. If the
option is disabled, only the document creator can see the document version 3.
Note: Even if the Ignore the permissions of the latest checked-in version for this version
option is selected, the document is not visible in searches and views if the Look in the metadata of
all versions option is disabled.
Send notification
To send a notification, enable Send notification on the Actions tab and click Define. In the Notification
dialog, click Add to specify the recipient users and user groups. The Select Users or User Groups dialog
has also options to select users from metadata or from state transition.
You can use pseudo-users in state transitions. For example, you can specify that only the project manager
can accept invoices that are linked to the project. With pseudo-users, the right to do state transitions is not
assigned to a specific person. Instead, object metadata specifies the right dynamically.
You can use previous state transitions to select the users. For example, only the user who originally moved
the document to the Approved state can move the document from that state to Approval undone.
Use the Add Placeholder buttons to insert values from the object metadata to the subject line or message
content (see also the placeholder descriptions under Personalizing Notification Messages).
Set properties
It is possible that different object properties and values are added or changed when an object's state is
changed. For example, you can specify that the Published version label is given to a drawing when it is
moved to the Approved state.
Use the properties of the data type Date, Time, or Timestamp to have M-Files use the time value of the
state transition as the property value.
When the object's state changes, M-Files can convert the object files automatically to the PDF form.
Conversion to PDF is possible for Microsoft Word, Microsoft Excel, Microsoft PowerPoint, Microsoft
Outlook, and Visio files, as well as RTF and OpenOffice files.
During the conversion, M-Files updates the M-Files property fields in Microsoft Word and Microsoft Excel
documents with the object's current metadata.
M-Files | 3. System Administration | 456
Tip: If there are problems with non-English content, you can try to enable the Advanced Vault
Settings option PDF Conversion > Word Files > Extended Language Support.
Conversion settings
When you activate the Convert to PDF function from the Actions tab, M-Files converts the files in a
single-file or multi-file document to the PDF form automatically when the object's state changes. Click
Define to access these advanced settings for the conversion:
Store each PDF file as a separate file next to the original file: Select this option if you want to keep the
original file. In this case, M-Files creates the PDF as a new file with the same name as the original file. If
the document is a single-file document, M-Files changes it into a multi-file document and adds the PDF file
to it.
Overwrite existing PDF files: Select this option to overwrite existing PDF files with the same name in a
multi-file document. In this case, these PDF files are replaced with the versions created with the workflow
state action. If this option is not selected and a multi-file document already has a PDF file with the same
name, M-Files notifies of the error and does not create the PDF file.
Convert to PDF/A-1b: Select this option to comply with ISO standard 19005-1:2005 for long-term
preservation of electronic documents. PDF/A-1b is a more restricted format than standard PDF, and files
converted to PDF/A are often larger than files converted to standard PDF. In addition, in export to PDF/
A, certain advanced appearance settings can be ignored. Use the conversion to PDF/A form only if it is
necessary on account of, for example, requirements for long-term preservation.
Prevent state transition if the object contains files in an unsupported format: Select this option if you
want to prevent the state transition in cases the PDF conversion is not possible (for example, ZIP files). If
this option is selected and the PDF conversion is not possible, M-Files notifies of the error and prevents the
state transition.
Run script
It is possible to use variables, generic features of VBScript, and M-Files API to specify operations in more
detail. For example, you can set consecutive numbers for different publication versions or include the send
date for a document when it moves to the Sent state.
To use this functionality, enable Run script on the Actions tab, click Edit Code, and enter the script.
Note: The M-Files API documentation is available online: M-Files API. For more information about
using VBScript in M-Files, see the How do I write VBScript code for M-Files purposes? tutorial.
Assign to user
Assignments are an important part of workflows. Assignments move information and responsibility for
task completion to the correct person automatically during a state transition. M-Files has two types of
assignments with workflows: Assign to User and Create separate assignments.
Select Assign to User on the Actions tab if you want to create an assignment that does not result in a
separate object. If an assignment is created with this option, it is switched to the completed state when one
of the assignees changes the document state in the workflow (usually moves the object to the next state).
M-Files | 3. System Administration | 457
You can manage the persons responsible for the task with the Add and Remove buttons. When you add
users, select whether to add individual users from the Users or user groups list, users from metadata,
or users from state transition. For example, a person specified in the Approved by property in the object
metadata can automatically be set as the assignee. For more information on the Select Users or User
Groups dialog, see Workflow State Transition Permissions.
M-Files | 3. System Administration | 458
If the object is in a state that created an assignment, the object's properties show whom the object has
been assigned to. The assignee can change the state and complete the assignment with the functions in
the task area, metadata card, or in the context menu. For step-by-step instructions, see Workflows and
Completing an Assignment.
Note: If a user creates the assignment, only this user and users with the Full control of vault
rights can edit the Assigned to property value. However, if the assignment is created through a
workflow, only users with full control of the vault can edit the property value.
Assignments are an important part of workflows. Assignments move information and responsibility for
task completion to the correct person automatically during a state transition. M-Files has two types of
assignments with workflows: Assign to User and Create separate assignments.
You can specify M-Files to create separate assignments when the object workflow is moved to a certain
state. To open the Create Separate Assignment dialog, enable the Create separate assignments option
on the Actions tab and click Add.
If you want that the workflow state changes automatically after the completion of the separate
assignments, you must specify that in the Trigger options of the state transition.
You can manage the persons responsible for the task with the Add and Remove buttons. When you add
users, select whether to add individual users from the Users or user groups list, users from metadata,
or users from state transition. For example, a person specified in the Approved by property in the object
M-Files | 3. System Administration | 459
metadata can automatically be set as the assignee. For more information on the Select Users or User
Groups dialog, see Workflow State Transition Permissions.
Monitoring
You can specify M-Files to notify certain users each time a task is completed. To do this, click Monitoring
in the Create Separate Assignment dialog and select the users. M-Files makes the assignment submitter
automatically a task monitor.
Uncompleted and completed assignments are easy to identify, because their objects have separate icons.
Assignment class
The assignment class specifies the assignment type and assignment completion conditions. For more
information, see Assignment Class.
Assignment description
Add a free-form description of the task. The description is shown in the notification email that is sent to the
assignee. You can also include notification templates supported by M-Files in the description. For more
information on notification templates and placeholders, see Editing Notification Settings in M-Files Admin.
Deadline
You can specify a deadline for the assignment. M-Files sends an automatic reminder if the assignment
has not been marked complete when the deadline is approaching. The reminder is sent with a common
notification rule. An administrator can also delete the rule.
M-Files | 3. System Administration | 460
Tip: It can be useful to create a view to show assignments with an approaching deadline. For more
information about views, see Creating a View.
4. Expand a vault.
5. Select Workflows.
7. In the designer, select a workflow state to which you want to add a separate assignment and select Edit
State on the Tools pane.
8. On the Actions tab, select Create separate assignments and click Add.
10.Optional: Click Monitoring to add a user or users who will get a notification when this assignment is
marked complete, approved, or rejected.
11.In the Select assignment class drop-down menu, select the assignment class for the separate
assignment.
12.In the Title field, enter a title for the assignment. Click Add Placeholder to add placeholders for
metadata properties.
13.In the Assignment description field, enter a description for the assignment.
14.Optional: Select Deadline and specify the number of days for the separate assignment deadline.
The separate assignment is added to the workflow state. When an assignment with the related workflow is
moved to this state, M-Files creates a separate assignment and adds it as a linked assignment under the
primary assignment.
M-Files | 3. System Administration | 461
Workflow state transitions are used to move from one workflow state to another. Users can initiate the
transitions manually or M-Files Server triggers them automatically. You can also specify that electronic
signature is necessary to complete state transitions.
To see and edit the workflow state transition properties, in theGraphical Workflow Designer, select a state
transition arrow and click Edit Transition on the Tools pane. In the State Properties dialog, specify the
settings. See the information in the table.
Tab Description
General This tab contains the name and description of the state transition.
Permissions Here you can select the users who can complete the state transition. For more
information, see Workflow State Transition Permissions.
Electronic Signature Here you can turn on electronic signing for a state transition. In this case,
users must confirm the state transition with an electronic signature. For more
information, see Electronic Signatures.
Trigger Here you can select conditions for automatic state transitions. For more
information, see Trigger.
Advanced Here you can set an alias for the state transition. Use semicolons (;) to
separate many aliases. For more information about aliases, see Associating the
Metadata Definitions.
In this chapter
4. Expand a vault.
5. Select Workflows.
7. In the designer, place your cursor on the border of the state from which you want to create a state
transition.
8. Hold the primary mouse button and drag the crosshair to the state to which you want to create the state
transition.
9. Select the state transition arrow that you just created and select Edit Transition on the Tools pane.
10.In the Name field, enter a name for the state transition.
12.On the Permissions tab, specify which users are allowed to do the state transition.
13.Optional: Use the settings on the Electronic Signature tab to set an electronic signature for the state
transition.
14.Optional: Use the settings on the Trigger tab to specify a condition that triggers this state transition
when the condition is fulfilled.
The state transition is added to the workflow between the selected workflow states. An arrow is shown
between the states in the graphical workflow designer.
You can have many workflow state transitions between two states. This is useful, for example, to specify
many automatic transitions based on different criteria. For information about creating state transitions, see
Adding State Transitions to a Workflow.
Let's say we want to edit an existing sample vault workflow, such as Reviewing drawings so that an object
is automatically moved to the Rejected state if no one moves it from the Listed for approval state to the
Approved (or Rejected) state within 10 days.
M-Files | 3. System Administration | 463
Figure 58: The workflow moves an object to the Rejected state automatically if no one moves it to the Approved state.
4. Expand a vault.
5. Select Workflows.
If you already have a state called Rejected in your workflow, skip this and the next step, and go
to step 9.
9. In the designer, place your cursor on the border of the Listed for approval state.
10.Hold the primary mouse button and drag the crosshair to the Rejected state.
11.Do the steps 9 and 10 again to draw one more state transition.
12.Select one of the state transition arrows and select Edit Transition on the Tools pane.
If you see only one arrow between the states, it is possible that the arrows are on top of each
other. Click the topmost arrow and drag the handles to reshape the arrow.
13.Go to the Trigger tab, select the Trigger the state transition after option, and enter 10 in the days
field.
You now have a workflow with two parallel state transitions from the Listed for approval state to the
Rejected state. One state transition is initiated by users and another is triggered automatically if users did
not initiate the parallel state transition in 10 days.
Workflow State Transition Permissions
On the Permissions tab of the State Transition dialog, you can specify which users are allowed to do the
state transition.
Click Add to select users or user groups who can cause the state transition. The Select Users or User
Groups dialog also has options to select users from metadata or from state transition.
You can use pseudo-users in state transitions. For example, you can specify that only the project manager
can accept invoices that are linked to the project. With pseudo-users, the right to do state transitions is not
assigned to a specific person. Instead, object metadata specifies the right dynamically.
You can use previous state transitions to select the users. For example, only the user who originally moved
the document to the Approved state can move the document from that state to Approval undone.
Electronic Signatures
The Electronic Signatures and Advanced Logging module with the electronic signature feature expands the
M-Files workflows. You can use electronic signatures to certify the state transition. For example, approval
of documents.
When you set an electronic signature for the state transition, M-Files requires the signature to change the
state. The user must enter their identification data and log in to add the electronic signature. The state is
changed when the object is checked in.
You can change the state with a signature only one object at a time. Only users that use Windows
authentication can do state changes that require an electronic signature. The electronic signature does not
refer to an electronic "fingerprint".
Figure 60: You can require users to give their electronic signature before they can make a specific state transition in a workflow.
The Electronic Signatures and Advanced Logging module is available for a separate fee. This module
includes event logging extensions and the electronic signature functionality. For more information, see
Electronic Signing and Compliance.
Select Require electronic signature for this action to modify the options.
Signature meaning
With the Signature meaning options, you can select either a predefined signature reason-meaning
pair or specify multiple meanings for the signer to choose from. The signature reason is a brief heading-
level description for the signature, such as Approval of instruction document or Approval of invoice. The
signature meaning is a description that tells the signer what will be approved. The maximum number of
M-Files | 3. System Administration | 467
characters is 500, and you can use placeholders. The placeholders are listed in Placeholders for Signature
meaning, Signature reason, and Additional information fields.
Examples
If you entered "Signed by %SIGNED_BY%" in the Signature meaning, the actual signature description
that the user sees is, for example, Signed by Alex Kramer.
If you want the substitute user's name to be shown, use the %SIGNED_BY_WITH_PROXY% placeholder.
If you entered "Signed by %SIGNED_BY_WITH_PROXY%" in the Signature meaning and Alex Kramer
signs, the signature description will be Signed by Alex Kramer. If the signer is a substitute user of Alex, the
signature description will be Signed by Andy Nash, on behalf of Alex Kramer.
In the image, the user has defined this signature meaning: "By moving this drawing from state
%SIGNED_FROM_STATE% to %SIGNED_TO_STATE%, I confirm the drawing to be ready for the
delivery to the client."
Signature metadata
You can set the electronic signature to require the signer to add a value for a selected metadata property,
such as Comment. The text is saved either to a separate signature object (see Create a separate
signature object) or to the object with the workflow. You can also add more information to the Additional
information text box. In Additional information, you can use placeholders (listed in Placeholders for
Signature meaning, Signature reason, and Additional information fields).
Select this option if you want to create a new object for the signature. Then the signature object is
automatically in relationship with the object where the state transition is in use.
M-Files | 3. System Administration | 468
Note: M-Files can create the signature objects only when you set up certain metadata definitions.
For more information, see Metadata Definitions for an Electronic Signature Object.
Identifier
The identifier is free-form text. You can set, for example, Purchase Invoice Approval as the identifier. In the
creation of the signature object, the identifier becomes a part of the metadata for the object. The Identifier
property can be used in, for example, scripts for state-transition functions or in searches to individualize a
certain type of signature.
Select the property that you want the signature to be associated with. Then the specified content of the
signature is shown as the property value in the metadata of the object. The default property is Signature
manifestation. The text content of the signature property consists of the reason, meaning and additional
information for the signature.
Note: If you use the same property for signatures of all state transitions in the workflow, such as
the default property Signature manifestation, you can see only the latest signature manifestation
in the metadata of the object's latest version. You can find other signatures with their contents
(manifestations) from the version history of the relevant object.
You can also create a separate property definition of your own for each signature of the relevant state
transition in the workflow. Then you can see all of the properties created and their signature content
(manifestations) in the metadata of the object's latest version.
Note: If you first create a property in the Property definitions area, specify its permissions in such a
way that the users can see the property used in the signatures but cannot edit it.
Placeholders for Signature meaning, Signature reason, and Additional information fields
The available placeholders to be used with the Signature meaning, Signature reason, and Additional
information fields are listed in this table.
Placeholder Description
%SIGNED_AT_UTC% The UTC time at the time of signing. You can use this
placeholder only with the Additional information field.
%SIGNED_AT_LOCAL% The time on the client computer at the time of signing.
You can use this placeholder only with the Additional
information field.
%SIGNED_AT% The time on the server computer at the time of signing.
You can use this placeholder only with the Additional
information field.
%SIGNED_BY% The signer name.
%SIGNED_FROM_STATE% The source state.
%SIGNED_TO_STATE% The target state.
%SIGNED_FOR_STATETRANSITION% The title of the state transition for which the electronic
signature is required.
M-Files | 3. System Administration | 469
Placeholder Description
%SIGNED_BY_WITH_PROXY% Shows the name of the signer and the user on behalf
of whom an assignment is electronically signed. For
example: "Preston Present, on behalf of Abraham Absent".
See the usage examples.
In this chapter
In order for automatic signature objects to be created in M-Files, aliases must be created for the new object
type as well as for the required property definitions. The aliases are used for creating objects at the time of
signing. If you are using M-Files Compliance Kit, these definitions should already be available. Otherwise,
you should create the metadata definitions below to activate the separate signature objects.
Object type
Create a new object type and name it, for example, the Signature object type. In the advanced settings,
specify the object type alias:
M-Files.QMS.Signature.ObjectType
When you have created the new object type, M-Files automatically creates an equivalent property
definition. Select this property definition in the property definitions and add the following alias:
M-Files.QMS.Signatures
You can freely name the required property definitions mentioned above, but you should use the most
descriptive names possible, since this information is shown in the metadata of the signature object.
You can also create various optional property definitions for the signature object. For example, you may
want to create a new property definition for additional signature information with the data type Text (multi-
line) and add the following alias:
M-Files.QMS.Signature.AdditionalInfo
Executed, empty, and invalidated signature objects and how to utilize them
You can also create so-called empty signature objects and use them to monitor which signatures have not
yet been signed and which signatures have already been executed. You can utilize these empty, executed,
and invalidated signature objects creating different classes for the signature object type.
M-Files | 3. System Administration | 471
Here are the aliases which, if specified for classes of the Signature object type, are utilized by M-Files in
various phases of electronic signing:
M-Files.QMS.Signature.Class.Empty
M-Files.QMS.Signature.Class.Executed
M-Files.QMS.Signature.Class.Invalidated
Permissions
Metadata definitions (object type and property definitions) created for the automatic signature object should
be secure; it should not be possible to create signature objects manually or change their metadata. Also
the property definition that binds the signed object to the signature must be secure. If you are using M-Files
Compliance Kit, these definitions are already available.
When you have created the necessary definitions and chosen creation of a separate object for the
signature, the object will be automatically created after signing.
The name of the signature object is created automatically from the signature reason, signer and
timestamp.
Other metadata for the signature object are created automatically on the basis of the signature definitions.
The text content of the signature property can be added to a Microsoft Word, Microsoft Excel, or Microsoft
PowerPoint document in the same way as other M-Files properties.
When the user selects the added property from the list, the property name, such as the name of the built-
in property Signature manifestation, is displayed. This is why it is recommended to make the name of the
property as unambiguous as possible.
When the property is selected, M-Files automatically adds the text content to the document. You should
bear this in mind when you define the reason and meaning for the signature.
Figure 63: The signature content (manifestation) can be added to Microsoft Office documents by using the Insert Property function.
M-Files | 3. System Administration | 472
Note: If the signature is inserted in the Microsoft Office document and you want to cancel the state
transition, you should cancel it manually by removing the property value (signature manifestation)
or the property itself, in order for the cancellation to apply for the document. In most cases, rolling
back this kind of state transition to the previous state requires system administrator rights.
Trigger
On the Trigger tab of the State Transition dialog, you can define a trigger to automatically start a state
transition when certain conditions are fulfilled. For example, you can define a state transition to occur when
all the assignments of the current workflow state are completed or approved.
Figure 64: An automatic state transition for an object can occur for example on the basis of the property values of the object.
The server does automatic state transitions. User permissions are ignored. This means that you can
use permissions to prevent users from manually starting a state transition. M-Files Server does the state
transition when all the assignees have completed the task.
You can define an automatic state transition to occur when an object fulfills certain conditions. You can
configure, for example,that the object is moved to the next state when a user gives it a certain property or
certain property value. For example, in the message process workflow, you can define that when a user
adds a date to the Sent field for the document, the document will automatically be moved to the Sent state.
You can also define that the state is changed after users have completed, approved, or rejected all
separate assignments. As an alternative, you can specify custom criteria for the state change. For more
information about filter settings, see Status-Based Conditions, Property-Based Conditions, File Information
Based Conditions, and Permissions-Based Conditions.
You can also write a script that makes the state transitions occur. This allows you to specify the transition
conditions in more detail with variables, generic features of VBScript and M-Files API. For example, you
can define several state transitions related to the properties and property values at the same time.
In this script, you can use these M-Files variables: StateID, StateTransitionID,
AllowStateTransition, NextStateID, ObjVer, DisplayID, Vault, CurrentUserID,
CurrentUserSessionInfo, PropertyValues, VaultSharedVariables, SavepointVariables,
TransactionCache, MFScriptCancel, GetExtensionObject, MasterTransactionID,
CurrentTransactionID, ParentTransactionID. For more information about variables, see Available
VBScript Variables.
M-Files | 3. System Administration | 473
Note: The M-Files API documentation is available online: M-Files API. For more information about
using VBScript in M-Files, see the How do I write VBScript code for M-Files purposes? tutorial.
Evaluation priority
With the evaluation priority, you can define the priority of parallel state transitions on M-Files Server. The
priority is sorted from the lowest to the highest number. Zero (0) represents the highest priority.
You can define in which vaults the state transition occur. Enter the vault GUIDs separated by semicolons
(;).
M-Files evaluates the state transition trigger every 60 minutes and every time the object is changed.
A named access control list is a list of permissions that can be attached to an object. It is a list consisting of
one or more subjects (users, user groups, or pseudo-users) and operations (delete, edit, read, or change
permissions) that are either allowed or denied to those particular subjects. Named access control lists
make managing permissions in M-Files very quick and effortless.
Tip:
The best practice to specify access rights in named access control lists is through user groups
instead of individual users.
Making changes to named access control lists in large vaults can be very slow and may therefore
sometimes cause lock conflicts. Therefore, it is recommended that changes to named access
control lists and, in turn, to object permissions are made during off-peak hours when user access to
the vault is limited.
In this chapter
4. Expand a vault.
Tip: You can also use an existing access control list as a template. To do this, right-click
one of the existing ones in the listing area and select Create Copy.
M-Files | 3. System Administration | 474
7. In the Name field, enter a descriptive name for the named access control list.
It is recommended to name the named access control list according to the members of the list
and the permissions given to them, such as Visible to company management only.
8. Click Add to add users or user groups to this named access control list.
a. The Users or user groups option and select the users or user groups that you wish to add to this
named access control list.
Tip:
The best practice to specify access rights in named access control lists is through user
groups instead of individual users.
Making changes to named access control lists in large vaults can be very slow and may
therefore sometimes cause lock conflicts. Therefore, it is recommended that changes to
named access control lists and, in turn, to object permissions are made during off-peak hours
when user access to the vault is limited.
Tip: You can select more than one item at once. Hold down the Ctrl key to select multiple
individual items or hold down the ⇧ Shift key to select adjacent items on the list.
or
b. The User from metadata option and use the drop-down menu to select the property containing
users or user groups on the basis of which permissions are granted. For more information, see
Pseudo-users.
10.Click Add to add the selected users or user groups to the named access control list and to close the
Select Users or User Groups dialog.
11.Back in the Named Access Control List Properties dialog, select the user or user group whose
permissions you want to adjust from the Users and user groups list.
12.Select the permission that you want to adjust and check either:
a. The Allow check box if you want to allow the selected permission for the user or user group.
M-Files | 3. System Administration | 475
or
b. The Deny check box if you wanto to deny the selected permission for the user or user group.
Tip: For optimal performance in large vaults, named access control lists should only be used
to allow access rights instead of explicitly denying them.
13.If you want to adjust additional permissions, repeat the steps 11 and 12.
14.Optional: On the Permissions tab, you can specify the users who can see this named access control
list.
15.Optional: On the Advanced tab, you can specify an alias for the named access control list.
When automatic aliases are in use and you write a name on the General tab, the Aliases
field on the Advanced tab is automatically filled in. The alias has the format <predefined
prefix>.<name>. Configure automatic aliases for your vault in Advanced Vault Settings.
16.Click OK.
The new named access control list containing a set of permissions can now be attached to an object with
the permission control on the metadata card.
When you modify a named access control list, the modified permissions are applied to either new
and existing objects to which the named access control list is already attached or to new objects only,
depending on your choice.
4. Expand a vault.
The list of named access control lists in the selected vault is opened in the right-side pane.
M-Files | 3. System Administration | 476
6. In the Named Access Control Lists list, right-click the item that you want to edit and select Properties
from the context menu.
7. Optional: On the General tab, click Add... if you wish to add a new user or user group to this named
access control list.
a) Select the user or user group that you want to add to the named access control list.
Tip:
The best practice to specify access rights in named access control lists is through
user groups instead of individual users.
Making changes to named access control lists in large vaults can be very slow and
may therefore sometimes cause lock conflicts. Therefore, it is recommended that
changes to named access control lists and, in turn, to object permissions are made
during off-peak hours when user access to the vault is limited.
Tip: You can select more than one item at once. Hold down the Ctrl key to select
multiple individual items or hold down the ⇧ Shift key to select adjacent items on the
list.
a) Optional: Select the User from metadata option if you want to add users based on metadata
properties to the named access control list. Use the drop-down menu to select the desired property.
For more information, see Pseudo-users.
b) Click Add to add the users or user groups to the named access control list.
8. Select the user or user group whose permissions you wish to adjust from the Users and user groups
list.
9. Depending on your choice, select either the Allow or Deny option for the desired operations.
10.Click OK once you are done to close the Named Access Control List Properties dialog.
11.Optional: If the selected named access control is already used in the permissions of one or more
objects, the Confirm Update dialog is opened.
a. Click Change Objects' Permissions if you wish to apply your changes to the permissions of
existing objects that use the selected named access control list in their permissions.
or
b. Click Preserve Objects' Permissions if you do not wish to apply your changes to the permissions
of existing objects that use the selected named access control list in their permissions.
The changes you have made are to the named access control list are saved and applied, depending on
your choice, to new and existing objects that employ the selected named access control list or to new
objects only.
M-Files | 3. System Administration | 477
Access for viewing the selected access control list can be defined on the Permissions tab. The selected
list can be made invisible to certain users.
Note: The system administrator and all users with full administrative access to the document vault
in question always see all the named access control lists.
Editing Permissions
4. Expand a vault.
• Users
• User groups
• Metadata Structure (Flat View) > Object types
• Metadata Structure (Flat View) > Value lists
• Metadata Structure (Flat View) > Property definitions
• Metadata Structure (Flat View) > Classes
• Metadata Structure (Flat View) > Class groups
• Workflows
• Named access control lists
8. Open Permissions.
9. In Users and user groups, select the user or user group whose permissions to change.
Allow: Enable this to explicitly give the permission to the selected user or user group.
Deny: Enable this to explicitly deny the permission from the user or user group.
The Deny setting is normally used to specify an exception to an Allow setting. For example,
when John Doe is part the group HR Managers, you can set Allow for the group and Deny for
John Doe.
12.Click OK.
You can manage vault-specific client and server applications in M-Files Admin. These applications allow
you to modify and extend the behavior of your M-Files Desktop and M-Files Server. This way you can
choose to give priority to the functions that are the most important for the efficiency of your organization.
• Client applications run on M-Files client computers and affect the behavior of M-Files Desktop and the
classic M-Files Web.
• Server applications run on the M-Files server computer and affect M-Files server behavior.
Creating applications requires advanced programming skills. Instructions for the programming are available
from the M-Files technical staff for a separate fee. For more documentation and sample applications, refer
to M-Files Developer Portal.
Important information
• In a shared M-Files Cloud environment, vault administrators can install signed applications only.
For more information on installing vault applications in M-Files Cloud, refer to Who can install vault
applications in M-Files Cloud? in M-Files Support Portal.
• To install a signed application in an on-premises environment, the server machine must use M-
Files June '22 Update or later. Additionally, the server operating system must have the latest root
certificate authority (CA) certificates. If you cannot install the signed application, try to install an
unsigned version of the application if one is available.
3. Do one of these:
or
b. Expand Ground Link Proxies, and then right-click a Ground Link proxy to configure the connector
over Ground Link.
4. Select Applications.
5. Do one or more of the operations listed here. Take note that, in most cases, it is necessary to restart
the vault for the changes to take effect. Taking a vault offline should always be done in a controlled
manner and the vault users should be notified beforehand.
If you want to... Do the following steps:
Install a new application
! Warning: Do not install applications from
untrusted sources.
Uninstall an application
a. Select the application that you want to uninstall
in the applications listing.
b. Click Uninstall.
c. Click Yes to confirm uninstalling the
application.
d. Click Yes to restart the vault.
Export an application
a. Select the application that you want to export
in the applications listing.
b. Click the Export button.
c. Select the location and the file name for the
export package and click Save.
The changes you have made to the selected document vault should now be effective.
For information on enabling the applications in M-Files Desktop, see Managing Vault Applications in M-
Files Desktop.
The configurations editor in M-Files Admin allows you to define configurations for the following features of
the vault:
Note: The configurations editor is available in English only. The editor requires Internet Explorer 9
or later to be installed.
Note: You must have the Full control of vault administrative right to use the configurations editor.
For more information, see Users.
M-Files | 3. System Administration | 481
The configurations in the editor are hierarchical. You can select subsections of a configuration in the gray
navigation area, and the scope of the configuration shown in the Configuration or the Advanced tab
changes accordingly.
The configurations are defined in the Configuration tab. They may consist of configuration groups and
subgroups, and configurations keys and subkeys. Subitems in a group or a key can be expanded or
collapsed by clicking the arrow icon ( or ) next to the configuration key.
The Info tab provides you information about the use and purpose of the currently selected configuration
key:
M-Files | 3. System Administration | 482
You may also hover your mouse cursor over the information icon ( ) next to the configuration key to see
the same information.
You may comment a setting by selecting a setting and writing your comment in the Comment tab at the
bottom of the Configurations pane:
Commenting a setting may be useful if you, for example, want to inform other administrators as to why a
certain setting is used.
If there are errors in your configuration, they are shown in the Local or Server tab at the bottom of the
Configurations pane.
The Dashboard tab provides you information on the selected configuration category. It may also contain
an overview and status of your current configurations in the selected category.
The configurations are stored in JSON format. You may inspect, edit, as well as copy and paste the
configurations in plain JSON format in the Advanced tab.
In this chapter
4. Expand a vault.
5. Select Configurations.
M-Files | 3. System Administration | 483
7. In the gray navigation area, locate and select the configuration key that you want to modify by
expanding and navigating the configuration tree:
or
b. Click the relevant Add button to add a new configuration value or subvalue.
M-Files | 3. System Administration | 484
or
c. Open the Dashboard tab and click the relevant Add button to add a new configuration.
Configuration fields highlighted in red are required fields that must have a value.
If a configuration value requires a reference to a vault metadata structure item, you may
enter the first few letters of the name of the item in the configuration field and the editor then
suggests appropriate values. As you select an item from the available suggestions, the editor
automatically resolves the reference by the alias or ID of the item. You may change the type of
reference by clicking the value to the right of the equals sign and pressing the down arrow key:
If you are for example configuring a metadata card description for a certain object type, you may add
translations for the text used in the description, so that a vault user with the appropriate language settings
can see the description on the metadata card in the correct language.
4. Expand a vault.
5. Select Configurations.
6. In the gray navigation area, expand the configuration category that you want to edit and then locate the
configuration key for which you want to add translations.
The keys for which you can add translations can be identified by the cogwheel icon ( ) shown
in the value field.
7. Click the cogwheel icon ( ) on the right side of the configuration value field.
8. Use the Default language drop-down menu to select the default language.
The translation for the default language is used if the requested translation is not available.
9. Use the Language drop-down menu to select the language of the value.
Exporting Configurations
You can export vault-specific configurations to a file and use the export file to import configurations, for
example, to another server computer.
M-Files | 3. System Administration | 486
4. Expand a vault.
5. Select Configurations.
6. In the gray navigation area, expand the configurations that you want to export.
7. In the gray navigation area, right-click a setting node and select Export to File... from the context
menu.
9. Click OK.
Importing Configurations
You can import vault-specific configurations from a configuration export file. This way you can, for example,
import configurations from one M-Files server computer to another.
4. Expand a vault.
5. Select Configurations.
6. In the gray navigation area, right-click a configuration category and select Import from File... from the
context menu.
7. Locate and select the configuration export file, and then click Open.
8. Click OK.
9. Right-click the category and select Save All from the context menu to save the imported configurations.
M-Files | 3. System Administration | 487
The settings in the Advanced Vault Settings section of the M-Files Admin configurations editor allow you
to control how the vault functions. These settings were previously available as Microsoft Windows registry
settings. Settings added with the Advanced Vault Settings section are included in vault backups.
In the Advanced Vault Settings section, the system administrator can configure all the functionalities
listed in the table below. The table gives an overview of which settings also a user with the Full control of
vault administrative rights can adjust.
Note: Some of the settings in the Advanced Vault Settings section are for advanced
configuration and customization only, and therefore we recommend that you do not change any
settings unless you know what you are doing.
2. Expand the section that you want to edit, and then edit settings that you want to change.
For more information, select a setting and see the Info tab.
Tip: Right-click a settings node to bring up a context menu with additional options, such
as Move Up, Move Down, and Make Copy.
3. When you are done, click Save to save the vault settings.
4. Optional: Some of the settings require that you restart the vault for the changes to take effect. For
instructions, see Restarting a Vault.
To configure your vault search engine so that Employee objects are not incuded in metadata searches:
M-Files | 3. System Administration | 489
4. In the Object Type field, press the down arrow key ↓ and then select Employee.
After saving the setting, Employee objects are no longer included in metadata searches in the selected
vault.
The Custom Vault Data section in the M-Files Admin configurations editor allows you to add and modify
custom vault data to affect the vault functionality. The most common type of custom vault data are custom
settings of the vault that allow you to add custom functionality to the vault. Sets of custom vault data are
registered within specific namespaces.
Note: This section of the configurations editor is intended for advanced configuration and
customization only, and therefore we recommend that you do not add custom vault data unless you
know what you are doing.
Registering a Namespace
To begin modifying custom vault data, you must first register a namespace for a new set of custom vault
data. Complete the following steps to register a namespace:
M-Files | 3. System Administration | 490
3. Expand the Namespaces node, click Add Namespace, and expand the newly added namespace
node.
4. In the Group field, enter an internal name of your choice for the group that uses the namespace that
you are about to register.
5. Use the Storage Type drop-down menu to select the storage type that the namespace uses.
6. In the Namespace field, enter the namespace that you are about to register, and in the Namespace
Label field, enter a custom label for the namespace shown in the Custom Vault Data configuration.
7. In the Namespace Description field, enter a description about the purpose of the namespace.
After you have registered a namespace, you can add named values within that namespace. Complete the
following steps to add named values:
M-Files | 3. System Administration | 491
2. In the gray navigation area, expand Custom Vault Data > Named Values, then expand a group that
you have registered in Registering a Namespace, and finally select the namespace of the group.
4. Click Add Named Value, and expand the newly created named value node.
5. In the Name field, enter the name part of the named value.
The name can only contain letters, numbers, underscores, hyphens, and periods.
6. In the Value field, enter the value part of the named value.
7. Repeat the steps from 4 to 6 to add more named value pairs within the given namespace.
By default, M-Files sorts search results by their relevance. For more information on how document
relevance in relation to the search term is determined, see Search result sorting.
This behavior can be prevented so that search results are sorted by user preference instead. Make the
following changes on the M-Files Server computer to prevent search results to be automatically sorted by
their relevance:
M-Files | 3. System Administration | 492
3. Expand the Namespaces node, click Add Namespace, and expand the newly added namespace
node.
5. Use the Storage Type drop-down menu to select the MFConfigurationValue storage.
8. In the Namespace Description field, enter for example Settings related to search results.
10.In the gray navigation area, select Named Values > Search results > Search results >
Configuration.
11.Click Add Named Value, and expand the newly created named value node.
M-Files no longer forces search results to be sorted by their relevance, and therefore users can change the
column by which search results are sorted and the user preference is retained in subsequent searches.
You can use the configurations editor in M-Files Admin to modify the behavior and appearance of the
metadata card. For instructions on how to use the configurations editor, see Using the Configurations
Editor.
M-Files | 3. System Administration | 493
• Add an additional header, including text and an image, for a certain object type or a class.
• Add tooltips and description fields for individual properties.
• Create collapsible property groups.
• Control the order in which properties and groups are displayed on the metadata card.
• Assign default values for properties.
• Manage automatically added (mandatory and optional) properties based on, for instance, object type
and class.
• Hide properties from the metadata card.
• Always use property definition permissions to protect sensitive information. Metadata card configuration
rules can be used to hide property values from the display, but the values stay available to client
applications. Property definition permissions, in turn, make sure that property values are not sent from
the server to the client application of an unauthorized user.
• Do not use metadata card configurations for actual restrictions on metadata modifications because the
configurations are effective at the user interface level only. For example, you can change the workflow
state of an object with the Change State command without adding a required property value imposed by
a configuration rule. Instead, use the workflow state preconditions or postconditions to make sure that
certain property values are filled before state transitions occur.
For information on how this feature is supported in different M-Files clients, refer to M-Files Feature
Comparison.
M-Files | 3. System Administration | 494
Metadata card configurations can be found in the Metadata Card section in the configurations editor.
You can add and remove rules by clicking the Add New button in the Rules section. The rules are
hierarchical, meaning that you can add subordinate rules in the Sub-Rules section for further specifying
main rules (or any superordinate rules).
The Name field should contain a descriptive name for the rule. The name is only visible in the rule editor.
The Filter section defines the scope of the rule. You may want to, for example, apply a metadata card
configuration of objects of a certain class only.
The Behavior section is for specifying what happens when the above-defined condition is met. For
instance, when the object class is Customer, you might want to add the property groups Contact
information, Subscription and Responsible employee to the metadata card.
The hierarchical rule list is evaluated from top to bottom. The higher a rule is in the list, the earlier it is
evaluated. You can change the evaluation order by right-clicking a rule and selecting one of the following
options:
Note: When a rule becomes effective, it always overwrites any overlapping behaviors of rules
that have previously come into effect. In other words, a rule always overwrites any overlapping
behaviors of other rules higher up in the hierarchical rule list.
For more information on defining the rule condition and behavior, refer to Configuring the M-Files Metadata
Card.
M-Files can be set to send email notifications about object-related actions. Users can also create new
notification rules in M-Files Desktop (see Editing Notification Settings in M-Files Desktop and Metadata
card option ribbon).
The email notifications contain a link to the related object. By default, the link is in the new M-Files
link format. To use the classic link formatting, go to Advanced Vault Settings > Configuration >
Notifications in M-Files Admin and set Use Classic Link Formatting to Yes. For more information on
links in M-Files, refer to Configuring M-Files Links and M-Files URL Properties in M-Files Support Portal.
• Event logging
• Vault notifications
• M-Files Desktop notifications
If you use Microsoft Exchange Online, you must also set up an OAuth application in Microsoft Azure
Portal and have the details listed in the document Azure Portal Configuration for M-Files Notifications with
Microsoft Exchange Online.
To enable email notifications in an on-premises environment, do these steps on the M-Files server
computer:
The table given here contains the descriptions for the settings of both service types.
Client ID The client ID (also called application ID) of your Azure Active
Directory application.
Client secret The client secret of your Azure Active Directory application.
7. In Digest message, select the time when the daily digest messages are sent.
M-Files users can select to receive their notifications as individual messages or as a daily digest
message. For more information, see Editing Notification Settings in M-Files Desktop.
8. Click OK to save your changes and to close the Notification Settings dialog.
• Make sure that notifications are enabled in the vault: In the Advanced Vault Settings in M-Files Admin,
go to Notifications and make sure that Enable Vault Notifications is set to Yes (default value).
• Users must enable notifications in M-Files Desktop to be able to get notifications. See Editing
Notification Settings in M-Files Desktop.
• The administrator and users can also create notification rules. See Editing Notification Settings in M-
Files Desktop.
• You can customize your notification messages. See Personalizing Notification Messages.
In this chapter
M-Files uses customizable templates for email notifications, which you can modify to match the
requirements of your organization. You can, for instance, change the information provided along with
notifications about new or modified objects, assignments, and so on.
Follow the instructions in this section to access and edit the notification templates in M-Files Admin.
The list of available notification templates in this vault is displayed in the configurations editor. The
templates are divided under two sections, Email Templates and Push Notification Templates. The latter
are used for the M-Files mobile applications.
If the listing does not include at least a template called Default, try to restart the vault and M-Files Admin.
Taking a vault offline should always be done in a controlled manner and the vault users should be notified
beforehand.
1. Under Advanced Vault Settings > Notifications > Notification Templates, in the configurations
editor listing area, either:
or
b. Click Add Rule to add a new template rule, and expand the newly created node.
2. In Rule, select the notification rule to which you want this template to apply.
4. Either:
or
b. Click Add Section to add a new section, and expand the newly created node.
For any sections that your template does not include, the M-Files server uses the corresponding
sections of the special Default template. If the Default template cannot be found, M-Files
server uses the corresponding sections of a fallback template located in the installation directory.
5. In Template Section, select the section that you would like to modify.
Tip: Hovering the mouse cursor on top of the section names in the drop-down menu
displays a short description for each section.
6. Click the cogwheel icon ( ) in the value field of the Template Entry setting.
Use the Insert Placeholder button to add a dynamically updated reference in your content.
Clicking the button adds a set of curly brackets in the text box. You can either start typing the
name of the placeholder or press the down arrow key to bring up a list of available placeholders,
such as the title or class of the object that triggered the notification. Some placeholders,
however, only work with specific sections.
8. Once you are done editing the template content, click OK to close the Placeholder Editor dialog.
9. Optional: Repeat the steps from 4 to 8 to edit or add as many sections as needed.
In addition to the object properties, such as the title or the class of the object, you can use a set of special
placeholders in your notifications. These placeholders are described in the table below.
Placeholder Description
All referred objects() All the referred objects in the properties of the object.
ApproveLink() A link for an assignment approval in the notification email. The link can
be an M-Files link or a HTTP-formatted hyperlink. HTTP link is used
when the web URL is set in the vault properties.
Caused by() The name of the user who caused the event.
Caused by account() The account name for the user who caused the event.
EventID() The ID of the event.
FileName() The name of the file.
ID() The (external) ID of the object.
InternalID() The (internal) ID of the object. The internal ID is always unique for each
object of a single object type and within a single vault.
NameAndLinks() A plain text formatted text fragment containing URLs to the object for M-
Files Desktop, M-Files Web, and M-Files Mobile. In M-Files Desktop,
you can create this type of link in the Get Hyperlink dialog.
NameAndLinksHtml() An HTML-formatted hyperlink containing URLs to the object for M-Files
Desktop, M-Files Web, and M-Files Mobile. In M-Files Desktop, you can
create this type of link in the Get Hyperlink dialog.
NameWithHtmlLink() An M-Files link that opens a web page where the user can select the
client in which to open the target of the link.
NameAndSeparateLink() The same placeholder as NameWithHtmlLink() but the name and the
URL are shown as separate plain-text fragments.
Notification rule name() The name of the notification rule that caused the event.
ObjTitle() The name or title of the object.
ObjType() The type of the object.
M-Files | 3. System Administration | 500
Placeholder Description
OldProperty( Undefined ) The old value of the specified property of the object. Undefined
is replaced with the property the old value of which you want this
placeholder to display in the notification.
After selecting this placeholder, open the References tab and select the
desired value via drop-down menu in the Item column.
RejectLink() A link for an assignment rejection in the notification email.The link can
be an M-Files link or a HTTP-formatted hyperlink. HTTP link is used
when the web URL is set in the vault properties.
Rolled back to version() The version that the object was rolled back to.
Timestamp() The time when the event occurred.
URL() A URL that shows the latest version of the object in M-Files Desktop.
UrlToLatestClassicWeb() A URL that shows the latest version of the object in the classic M-Files
Web.
UrlToLatestMobile() A URL that shows the latest version of the object in M-Files Mobile.
UrlToLatestWeb() A URL that shows the latest version of the object in M-Files Web.
UrlToVersion() A URL that shows the specific version of the object in M-Files Desktop.
UrlToVersionClassicWeb() A URL that shows the specific version of the object in the classic M-Files
Web.
UrlToVersionMobile() A URL that shows the specific version of the object in M-Files Mobile.
UrlToVersionWeb() A URL that shows the specific version of the object in M-Files Web.
UserCausedState( Und The user who moved the object into a specific state. Undefined is
efined ) replaced with the target state.
After selecting this placeholder, open the References tab and select the
desired value via drop-down menu in the Item column.
Push notifications allow sending notifications from M-Files Server to iOS and Android devices that have the
M-Files mobile app installed. Push notifications are sent for the same events as email notifications except
for digest messages. Once they are enabled, you will receive a push notification, for instance, when a new
assignment is created for you. You can also create personalized notification rules with M-Files Desktop
(see Editing Notification Settings in M-Files Desktop).
• in an on-premises environment or in your own cloud environment, follow the instructions provided in the
sections Creating a notification hub in Azure, Setting up an Azure notification hub for push notifications,
and finally Enabling push notifications in M-Files vaults.
M-Files | 3. System Administration | 501
• in M-Files Cloud, simply follow the steps from 9 to 16 under Enabling push notifications in M-Files
vaults. No other changes are needed.
• Vault users should enable push notifications on their iOS or Android devices. They will receive push
notifications when they are logged in to a vault that has push notifications enabled. Note that vault users
do not have to keep the M-Files application running to receive push notifications from a vault, as long as
they are logged in to the vault ensures that they can receive push notifications.
Before you begin, note that notifications need to be enabled on the M-Files server (see Editing Notification
Settings in M-Files Admin).
If you do not yet have a service bus namespace, you can use the default one. It is automatically
created based on the hub name, provided that the namespace name is available.
If you already have a namespace that you want to create the hub in, click the Select existing
link and then select Create.
6. Select a suitable price tier (for details, see Notification Hubs pricing).
After you have created an Azure notification hub, it needs to be configured for different mobile platforms.
You can find the settings for the available notification services by doing these steps:
4. From the list of notification hubs, select the hub that was created according to the instructions in
Creating a notification hub in Azure.
a. Enter the iOS configuration under Apple (APNS). You can request the configuration settings from
our customer support in M-Files Support Portal or your M-Files reseller.
or
b. Enter the Android configuration under Google (GCM). You can request the configuration settings
from our customer support in M-Files Support Portal or your M-Files reseller
M-Files | 3. System Administration | 502
After you have created a notification hub and set it up for push notifications, you need to enable push
notifications for the M-Files vaults in which you want them to be used, as well as to set up the connection
between M-Files and the Azure notification hub. You can store the connection settings to the Windows
registry of the M-Files server computer or set them separately for each vault in M-Files Admin, or both. The
server-level settings are not used in any vaults for which the connection settings have been specified with
M-Files Admin.
First, you need to locate the connection details in your notification hub settings:
4. From the list of notification hubs, select the hub that was created according to the instructions in
Creating a notification hub in Azure.
If you want to store the connection details to the Windows registry of the server computer, do the following
steps:
6. Optional: Copy the value of the Name field and enter it as the value of the following Windows registry
key on the M-Files server computer:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server
\MFServer
Value AzureNotificationHubName
name
Value type REG_SZ
Description The name of the Azure notification hub to use for delivering the notifications.
Value <the notification hub name>
8. Optional: Copy the value of the DefaultFullSharedAccessSignature field and enter it as the value of
the following Windows registry key on the M-Files server computer:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server
\MFServer
Value AzureNotificationHubConnectionString
name
Value type REG_SZ
Description The connection string for the Azure notification hub.
Value <the connection string for the notification hub>
12.Expand a vault.
13.Select Configurations.
If the connection details have not been stored to the Windows registry of the server computer, or if you
want to vault-specifically override the server-level settings, do the following:
17.Optional: Enter the notification hub name and the connection string as the values of the Notification
Hub Name and Connection String settings, respectively.
To get the value for Notification Hub Name, open your notification hub settings (see steps from
1 to 4), select Properties and enter the Name value to your configuration.
To get the value for Connection String, open your notification hub settings (see steps from 1
to 4), select Access Policies and enter the DefaultFullSharedAccessSignature value to your
configuration.
Finalize the process by doing either step 19 or steps 20 and 21, depending on where the connection
settings are stored. Note that restarting the vault or the server should always be done in a controlled
manner and users should be notified beforehand so that no work is lost.
19.If you saved the connection details to the vault (see step 17), restart the vault.
20.If the connection settings are stored on the server computer (see steps from 5 to 8), restart the
MFServer service as instructed in step 21.
Your vault is now set up to send push notifications to vault users. Repeat the process for as many vaults as
needed.
This section tells you how to set up both versions of M-Files Web, Microsoft Office for the web services for
M-Files Web, M-Files Mobile, and the M-Files REST API.
M-Files | 3. System Administration | 504
In M-Files Cloud, all the clients and services are normally enabled out of the box. However, you can use
Advanced Vault Settings (AVS) to change the default client and set classic M-Files Web links to always be
redirected to M-Files Web. The settings in AVS are in the section Configuration > Client > Web.
*) If you do not use M-Files Cloud, you must set up Microsoft Office for the web separately. See Setting up
Microsoft Office for the web.
**) If you do not want to set up the classic M-Files Web for the mobile apps, you can set M-Files Mobile to
use gRPC. Refer to Setting Up M-Files to Use gRPC.
Important information
• If M-Files Web was previously set up on the server with the instructions in Setting Up the Backend for
the New M-Files Web and Web-Based Add-Ins: We recommend that you remove the old configuration
before you set up M-Files Web with the instructions given here.
• Alternatively, you can continue to use the old setup. It enables the core functionality but it can be
that features added to the product after the release of the setup wizard are not available.
• Components in the section Enabling Internet Information Services (IIS) Components must be enabled
on the M-Files Web server.
• If you get an error during the setup, exit the wizard, fix the issue in IIS Manager, and start the wizard
again. The error can be, for example, that a newly created website cannot start because the port
number is already in use.
• You must set up the IIS binding for the website that users access. This is mandatory for HTTPS
connections.
• The use of self-signed certificates with IIS site bindings can break the classic M-Files Web and the
REST API, especially in proxy setups.
• When both web clients are set up, there is outgoing HTTP(S) traffic from the M-Files application server
to the site binding address given during the setup. Make sure that custom HTTP headers are not
stripped or removed between the servers and that traffic is allowed between them.
• When M-Files Web is set up, there is HTTP traffic between the IIS site and the M-Files server. The M-
Files Web traffic uses the port 7767 and the Office for the web services use the port 7768.
• When the settings are saved in M-Files Admin, they are moved, not copied, to the Internet Information
Services settings of the server.
• After the setup, make sure that you do not have old vnext or wopi websites or applications in IIS from
older installations and setups.
• You can use Advanced Vault Settings to disable the classic M-Files Web and set classic M-Files Web
links to be automatically redirected to M-Files Web. The setting is Configuration > Client > Web >
Disable Classic M-Files Web and Redirect Links to M-Files Web.
• The setting does not apply to reset password links and URLs created with the Share Public Link
feature.
M-Files | 3. System Administration | 505
• M-Files Mobile users can use a QR code for easy access to the vault.
• Alternatively, admins can create login links for M-Files Mobile users. After the user logs in, the
vault connection information is saved to the device. For details and examples, refer to M-Files URL
Properties.
• To enable push notifications for M-Files Mobile, see Setting Up Push Notifications for the M-Files
Mobile Apps.
Troubleshooting
If you have set up the classic M-Files Web and M-Files Web, and the classic M-Files Web reports 404
errors, refer to this article.
In this chapter
The Internet Information Services (IIS) components listed on this page must be enabled on the M-Files
Web server before web and mobile access can be set up.
Note: If you use M-Files Web (instead of the classic M-Files Web), you must also have the URL
Rewrite and Application Request Routing IIS modules installed on the IIS server.
Here are the steps to enable the features with Microsoft Windows Server 2019. Refer to Microsoft
Windows instructions for other operating system versions.
8. Click Next.
9. Click Install.
You now have the neccesary IIS components installed. Next, you can enable web and mobile access on
the selected server computer.
This section tells you how to set up the web and mobile clients and the REST API with the Set Up Web
and Mobile Use dialog.
In this chapter
The steps given here tell you how to enable these clients and services:
• M-Files Web
• Microsoft Office for the web services for M-Files Web
The classic M-Files Web, M-Files REST API, and M-Files Mobile are not enabled. If you do not want to set
up the classic M-Files Web for the mobile apps, you can set M-Files Mobile to use gRPC. Refer to Setting
Up M-Files to Use gRPC.
• If the server uses an older version, we recommend that you upgrade to a more recent version.
Alternatively, refer to Setting Up the Backend for the New M-Files Web and Web-Based Add-Ins.
• The server uses IIS (Internet Information Services) and Microsoft .NET Framework (not .NET) 4.7.2,
4.8.x, or later.
• You are an M-Files system administrator on the server.
• The IIS modules URL Rewrite and Application Request Routing are installed on the IIS server.
• You have set up IIS binding for the website that users access with a DNS name, such as https://
myvault.mycompany.com.
• If you want to create a new website for M-Files Web, do the binding setup after you have saved your
changes in M-Files Admin.
Important remarks:
• If M-Files Web was previously set up on the server with the instructions in Setting Up the Backend for
the New M-Files Web and Web-Based Add-Ins: We recommend that you remove the old configuration
before you set up M-Files Web with the instructions given here.
• If you get an error during the setup, exit the wizard, fix the issue in IIS Manager, and start the wizard
again. The error can be, for example, that a newly created website cannot start because the port
number is already in use.
Do these steps:
! Important: If IIS and M-Files are on separate servers, see Using Proxy Setup with M-
Files Web instead of the instructions given here.
3. Click Set Up Web and Mobile Use > Set up M-Files Web > Next.
Enter the name and TCP port for the site. Make sure that the given port
number is not already in use.
Note: You can use this option only with a server operating
system.
Select an available site and enter a name for the virtual directory.
M-Files | 3. System Administration | 508
5. Select Save.
6. Open the Document Vault Advanced Properties dialog and add the M-Files Web URL (or URLs)
according to the IIS bindings.
7. After 20 to 30 seconds, enter your website address in a browser and make sure that the client opens (or
clients open) correctly.
The steps given here tell you how to enable these clients and services:
• The default connection protocol is HTTPS. To set M-Files Mobile to use gRPC, refer to Setting Up
M-Files to Use gRPC.
M-Files Web and Microsoft Office for the web services for M-Files Web are not enabled.
• The server uses IIS (Internet Information Services) and Microsoft .NET Framework (not .NET) 4.7.2,
4.8.x, or later.
• You are an M-Files system administrator on the server.
• You have set up IIS binding for the website that users access with a DNS name, such as https://
myvault.mycompany.com.
• If you want to create a new website for M-Files Web, do the binding setup after you have saved your
changes in M-Files Admin.
Important remarks:
• If you get an error during the setup, exit the wizard, fix the issue in IIS Manager, and start the wizard
again. The error can be, for example, that a newly created website cannot start because the port
number is already in use.
Do these steps:
! Important: If IIS and M-Files are on separate servers, refer to Configuring the Classic
M-Files Web on a Separate Server Computer instead of the instructions given here.
3. Click Set Up Web and Mobile Use > Set up classic M-Files Web (and REST) and M-Files Mobile >
Next.
M-Files | 3. System Administration | 509
Enter the name and TCP port for the site. Make sure that the given port
number is not already in use.
Note: You can use this option only with a server operating
system.
Select an available site and enter a name for the virtual directory.
Note: You can use this option only with a server operating
system.
5. Select Save.
6. Open the Document Vault Advanced Properties dialog and add the M-Files Web URL (or URLs)
according to the IIS bindings.
7. After 20 to 30 seconds, enter your website address in a browser and make sure that the client opens (or
clients open) correctly.
The steps given here tell you how to enable these clients and services:
• M-Files Web
• Microsoft Office for the web services for M-Files Web
• Classic M-Files Web
• M-Files REST API
• M-Files Mobile
• The default connection protocol is HTTPS. To set M-Files Mobile to use gRPC, refer to Setting Up
M-Files to Use gRPC.
• If the server uses an older version, we recommend that you upgrade to a more recent version.
Alternatively, refer to Setting Up the Backend for the New M-Files Web and Web-Based Add-Ins.
Refer to the M-Files 2018 user guide for setup instructions for the classic M-Files Web.
M-Files | 3. System Administration | 510
• The server uses IIS (Internet Information Services) and Microsoft .NET Framework (not .NET) 4.7.2,
4.8.x, or later.
• You are an M-Files system administrator on the server.
• The IIS modules URL Rewrite and Application Request Routing are installed on the IIS server.
• You have set up IIS binding for the website that users access with a DNS name, such as https://
myvault.mycompany.com.
• If you want to create a new website for M-Files Web, do the binding setup after you have saved your
changes in M-Files Admin.
Important remarks:
• If M-Files Web was previously set up on the server with the instructions in Setting Up the Backend for
the New M-Files Web and Web-Based Add-Ins: We recommend that you remove the old configuration
before you set up M-Files Web with the instructions given here.
• If you get an error during the setup, exit the wizard, fix the issue in IIS Manager, and start the wizard
again. The error can be, for example, that a newly created website cannot start because the port
number is already in use.
Do these steps:
! Important: If IIS and M-Files are on separate servers, see Using Proxy Setup with M-
Files Web instead of the instructions given here.
You can enable or disable the classic M-Files Web after it is set up. See Enabling or Disabling
the Classic M-Files Web on On-Premises Servers.
5. Select Next.
Note: You can use this option only with a server operating
system.
Select an available site and enter a name for the virtual directory.
Note: You can use this option only with a server operating
system.
7. In Site Binding Address, enter a site binding that the M-Files application server can use to reach the
IIS proxy server computer.
It is not necessary to use HTTPS or the port 443. You can also use HTTP and any other port or
binding available on the IIS server. For example, if the IIS proxy uses a self-signed certificate
for the website binding, you must use HTTP because M-Files does not support self-signed
certificates in this context.
If you have many vaults or many DNS names for the IIS sites, we recommend that you
use the IP address of the IIS server as the site binding address. It can be necessary to
create an appropriate binding on the IIS site for this purpose. For example, the binding
http://127.0.0.1:8088 normally allows any incoming traffic for the IIS server IP.
For a virtual directory, include also the directory name. Refer to the table and this article for
examples and more information.
8. Optional: If IIS and the M-Files server are on separate servers, enable Use proxy server setup and
enter the app server address to use a proxy environment.
For instructions on how to set up the proxy server and the site binding address, see Using Proxy
Setup with M-Files Web.
The available option changes according to your selection in step 4. Additionally, you can skip
steps 10 and 11 if you selected to disable the classic M-Files Web.
10.Optional: Enable Use M-Files Web as default web client on this server.
If this setting is not enabled, the classic M-Files Web is used as the default client. This also lets
you control the default web client vault-specifically. See Changing the default web client vault-
specifically.
If you use OAuth-based authentication in the vault, the default web client setting can have an
effect on the endpoint settings of your configuration. For more information, refer to Setting Up
OAuth 2.0 for the New M-Files Web and Web-Based Add-Ins.
11.Select Save.
12.Open the Document Vault Advanced Properties dialog and add the M-Files Web URL (or URLs)
according to the IIS bindings.
13.After 20 to 30 seconds, enter your website address in a browser and make sure that the client opens (or
clients open) correctly.
The users can now open the web clients with the addresses given here.
In environments where you use both versions of M-Files Web, you can select the default web client for all
vaults on the server, or for each vault.
Note: If you use OAuth-based authentication in the vault, the default web client setting can have
an effect on the endpoint settings of your configuration. For more information, refer to Setting Up
OAuth 2.0 for the New M-Files Web and Web-Based Add-Ins.
With these steps, you can change the default web client settings collectively for all vaults on the server.
You must have the M-Files system administrator permissions on the server to access these settings.
If you use an IIS (Internet Information Services) proxy setup, connect to the M-Files server on
the proxy computer instead of the M-Files application server.
3. Select Set Up Web and Mobile Use > Change the default web client on this server > Next.
4. Enable or disable Use M-Files Web as default web client on this server.
5. Select Save.
6. Open the Document Vault Advanced Properties dialog and add the M-Files Web URL (or URLs)
according to the IIS bindings.
7. After 20 to 30 seconds, enter your website address in a browser and make sure that the client opens (or
clients open) correctly.
If you use many websites to access M-Files Web, and if they run on the same IIS server, the sites have
the same default client. If you have many IIS servers as proxies on computers separate from the M-Files
application server, each server can have their own default client.
Changing the default web client vault-specifically
Before you start, make sure that these prerequisites are completed:
• The new M-Files Web is not set as the default client on the server.
• See Checking information about the current web setup for instructions on how to see information
about the default client.
• If you have an on-premises setup where you have access to server settings, configure mappings
between incoming connections and vaults.
1. In the Advanced Vault Settings section of M-Files Admin, go to Client > Web.
The Manage Client Settings Centrally setting must be set to Yes. Before you set it to Yes,
read the setting description on the Info tab.
Use the value Yes for M-Files Web and the value No for the classic M-Files Web.
3. Click Save.
4. Open the Document Vault Advanced Properties dialog and add the M-Files Web URL (or URLs)
according to the IIS bindings.
M-Files | 3. System Administration | 514
5. After 20 to 30 seconds, enter your vault address in a browser and make sure that the selected client
opens correctly.
The users can now open the web clients with the addresses given here.
You can use the Set Up Web and Mobile Use dialog to see information about your current setup. When
you are done, click Cancel so that you do not save any unwanted changes.
• If the setting is disabled, the classic M-Files Web is the default client on the
server level.
• If the setting is enabled, you cannot change the default client on the vault
level.
• This step is only available if you have previously enabled both web clients.
• To see information about the default client setting, select the option Set up M-
Files Web, classic M-Files Web (and REST) and M-Files Mobile or Change
the default web client on this server.
This page tells you how to enable or disable the classic M-Files Web client on an on-premises server.
When it is disabled, all classic M-Files Web links are automatically redirected to M-Files Web.
If you use M-Files Cloud, use the Advanced Vault Settings (AVS) option Configuration > Client > Web >
Disable Classic M-Files Web and Redirect Links to M-Files Web. The AVS option changes the default
client for the vault, not the server.
This option is not available if the classic M-Files Web has not been set up.
6. Select Save.
These instructions tell you how to set up a proxy-application server environment. In this setup, there is a
separate proxy server for IIS (Internet Information Services) and another server for the M-Files application.
M-Files | 3. System Administration | 516
If you do not use separate DNS names for your vaults (all vaults are accessed with the same address), you
can skip this section.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server
\Common
Value VaultDNSConfig
name
Value type REG_MULTI_SZ
Value https://<proxy server address>={<GUID of the vault to use>}
Description Adds a mapping between the vault and the proxy server.
2. Add this registry key to let each vault control the default web client:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server
\Common
Value NewWebAsDefault
name
Value type REG_SZ
Value False
Description New web is not the default client for this server. Each vault can control the
default web client.
4. Optional: Set M-Files Web as the default client for the vault (see Changing the default web client vault-
specifically).
Note: If you want to set up only the classic M-Files Web, only the first step is necessary.
1. Set up the proxy server with the instructions given in Configuring the Classic M-Files Web on a
Separate Server Computer.
• M-Files Server must be the same version as the one installed on the application server.
• No vaults can be attached to the M-Files Server installation on the proxy server.
• If you have many vaults with separate DNS names, the IIS site on the proxy server must
respond to all of them publicly. In other words, the IIS site must have the necessary bindings.
3. Configure M-Files Web with the instructions in Setting Up M-Files Web or Setting Up Both Web Clients
and M-Files Mobile.
a) Make sure that the address of the site specified in the Set Up Web and Mobile Use dialog is the
same as the one used in step 1 of Configuring the application server.
This is also the address with which the users connect to the M-Files Web client.
It is not necessary to use HTTPS or the port 443. You can also use HTTP and any other
port or binding available on the IIS server. For example, if the IIS proxy uses a self-signed
certificate for the website binding, you must use HTTP because M-Files does not support
self-signed certificates in this context.
If you have many vaults or many DNS names for the IIS sites, we recommend that you use
the IP address of the IIS server as the site binding address. It can be necessary to create an
appropriate binding on the IIS site for this purpose.
Example: The IIS server's private IP is 10.0.0.1. You have bound the port 8080 to it and
have not limited the binding to a specific IP. Set http://10.0.0.1:8080 as the site
binding address.
d) In App server address, enter the server address of the server where M-Files is installed.
5. Open the Document Vault Advanced Properties dialog and add the M-Files Web URL (or URLs)
according to the IIS bindings.
6. After 20 to 30 seconds, enter your proxy website address (in this example, https://
proxyserver.mycompany.com) in a browser and make sure that M-Files Web opens correctly.
Normally, you must have a username and a password to use a vault with M-Files Web. However, you can
also use M-Files Web to publish documents to people that do not use M-Files. Users can access this type
of vault without user credentials and they have read access to the content. You can, for example, share on
your website a price list that is saved to M-Files and is always up to date.
M-Files | 3. System Administration | 518
If you use the classic M-Files Web, do the steps given in the subsections. Before you start, make sure that
M-Files Web is correctly configured and that you have the External Connector license.
If you use the new M-Files Web or M-Files Mobile, enable the Anonymous authentication feature. The rest
of the steps in this section are not necessary.
In this chapter
Note: These instructions are only for the classic M-Files Web.
First, create a login account that will be used to automatically log in to a specific vault:
10.Click OK.
Note: These instructions are only for the classic M-Files Web.
Second, add the created login account as a user to the publishing vault:
4. Expand a vault.
5. Click Users.
11.Optional: Enable User cannot create or modify private views or notification rules.
12.Click OK.
Note: These instructions are only for the classic M-Files Web.
4. Expand a vault.
a. Click New Named Access Control List to create a named access control list for the user.
M-Files | 3. System Administration | 520
or
b. Double-click an existing named access control list on the Named Access Control Lists list to edit
the permissions of the user.
7. If you started to create a named access control list, in Name, enter a name for the list.
8. Click Add.
10.Click Add.
12.Optional: Do this step if your named access control list has all permissions set to Allow for the All
internal users user group. Otherwise, skip this step.
a) Click Add.
b) Select All internal users and click Add.
c) In the Users and user groups list, select All internal users.
d) In the Permissions section, set the All permission to Allow.
13.Click OK.
14.Set the named access control list to all documents that you want to be accessed without credentials.
For information on the next step, see Enabling the Login Account to Log In Automatically.
Note: These instructions are only for the classic M-Files Web.
1. On the M-Files server, use Registry Editor to create this registry key, where <version> is the M-Files
version number (for example 11.1.4310.92) and <website ID> is a unique ID given to the M-Files
Web site by Internet Information Services (IIS):
HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server\MFWA\Sites
\<website ID>\
2. Specify the registry key values to be used for automatic login. This table contains the values available
for specification:
The selected login account can now automatically log in to the classic M-Files Web, and the account can
access published documents without user credentials.
Note: These instructions are only for the classic M-Files Web.
When automatic login is enabled, you can create direct weblinks between, for example, the company
website and documents. You can give the opening page, openfile.aspx, these parameters:
Parameter Description
objtype The object type ID of the document that contains the file to be opened. This
parameter is required. To see the list of object type IDs, do the first four steps of the
Creating a New Object Type task.
docid The ID of the document that contains the file to be opened. This parameter is
required.
docver The version of the document that contains the file to be opened. If this parameter is
not set, the link always refers to the latest version of the document.
fileid The ID of the file to be opened. This parameter is only required when the document
that contains the file is a multi-file document.
filever The version number of the file.
showopendialog Specifies whether the browser shows an opening dialog. By default, the value is 1
and the dialog is shown. If the value is set to 0, the dialog is not shown.
M-Files | 3. System Administration | 522
• https://<server>/openfile.aspx?objtype=0&docid=71
• https://<server>/openfile.aspx?objtype=0&docid=71&docver=7
• https://<server>/openfile.aspx?objtype=0&docid=71&docver=7&fileid=71
• https://<server>/openfile.aspx?objtype=0&docid=71&showopendialog=0
Note: These instructions are only for the classic M-Files Web.
When documents are published online, it is usually a good idea to hide some of the object properties. For
example, if the user has read-only access, it is not necessary to show the functions for editing. With the
publication settings, the users can be given suitable and sufficient functions that facilitate and simplify
accessing and processing of the published information.
You can specify different publication settings with a separate configuration site.
Log in to the configuration page with <your organization's M-Files Web URL>/
configuration.aspx. For example, http://www.publications.company.com/
configuration.aspx.
General settings
In the general settings, you can make selections that are used for the configuration site and all vaults of the
site.
M-Files | 3. System Administration | 523
You can specify the configuration site to be accessible for a certain IP address range only. Access to the
configuration site is usually allowed only for connections from inside the company.
Display options
Page title: You can freely name the page of the website you are offering. The default title is M-Files Web.
Language: By default, M-Files uses Automatic as the language selection. This means that the classic M-
Files Web language is determined by the language of the user's browser settings. If the language in the
browser settings is not supported by M-Files, the language installed on the M-Files server will be used.
Alternatively, you can set a Specific language to be the classic M-Files Web language. For example, if your
company's instructions refer to functions that are in English or the users work in different languages, you
can specify English as the classic M-Files Web language. You can choose from all languages supported by
M-Files.
Note:
This applies to the user interface language only. For the full classic M-Files Web experience to be in
the language defined by a specific user, four prerequisites need to be met:
Windows SSO
M-Files | 3. System Administration | 524
With Windows authentication enabled, the classic M-Files Web can automatically use the user's Windows
credentials for login. The administrator can configure the single sign-on (SSO) setting so that the login
credentials are no longer required when users navigate to the classic M-Files Web.
Note: For security reasons, federated authentication is recommended. For more information, see
User authentication.
The automatic authentication is disabled by default, but can be enabled by setting the single sign-on value
to Use automatically. Alternatively, the choice of using single sign-on can be displayed on the login page
by selecting Show on login page.
Select this setting if you do not want to display the Windows login option to users. Then the user does not
have to consider which login option is appropriate and M-Files suggests logging in as an M-Files user. For
data security reasons, it may be advisable to disable Windows login in some cases.
Note: This does not prevent logging in to the configuration site with your Windows user account.
Automatic Login
Select Automatic Login and enter the authentication information if you do not wish to require the users to
enter their user ID for the classic M-Files Web. This means that any user can access the site's vaults if
authorized by the user ID.
Authentication (username, password and domain): If automatic login is enabled, this is the authentication
information that M-Files uses for the automatic login. If you want M-Files to offer a specific ID for the user
by default, save the default ID in the authentication information and disable automatic login. The user is still
able to use other IDs, possibly granting more extensive web-based access.
Vault: You can also specify the vault to which the user is to be connected to. If the vault is not specified,
the users can see all the vaults accessible with the credentials.
Vault-specific settings
In the vault-specific settings you can specify, for example, these things:
• Whether the vault is to be available for use with the classic M-Files Web
• The vault-specific default view
• The configuration of the vault user interface
Select this if you want the vault to be accessible with the classic M-Files Web.
Note: In order to use a vault, the user must always have permissions for that vault.
Default view
You can specify which view is to be opened by default. The home view is opened by default.
Layout
M-Files | 3. System Administration | 525
You can select the layout elements to be displayed in the vault. For example, you can hide the task area or
display the listing area only.
To set up the Microsoft Office for the web editor, refer to Enabling Microsoft Office for the Web Services for
M-Files.
You can prevent navigation beyond the default view by choosing Prevent navigation outside default view.
In this case, navigation is not possible, even if the breadcrumb is used.
You can select whether the latest search criteria and settings selected by users are to be kept or if you
would prefer to use a specific criterion and setting. The same options as in M-Files Desktop are available.
You can display or hide the top menu (New, Operations, and Settings) and/or breadcrumb.
Note: When the classic M-Files Web is displayed in the "Listing pane only" mode, object metadata
and search functions are hidden from the users. This allows the users to only read and edit objects
displayed in the listing pane, according to their permissions.
Vault controls
These settings let you control which functions are available for the users of the vault.
• Save view settings. If many users have the same user ID (for example, during automatic login), it is
recommended to prevent saving of the column settings.
• Hidden properties. Some properties may be hidden from external users. In these cases, the information
(hidden) is displayed in the properties pane or on the metadata card. It is recommended to hide this
(hidden) information.
• State transition prompt.
The options in the task area settings allow you to decide which links are to be displayed in the task area.
Note: If you hide the New commands, users cannot create new objects. If the View and Modify
commands are hidden, they are not available in the context menu either.
M-Files | 3. System Administration | 526
In this chapter
1. Open the M-Files Web configuration page by entering the URL http://<Your M-Files Web domain>/
configuration.aspx into your web browser and then enter your credentials if you are not already
logged in.
If you are already logged in, you will be redirected directly to the configuration page. Otherwise
the configuration page will be opened after the login screen.
2. In the left-side tree view, under Vault-specific settings, expand the additional settings of the vault that
you want to modify by clicking the arrow before the vault icon.
3. Click a folder in the selected vault to select the category that you want to edit:
a. Select the Controls folder to show or hide M-Files Web user interface controls.
or
b. Select the Task area folder to show or hide elements in the M-Files Web task area.
4. Select the Show or Allow radio button for the elements that you want to enable.
If you want to show the Log Out button in the task area, go to the Task area settings, and select
Show for the Log Out option.
5. Select the Hide or Disallow radio button for the elements that you want to disable.
Saving and protecting data is important, but the saved data must also be available for analysis. In addition
to being able to save many types of data in M-Files, you can use it to create various reports.
The reports can be used to gather information on, for example, sales processes, completed projects, the
size of the proposal base, volumes of orders, participation in training, and sales by each salesperson
itemized by customer. Graphical reports make the data analysis quick and easy. In real-world operation,
reports can be generated from any metadata.
M-Files | 3. System Administration | 527
The reporting module is an M-Files add-on product available for a separate fee. It can be activated with an
accompanying license code. The reporting module enables data export from M-Files to create reports and
display them in the M-Files user interface.
For you to activate the reporting module, the license code must be activated on your system. The license
is provided on a subscription basis. Activate or update the license code in M-Files Admin (for more
information, refer to Managing Server Licenses). In M-Files Cloud, the reporting module is automatically
activated if your subscription includes it.
To find out how M-Files can support your business with M-Files reports, please contact us at sales@m-
files.com.
Reporting database
The reporting data is exported from the vault to an external reporting database. In M-Files Cloud, the
reporting database is available for a separate fee.
To display the reports, M-Files has a built-in object type and class for reports. By default, the Report object
type is hidden from the users. Provide the required access rights for the Report object type so that actual
reports can be created in the client software.
M-Files | 3. System Administration | 528
In this chapter
With M-Files Reporting Data Services, you can export data from M-Files to external databases (SQL
Server). You can select which data is exported, set scheduled data exports, and generate reports of the
exported data set. M-Files Reporting Data Services is installed when you install M-Files Server.
Before you create a data set, we recommend that you create a new target database to which the new data
set is exported.
4. Expand a vault.
5. Select Reporting and Data Export and then click New Data Set on the task area.
6. In the Name field, enter a name for the new data set.
7. In the Data to export section, click Add Objects... to select the objects to be exported.
8. Use the Objects to export drop-down menu to select the objects to be exported on the basis of the
object type.
You can click Filter Objects... to refine the selected objects by specifying property conditions
that the objects must meet to be exported. For more information on filtering objects by
properties, see Property-Based Conditions.
M-Files | 3. System Administration | 530
9. Optional: Select the object that you just added to the Data to export section and click Add Property...
to add for the selected object type a property that you want to be exported.
a) Use the Property to export drop-down menu to select the property to be exported.
b) Go to the History and Old Values tab.
On the History and Old Values tab you can define whether you want to export the change
history and previous values of the selected property.
c) Check the Export the change history of this property check box if you want to export the change
history of the selected property.
The change history adds an entry of each change in the property value to the data set. This
makes it possible to answer questions such as "What was the total value of deals closed in
August?" by exporting the change history of the property value Closed and pinpointing the
objects for which the value of said property changed from No to Yes during August.
d) Check the Export the old values of this property, using sampling check box if you want to export
previous values of the selected property and use the Sample at drop-down menu to define the
frequency of the sampling (daily, weekly, monthly, or yearly).
e) Select either Full history, Fixed-length period, or Starting from date option to define the history
length for the change history and old values of the selected property.
If the frequency of sampling is high (for instance daily), it is recommended to restrict the
length of the history period to avoid expanding the database unnecessarily and to increase
the speed of the export function.
f) Click OK to close the Property to Export dialog.
M-Files | 3. System Administration | 531
10.In the OLE DB connection string field, enter the connection string for connecting to the target
database or click Define... to define the connection string.
Note: We recommend that you use a separate target database for every new data set.
If you use Microsoft SQL Server as the target database, it is advised to use Microsoft OLE DB
Driver for SQL Server (MSOLEDBSQL) as the data provider, and to use either Simple or Bulk-
logged as the Recovery model setting in the target database. This will significantly improve the
speed and performance of exporting data sets.
For more information on database connection strings, see Connections to External Databases
for Object Types.
12.In the Use the identity of the following user when reading data drop-down menu, select the user
whose identity you want to use for transferring data from M-Files to the reporting services.
The most suitable user is a "regular" user without any extended rights. If you use, for example,
your own user identity that has a system administrator role, data that you do not want to expose
to all users could end up in the reports displayed by the client software.
If the metadata structure of the vault is translated into multiple languages, the metadata
language of the exported data set depends on the vault language settings of the user whose
identity is used for reading data.
If you have the Electronic Signatures and Advanced Logging module in use, you must select (M-
Files Server) as the user.
13.Optional: Check the Export data on a scheduled basis option check box and click Schedule... if you
want to export this data set on a scheduled basis.
14.Optional: On the Advanced tab, define an alias for the data set.
When automatic aliases are in use and you write a name on the General tab, the Aliases
field on the Advanced tab is automatically filled in. The alias has the format <predefined
prefix>.<name>. Configure automatic aliases for your vault in Advanced Vault Settings.
15.Optional: Click Export Now to export the data set right away.
You can click Status of Exporting... to view the status of the exporting process when the
exporting is in progress.
The data set that you have just defined is added to the Reporting and Data Export list. The data set is
exported either automatically on a scheduled basis or manually, depending on the settings that you have
provided.
Now that you have created a data set, you can use it to create a report (see Creation of Reports and the
Required Software) and then create a report object in M-Files to read the report (see Creating a Report
Object for a Report).
The report access identity is the identity that is used for transferring reports from the reporting services to
M-Files Desktop and for reading them.
4. Expand a vault.
5. Select Reporting and Data Export and then click Specify Report Access Identity in the task area.
6. Select either:
a. Windows user identity: Select this option to access reports with the Windows user account. This is
the recommended choice in a Windows domain environment.
or
b. Specific identity: To define a specific identity for accessing reports, select this option and enter
the username and password of the identity in the Username and Password fields. The identity can
be a local Windows account, a domain account, or some other account recognized by the reporting
service. The reporting account to be specified should have only limited access permissions to the
reporting services. Check the The account specified is an external account (e.g., Microsoft
Azure SQL Reporting) check box if the specified account is an external account.
The report access identity that you have specified is now used for transferring reports from the reporting
services to M-Files Desktop and for reading them.
Reports from M-Files to an external database use the Microsoft SQL Server Reporting Services
infrastructure, which must be set up correctly.
When reports are created for M-Files, the SQL Server Reporting Services system contacts the exporting
database to generate reports when M-Files Desktop requires it.
Microsoft SQL Server Reporting Services can be installed with the SQL Server package (Microsoft SQL
Server 2012 or later).
Free SQL Server Express versions can also be used for reporting. To use SQL Server Express, you must
use the SQL Server Express with Advanced Services edition. The edition contains the necessary reporting
services module. Download it from Microsoft's website at https://www.microsoft.com/en-us/sql-server/sql-
server-editions-express.
In planning reports, you must use Business Intelligence Development Studio or the simpler Report
Builder tool. The person responsible for the planning must have experience and skills in creating reports.
Contact our consulting services personnel for help with report planning ([email protected]).
For installation instructions of Microsoft's reporting services, visit Microsoft's webpages or contact our
customer support in M-Files Support Portal or your M-Files reseller.
Note: Instructions on planning and creating reports and using third-party software are available
from the M-Files consulting services for a fee.
When a report has been created (for more information, see Creation of Reports and the Required
Software), it can be retrieved for use in M-Files Desktop.
For displaying reports, Microsoft .NET Framework (not .NET) 4.7.2, 4.8.x, or later (or the most recent
available Client Profile version) is required. If the client computer does not have an appropriate .NET
Framework installed, the report is not shown and the user is prompted to install the framework. You can
download the most recent .NET Framework version from Microsoft Download Center.
1. In M-Files, right-click on the listing area and select Create > Report... from the context menu.
If the report is used for calculating yearly revenue, the title of the report object could be Revenue
by Year.
M-Files | 3. System Administration | 535
3. In the Report URL field, enter the URL to be used for retrieving the report from the reporting services to
M-Files. The URL must be in the form http://servername/instance?/report_path.
The same URL can be used to retrieve the report in the browser. Note, however, that this
address will not be displayed in the browser address field after opening the report. For more
information, contact our customer support in M-Files Support Portal or your M-Files reseller.
4. Optional: To define the placement of the report in the M-Files user interface, click Add property and
select Report placement from the drop-down menu, and the select an appropriate value for Report
placement using the drop-down menu.
The report object you have created is added to the vault. You can view the report by selecting the object in
M-Files.
You can attach a report object to a specific view. For instructions, see Attaching a Report Object to a View.
Attaching a Report Object to a View
You can attach a report object to a specific view, such as Sales by customer or Proposals by salesperson.
Do the following steps to attach a report object to a view:
1. In M-Files, navigate to the view to which you want to attach a report object.
2. Optional: If you want your settings to be applied for all users, right-click on an empty area in the view
and select Properties from the context menu.
a) In the Properties dialog, check the Common to all users check box, if it is not already checked.
b) Click OK to close the Properties dialog.
3. Press Alt and select one of the following options from the context menu:
a. View > Reports > Attach Report to This View (full view)...: Select this option if you want the
report to be displayed in the full view mode, covering the listing area and the right pane.
or
b. View > Reports > Attach Report to This View (right)...: Select this option if you want the report to
be displayed in the right pane.
or
c. View > Reports > Attach Report to This View (bottom)...: Select this option if you want the report
to be displayed at the bottom of the listing area.
4. Select the report object that you want to attach to the selected view and click Open.
The selected report is attached to the selected view. When you navigate to the view, the report is displayed
automatically.
Associating the Report Object with Other Objects
You can associate the Report object with other objects, such as Customers. You can display the report
data by customer by selecting a customer from the list if you so specify in the reporting services settings
(see Creation of Reports and the Required Software). Then M-Files will show the data (for instance sales
by month) for only this specific customer in the report. When you select another customer, the report will be
updated with data related to the second customer.
M-Files | 3. System Administration | 536
The data in the report is based on the latest data from M-Files to the reporting service. The data can
exported either manually or on a scheduled basis. If a separate update link is created for a report in
the reporting services, the report can be updated with M-Files Desktop whenever necessary. For more
information, contact our customer support in M-Files Support Portal or your M-Files reseller.
Exporting a Report
Once a report is readable in M-Files, it can also be exported in various file formats. The supported file
formats are:
Note: The exported report is static and cannot be edited in other applications.
1. In M-Files, locate the report that you want to export by using either the search or the views.
2. Right-click on the displayed report and select Export and then select a suitable file format from the
context menu.
3. Select a suitable directory and enter a suitable file name in the File name field and then click Save.
This section describes how to create new event handlers and how to use scripts in M-Files. You might also
want to see the FAQ article How do I write VBScript code for M-Files purposes?.
Note: In a shared M-Files Cloud environment, you can only install custom code that M-Files has
validated.
In this chapter
• Event Handlers
• Available VBScript Variables
• Execution Order of Scripts
Event Handlers
With event handlers, you can define different operations that are executed when certain events occur, such
as after an object is modified or before a new value list item is created. The operations are specified using
variables, generic features of VBScript, and M-Files API.
M-Files | 3. System Administration | 537
• Object permissions can be set to change automatically when the object properties are changed.
• Certain basic documents can be added to every new project through a pre-defined project model.
• Specified Word documents can always be saved as PDFs, so that when a Word file is checked in, it is
saved to the server in PDF format as well.
• Data related to photos, such as date and image size, can be automatically added to the metadata of the
photo document.
• If the user adds a new value to the value list, the event handler can be used to check that the added
value is entered correctly.
• Logging in to M-Files can be prevented outside working hours, for instance during night time and
weekends.
• Downloading certain files can be monitored, downloading large numbers of files can be prevented, or
an alarm of suspicious downloads can be sent to the administrator.
Note: The M-Files API documentation is available online: M-Files API. For more information about
using VBScript in M-Files, see the How do I write VBScript code for M-Files purposes? tutorial.
3. Right-click a vault.
6. Use the Select event drop-down menu to select the event for which you want to create an event
handler.
If you want to create an event handler that is invoked whenever a new object is about to be
created, select the BeforeCreateNewObjectFinalize event.
For the list of available events and their descriptions, see Available Event Handlers
7. In the Name field, enter a descriptive name for the new event handler and click OK to close the Add
Event Handler dialog.
If you have more than one event handler of the same type, you may change their execution
order by selecting the event handler in the Event Handlers dialog and clicking either the up or
down arrow button along the right corner of the dialog.
9. Enter the code to be executed when the event handler is invoked, and then close the Edit VBScript
window.
Dim titleProperty
titleProperty = MFBuiltInPropertyDefNameOrTitle
Dim currentTitleProp
currentTitleProp = PropertyValues.SearchForProperty(titleProperty)
Dim currentTitle
currentTitle = currentTitleProp.Value
Dim titleSearch
Set titleSearch = CreateObject("MFilesAPI.SearchCondition")
Dim titleExpression
Set titleExpression = CreateObject("MFilesAPI.Expression")
titleExpression.SetPropertyValueExpression titleProperty,
MFParentChildBehaviorNone, Nothing
Dim titleTypedValue
M-Files | 3. System Administration | 540
' If an existing object with the same title was found, raise an
error.
Err.Raise MFScriptCancel, _
"The document vault already contains an object with the same
title. Please choose another title."
End if
10.Back in the Event Handlers dialog, click OK to save your changes and to close the Event Handlers
dialog.
The new event handler is added to the selected document vault and the code that you have defined is
executed whenever the event handler is invoked.
In this chapter
Below you can find the available event handlers, with their variables and explanations. For more
information about variables, see Available VBScript Variables.
The event handlers listed in this section are triggered by operations on the vault level.
Note: An exception in an event handler prevents the triggering operation from being executed.
M-Files | 3. System Administration | 541
• ObjectAccessControlList
M-Files | 3. System Administration | 545
• FileTransferSessionID
• FileTransferSessionID
• FileVer
• FileTransferSessionID
• ObjID
• FileVer
M-Files | 3. System Administration | 546
• ValueListItem
• LoginAccount
• LoginAccount
M-Files | 3. System Administration | 547
• LoggedOutUserID
Replication:
AfterCheckInChanges • Vault The event handlers are invoked
• VaultSharedVariables when new versions are imported
• SavepointVariables to the existing object from the
• TransactionCache content package or when a
conflict between two objects
• MFScriptCancel
is resolved in favor of the
• GetExtensionObject source-vault version. When the
• MasterTransactionID AfterCheckInChanges event
• CurrentTransactionID handler is invoked, the object
• ParentTransactionID has already been checked in. For
this reason, the metadata or files
• RestoredVersions can no longer be modified during
• ObjVer operation of the event handler.
M-Files | 3. System Administration | 548
• RestoredVersions
• ObjVer
• LoginAccount
M-Files | 3. System Administration | 549
• LoginAccount
• LoginAccount
• UserAccount
M-Files | 3. System Administration | 550
• UserAccount
• UserAccount
• UserGroupAdmin
M-Files | 3. System Administration | 551
• UserGroupAdmin
• View
• View
M-Files | 3. System Administration | 553
• View
• View
• ActivityID
• MemberID
• GroupID
• MemberID
• GroupID
This section lists event handlers that are triggered by server-level operations. These operations also cause
a corresponding event to be executed in all online vaults of the server.
Note: An exception in a server-level event handler prevents the triggering operation from being
executed, but any vault-level event handler exceptions do not affect server-level operations.
M-Files | 3. System Administration | 556
AfterModifyMFilesCredentials:
The event handler is triggered
for all online vaults after the
password of an M-Files login
account is changed.
VBScript code is edited in the Edit VBScript code window available in the following dialogs:
Note: The M-Files API documentation is available online: M-Files API. For more information about
using VBScript in M-Files, see the How do I write VBScript code for M-Files purposes? tutorial.
Example: Err.Raise
MFScriptCancel, "This is the
error message shown to the
user."
VaultSharedVariables( "Message" )
= 123
Output =
VaultSharedVariables( "Message" )
The property definitions listed in the following table are not shown by using the PropertyValues variable
in scripts:
ID Name
24 Status changed
22 Single file
M-Files | 3. System Administration | 564
ID Name
27 Deleted
28 Deleted by
33 Comment
29 Version label
30 Size on server (this version)
31 Size on server (all versions)
32 Marked for archiving
46 Collection members (documents)
47 Collection members (document collections)
101 Class groups
41 Assignment description
42 Deadline
43 Monitored by
44 Assigned to
45 Marked as complete by
97 Marked as rejected by
79 Workflow Assignment
81 Accessed by me
82 Favorite view
89 Object changed
90 Permissions changed
91 Version label changed
92 Version comment changed
93 Deletion status changed
96 Conflict resolved
105 Object changed for export
106 Object version changed for export
For example, the following piece of script results in a "not found" error:
Dim DeadlineValue
DeadlineValue = PropertyValues.SearchForProperty(42).TypedValue.DisplayValue
Tip: You can use the GetProperties method to get all the properties of a specific object.
User-specified scripts in M-Files are executed in a specific order and the point in which they are executed
depends on the event for which the script is written. See the lists below for the order in which events are
M-Files | 3. System Administration | 565
by default executed when a user does a certain action in a vault. Note that the exact order and number of
events that are triggered after a specific user action depend on the vault structure and the types of scripts
used in the vault.
The user creates an object, edits its property values, and checks in the object:
The user edits the property values and changes the workflow state of an object:
If you have more than one event handler of the same type, you can change their execution order by
selecting the event handler in the Event Handlers dialog and clicking either the up or down arrow button
along the right side of the dialog:
Operations in an external database are done as the second last action. For example, here is the execution
order for when the user creates an external database object and checks it in:
IML allows an M-Files user to connect to multiple different external repositories in addition to the traditional
M-Files document vaults. By means of special vault applications known as connectors, the user can
browse and edit content residing in external sources within the M-Files user interface.
IML provides automatic classification and metadata to your documents with the aid of so-called intelligence
services that add a layer of artificial intelligence to M-Files. Intelligence services are vault applications that
classify documents for you by determining the class of the document and suggesting metadata values by
analyzing file content semantically and visually.
For a more thorough overview of IML, see the document Intelligent Metadata Layer.
Note: To use IML features, you need an appropriate Intelligent Metadata Layer license and
Microsoft .NET Framework (not .NET) 4.7.2, 4.8.x, or later installed on the M-Files server computer.
Note: Some M-Files applications that were released before M-Files 2018 may not be compatible
with external repository content. Before taking IML into use, ensure that all your business-critical M-
Files applications are compatible with content stored in external repositories.
Architecture of IML
The architecture of IML can be divided into three separate layers: the unified user experience layer on the
top, the intelligent metadata layer in the middle, and the multi-repository backend at the bottom.
Easy and engaging Optimized for your device Mobile and offline enabled
Automatic metadata
Core ECM capabilities Search across repositories and classification
Multi-Repository Backend
The top layer, the unified user experience layer, serves to offer a unified user experience regardless of
the repository in use. It allows information to be viewed and edited with the familiar M-Files Desktop, M-
Files Web and M-Files Mobile user interfaces, no matter where the information resides.
M-Files | 3. System Administration | 568
The middle layer, also known as Intelligent Metadata Layer, is the central component in the IML
architecture. It consists of all the essential enterprise content management capabilities, such as a versatile
search interface, workflows, version history, checking out documents for editing, and a multi-repository
search. The M-Files approach of classifying documents with metadata and categorizing content into
metadata-based views allows documents to be found on the basis of what they are about instead of where
they reside. The multi-repository search is the M-Files version of an enterprise search, allowing documents
to be searched for across repositories.
The middle layer also adds artificial intelligence into the M-Files system. The so-called intelligence services
offer means for automatic metadata suggestions and document classification by performing text and image
analytics on content that is added to M-Files, and by applying machine learning on vault user behavior
patterns. Intelligence services are vault applications that, when installed, can shoulder the burden of
specifying metadata and classifying documents. Additionally, the IML application programming interface
allows intelligence services to be developed by third parties so that they can be tailor-made to suit specific
needs and environments of diverse organizations and businesses.
The bottom layer, the multi-repository backend, acts as an interface between M-Files and external
repositories. By means of vault applications known as connectors, M-Files users are able to view
and modify content in external repositories by using the M-Files user interface. Connectors establish
connections between M-Files and external repositories and allow the user to view and edit content from
various different external sources as though the user was operating within a single document vault.
In this chapter
• Intelligence Services
• Connectors
• Connection to On-Premises Data with M-Files Ground Link
Intelligence Services
Intelligence services are vault applications that are designed to analyze and classify documents and offer
metadata suggestions based on file contents, existing metadata, and even user behavior. Intelligence
services make use of technologies such as text analytics and machine learning to define and maintain
document metadata for the user.
Intelligence services can operate in many ways and come into play in different situations. They can be
tailor-made for M-Files, they can take advantage of a third-party component or an API, or connect to a
third-party service to perform content analysis for M-Files.
Tip: Developers can build and customize their own intelligence services. For more information,
refer to Visual Studio Template for Building Intelligence Services.
Intelligence services are at work in the background, for example, when the user drags and drops a new
document to M-Files or modifies a specific property value on the metadata card. In such instances,
intelligence services analyze the contents of new documents and metadata modifications and offer
metadata suggestions based on the analyses that they conduct.
If you for instance add a contract to M-Files, the intelligence service may automatically suggest contract
to be used as the document class and propose values for customer and contact details, among other
metadata fields, by deducing the information from the file contents. Users may then add suggested values
M-Files | 3. System Administration | 569
as they see fit. This type of automation can significantly speed up the process of adding metadata for M-
Files objects.
Figure 67: Intelligence services aid you in tagging documents with metadata.
As another example, when an image is added to M-Files, an intelligence service can conduct a visual
analysis on the new image before the user fills in the metadata. The analysis identifies individual objects,
concepts and human faces as well as facial features in the image and generates a textual description
and subject labels of the image contents. The description and labels are in turn offered as metadata
suggestions for the description and keywords fields on the metadata card. The user can then add any
suggestions that she deems appropriate as metadata values and optionally edit the added values to further
specify the metadata.
Note: Metadata suggestions are not shown for users with a read-only license.
In this chapter
Complete the following steps to add an intelligence service to a vault on the M-Files Server computer:
4. Right-click a vault.
5. Click Applications.
7. Locate the application package stored on your computer and click Open.
9. If you have any open sessions in the selected vault, you are prompted to close any open sessions.
Click Yes.
The selected intelligence service is installed and should be listed in the Applications window. After the
intelligence service has been successfully installed, it should be configured. For instructions on configuring
an intelligence service, see Configuring an Intelligence Service.
Configuring an Intelligence Service
Intelligence services are configured in the M-Files Admin configurations editor. For instructions on using
the editor, see Using the Configurations Editor.
4. Expand a vault.
5. Select Configurations.
6. In the gray navigation area, expand Intelligence Services and then select the intelligence service that
you want to configure.
7. Open the Configuration tab, and then expand the General Settings section and edit the configuration
as applicable:
Setting Description
Enabled Specifies whether the intelligence service is enabled or not.
Suggestions These settings are used for mapping metadata suggestions with M-
Files properties.
Maximum Processing The maximum amount of time in seconds that the intelligence service
Time in Seconds waits for the suggestions to be processed and generated before
canceling the operation.
M-Files | 3. System Administration | 571
8. Expand the Service-Specific Settings section and edit the configuration as applicable.
The settings under Service-Specific Settings vary across intelligence services. See service-
specific instructions for more information.
Your configurations should now be effective and the intelligence service should be ready for use.
Connectors
Connectors establish a connection between M-Files and external repositories. They bring external data
into the M-Files user interface and allow it to be viewed and modified in the same fashion as information is
commonly processed in M-Files. In other words, files in an external repository, such as a network folder,
are displayed in M-Files like any other M-Files objects and they can be edited and enriched with metadata
in the same manner as any other information residing in an M-Files document vault.
Figure 68: Connectors let you integrate M-Files with external repositories so that you can view and modify external repository content
in M-Files. By adding metadata, you can promote files and folders in external repositories to M-Files objects so that they can be, for
example, organized into metadata-driven views.
Objects in external repositories are by default unmanaged, but they can be promoted to managed objects.
For more information, see Unmanaged and Managed Objects and Promoting Unmanaged Objects.
In this chapter
• Adding a Connector
• Configuring a Connector
• Increasing the Number of Allowed External Repository Connections
• Unmanaged and Managed Objects
Adding a Connector
Complete the following steps to add a connector to a vault on the M-Files Server computer:
4. Right-click a vault.
M-Files | 3. System Administration | 572
5. Click Applications.
7. Locate the application package stored on your computer and click Open.
9. If you have any open sessions in the selected vault, you are prompted to close any open sessions.
Click Yes.
The selected connector is installed and should be listed in the Applications window. After the connector
has been successfully installed, it should be configured. For instructions on configuring a connector, see
Configuring a Connector.
Configuring a Connector
Connectors are configured in the M-Files Admin configurations editor. For instructions on using the editor,
see Using the Configurations Editor.
4. Expand a vault.
5. Select Configurations.
6. In the gray navigation area, expand External Repositories and then select the connector that you want
to configure.
M-Files | 3. System Administration | 573
Note: You cannot add more connections than specified in the external repositories
configuration. To increase the limit, see Increasing the Number of Allowed External
Repository Connections.
or
Setting Description
Display Name The display name for the connection, shown in the listing area under
External Views.
Authentication Specifies the authentication type used for connecting to the external
repository. The available options are:
• Personal
• Common
• Anonymous
Permissions These options allow you to use a default M-Files NACL for the objects
in the external repository.
M-Files | 3. System Administration | 574
Setting Description
Automatic Association These options allow you to automatically associate M-Files users with
external users and user groups. This section consists of the following
options:
Mapping These options are used for mapping objects in the external repository
with M-Files objects, and external metadata with M-Files properties.
You can enter the value * in the External Type field of an object
type mapping to use the same object type for all the external objects
available through this connection.
You can use the file extension based filtering settings under object
type mappings to specify which external repository objects should
be listed in M-Files. The file extensions should be entered without a
preceding period (for instance: bmp), and only a single one should be
specified per value field. Excluded external objects are not indexed,
either.
Search Indexing These options affect the way content in the external repository is
indexed for searching.
9. Expand the Connector-Specific Settings section and edit the configuration as applicable.
The settings under Connector-Specific Settings vary across connectors. See connector-
specific instructions for details.
10.Optional: In the gray navigation area, right-click the connection and select Authenticate Common
User from the context menu to add the common user credentials for accessing the repository.
M-Files | 3. System Administration | 575
11.Optional: In the gray navigation area, right-click the connection and select Authenticate Indexer User
from the context menu to add the credentials that are used for indexing the contents of the repository.
12.Optional: In the gray navigation area, right-click the connection and select Authenticate Permissions
Retriever from the context menu to add the credentials for fetching the external repository object
permissions.
The option is displayed in the connector context menu only if the connector requires a
permissions retriever to be assigned. Otherwise, only the options for authenticating a common
user and an indexer user are shown.
Your configuration should now be effective. You can inspect the Dashboard tab to see the status of the
external repository connection.
After you have enabled an external repository connection, the connector must usually do many operations
to get the content in the external repository fully accessible from M-Files. If there is a large amount of
content that must be indexed, this can take a long time.
In this chapter
Administrators must specify the type of authentication to be used for each external repository connection
in M-Files Admin. The Authentication setting specifies the credentials that are used for accessing the
external repository. Administrators can specify that anonymous, common, or personal authentication is
used.
See also External Repository Users and External Repository User Groups for instructions on associating
external repository users and user groups with M-Files users and user groups.
Anonymous Authentication
You must set the Authentication setting to Anonymous for repositories that do not need to authenticate
users at all.
Common Authentication
The administrator specifies credentials that are stored in the M-Files vault database in encrypted format.
These credentials are used for every M-Files user when they access the external repository via M-Files.
• The external repository contains data that can be accessed by every M-Files vault user or a certain
subset of vault users. Using this authentication type saves users from having to log in to the repository
manually.
M-Files | 3. System Administration | 576
• The external repository must be made accessible for users that do not have credentials to the
external repository. This might be the case, for example, when an organization wants to grant external
subcontractors access to a network folder with M-Files that they would otherwise not have access to.
• Using common authentication for this purpose can also require that the external users are granted
access to the content through a named access control list, as the common authentication only allows
the users to access the repository, not the actual content. Alternatively, the vault users that should
be able to access the external content can be associated with the common external user.
Personal Authentication
When the type of authentication is set to Personal, the user is prompted to provide their credentials in the
M-Files client when they access the external repository:
To log out from or to log back in to an external repository that uses user-specific authentication, perform
the following steps:
1. In M-Files Desktop, click the initials in the top-right corner of the user interface.
a. Click Log In to log in to the repository to which you are no longer connected.
M-Files | 3. System Administration | 577
or
b. Click Log Out to log out of the repository to which you are currently connected.
If you use M-Files Cloud, request our customer support (M-Files Support Portal) or your M-Files reseller to
increase the maximum number of connections if necessary.
To change the Maximum Number of Connections setting, you need to have the system administrator
permissions.
3. In Maximum Number of Connections, speficy the number of allowed external repository connections.
4. Click Save.
When you add metadata properties for an unmanaged object, it is promoted to a managed object in M-
Files. Managed objects can be edited in the external system or in M-Files, but M-Files keeps a version
history only of the changes made in M-Files. Because the external repository does not necessarily support
version history, M-Files Server saves all object versions in M-Files and only the latest version in the
external system.
Note: Unmanaged objects that are checked out cannot be promoted. Before you promote an
object, make sure that the object is not checked out to you or someone else. For more information,
see these instructions.
You can use these essential M-Files features with managed objects:
• Version history
• Object relationships
• Document collections
• Workflows
M-Files | 3. System Administration | 578
• Assignment features
• Check out and check in
• Co-authoring
• Converting single-file document to multi-file documents
• Object comments
• Scanning and text recognition
• Annotations
• Sharing objects with the Copy Link option
• Offline availability
You can use the features given here to create M-Files objects with metadata. Make sure that you use only
one of them. If you use more than one feature, the same content is migrated to the vault more than once.
1. In M-Files Desktop, locate and select an unmanaged object with the search or External Views.
2. Make sure that the object is not checked out for editing.
a. If the object is checked out to you, you can right-click the object and select Check In or Undo
Checkout from the context menu.
or
b. If the object is checked out to someone else, see the metadata card of the object to identify the user
who has checked out the object, and then ask them to check it in.
3. Use the Class drop-down menu to change the class of the object.
4. When you have changed the class, you can enrich the object with metadata as you see fit.
The class that you select sets the default metadata properties of the object.
The selected object in the external repository has now been promoted into a managed object.
With M-Files Ground Link, you can get access to on-premises data or business applications. M-Files
Ground Link lets you establish a safe connection to external repositories in private networks. Thus, a direct
network path or content migration is not necessary.
M-Files | 3. System Administration | 579
With the Ground Link feature, you can get access to on-premises repositories from a cloud vault in the
same way as in on-premises environment. You can also use Ground Link to connect an on-premises vault
to external data or business applications. To do one of these two, connect a Ground Link proxy on M-Files
Server to the vault.
Figure 69: A Ground Link proxy lets a vault connect to private repositories, such as network folders, without a direct network path.
In this chapter
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:
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.
Complete these steps to enable the channel connection for Ground Link in a vault:
M-Files | 3. System Administration | 580
2. Click Configurations.
6. Click Save.
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.
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.
6. Select the database engine for storing Ground Link proxy data.
or
7. Click Define.
Option Description
b. Click OK to close the dialog.
On the Ground Link Proxy - Microsoft SQL Do the steps from 6 to 10 in Migrating the Ground
Server dialog Link Proxy Database to Microsoft SQL Server.
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.
To get access to on-premises network folders from M-Files Cloud, install M-Files Network Folder
Connector.
11.In the left-side tree view, under Ground Link Proxies, select the newly created Ground Link proxy.
Port number Enter the port that the server listens. 443 or 7766
If you connect the Ground Link proxy
to an M-Files Cloud vault, the correct
port number is 443.
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.
M-Files | 3. System Administration | 584
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:
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.
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:
8. Open M-Files Admin and go to a vault for which you have enabled the Ground Link connection.
a) Open M-Files Admin.
b) In the left-side tree view, expand an M-Files server connection.
c) Expand Document Vaults.
d) Expand a vault.
M-Files | 3. System Administration | 585
12.Specify the information on the General, Advanced, and Permissions tabs. For instructions, see
Creating a New Object Type.
13.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.
15.In Service, select M-Files OLE DB from Ground Link proxy <name of the Ground Link
proxy>.
16.Click Configure.
17.If M-Files asks whether you want to create the object type, select Yes.
18.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.
19.After you have saved the configuration, do these operations to make sure that the connection operates
without erros:
a) 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.
b) 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.
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.
1. Open M-Files Admin and go to a vault for which you have enabled the Ground Link connection.
a) Open M-Files Admin.
b) In the left-side tree view, expand an M-Files server connection.
c) Expand Document Vaults.
d) Expand a vault.
2. Click Configurations.
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.
For more information, refer to Installing and Configuring M-Files Network Folder Connector.
10.Click Save.
11.Click Apply.
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.
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.
Backing Up and Restoring a Ground Link Proxy
We recommend that you back up the Ground Link proxy always after you have made changes to the
Ground Link proxy or to the connections over Ground Link. If a Ground Link proxy is destroyed or the data
gets corrupted, you can restore the Ground Link proxy from a backup file. The backup file includes the
Ground Link configuration and the connector configurations.
M-Files | 3. System Administration | 587
This section tells you how to back up and restore a Ground Link proxy.
For information on how to change the location of Ground Link proxies and Ground Link proxy services with
the backup and restore operations, see Changing the Location of Ground Link Proxy Services.
6. Click the ... button to select the file location for the M-Files backup file (MFP).
7. Optional: Click Set Account... to run the task with another account than the Local System account. If
the file location is on a network drive that the Local System account cannot get access to, you must set
another account. On the Set Account dialog:
a) Select This account.
b) In This account, enter the name of the user account.
c) In Password and Confirm password, enter the password of the user account.
d) Click OK to close the Set Account dialog.
8. Optional: Select the Overwrite existing files check box if you want to overwrite the existing file in the
file location.
5. In Full backup, specify the location of the backup file from which you want to restore the Ground Link
proxy.
M-Files | 3. System Administration | 588
6. Select either:
a. Restore using original identity: Select this option to to restore the Ground Link proxy with
the existing ID. The existing Ground Link proxy services and the connections to them will be
automatically enabled.
or
b. Restore as a different Ground Link proxy (new identity): Select this option to restore the Ground
Link proxy with a new ID. In Name, enter a name for the Ground Link proxy.
To enable the connections to the Ground Link proxy services, you must remove the existing
connections to the original Ground Link proxy services. For more instructions on managing the
connections, refer to the connector instructions, such as Installing and Configuring M-Files Network
Folder Connector.
7. In Location for Ground Link proxy data on server, specify the location for the Ground Link proxy
data.
8. Optional: Select the Overwrite existing files check box if you want to overwrite the existing file in the
file location.
9. Optional: If you do not want to temporarily disable the vault applications, unselect the Disable vault
applications check box.
For data security reasons, we recommend to enable the vault applications separately after the
Ground Link has been restored.
10.Click OK.
11.Optional: Enable the vault applications. For instructions, see Installing and Managing Vault Applications.
You can migrate your Ground Link proxy database from Firebird to Microsoft SQL Server with M-Files
Admin.
6. In Server name, enter the connection address to your Microsoft SQL Server, such as
mysqlserver.mydomain.local.
7. In Database name, enter a name for the Ground Link proxy database.
We recommend to use the same name as the Ground Link proxy has on M-Files Server.
8. In the Administrator credentials and Basic user credentials sections, enter the credentials. For
instructions, refer to this table.
9. Optional: Click Test Connection to test the connection to your Microsoft SQL Server.
10.Click OK.
A warning dialog is opened to tell you that the operation cannot be undone.
11.Click Yes to close the warning dialog and start the migration.
Your Ground Link proxy now uses the Microsoft SQL Server database engine. The database of your
Ground Link proxy is on the specified Microsoft SQL Server.
Disabling the Ground Link Connection
If you want to disable the Ground Link feature in a vault, follow the instructions below.
5. Click Save.
Note: Taking a vault offline should always be done in a controlled manner and the vault
users should be notified beforehand.
You can move a repository connection to a connected Ground Link proxy or to another vault. This lets you
preserve the repository’s index and the metadata of promoted objects.
To do this:
M-Files | 3. System Administration | 590
1. Open M-Files Admin and go to a vault for which you have enabled the Ground Link connection.
a) Open M-Files Admin.
b) In the left-side tree view, expand an M-Files server connection.
c) Expand Document Vaults.
d) Expand a vault.
2. Click Configurations.
6. In the Connection section of the Migrate Connection dialog, select the connection that you want to
move.
The Connection ID, Service, and Location fields are automatically filled.
Note: The service listed in the dialog must be available in the new location.
8. In the New location section, select the location to which the connection is moved.
9. Optional: If you selected to move the connection to a Ground Link proxy, enter the password that is
specified in the Ground Link proxy configuration.
10.Click Migrate.
In the Manage Connections section, it is also possible to give a repository connection a new ID. This can
be helpful, for example, to access promoted objects after you have deleted and recretead a connection.
Before you restore the Ground Link proxy on the new server, make sure that the Ground Link proxy is
offline.
5. Optional: To destroy the original Ground Link proxy, right-click the Ground Link proxy on the old server
and select Operations > Destroy from the context menu.
a) In the warning dialog that is opened, click Yes to close the dialog and destroy the Ground Link
proxy.
Before you enable the restored Ground Link proxy, uninstall the unnecessary applications from the two
Ground Link proxies.
To move some Ground Link proxy services with all their connections to a new Ground Link proxy:
4. Restore the Ground Link proxy as a different Ground Link proxy (new identity).
5. Uninstall those applications from the original Ground Link proxy that you want to move to the restored
Ground Link proxy.
6. Uninstall those applications from the restored Ground Link proxy that you do not want to move to the
restored Ground Link proxy.
This section collects Microsoft Windows registry settings, M-Files named value settings, and advanced
vault settings that you can apply on the M-Files server computer to customize the behavior of M-Files
Server and the vaults.
Note: You need M-Files Named Value Manager for distributing named value settings. For
downloading the application as well as for instructions on using it, see the document Distributing
Vault-Specific Registry Settings from M-Files Server.
In this chapter
• Enabling Co-Authoring
• 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
• Configuring 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 with Registry Settings
• Specifying PDF Conversion Limitations for Indexing and File Preview
• Defining File Types for Indexing
• Configuring Mappings Between Incoming Connections and Vaults
• Specifying Vault-Specific Locale Settings
• 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
• Enabling Cross-Origin Resource Sharing (CORS)
• Microsoft Authentication Library (MSAL) with M-Files Mobile
Enabling Co-Authoring
Prerequisites
• The new M-Files Web is set up. If you use M-Files Cloud, the new M-Files Web is already set up.
Otherwise, set up M-Files Web in M-Files Admin.
• You have the latest Microsoft security updates in your environment. For information on the available
updates, refer to Microsoft Update Catalog.
M-Files | 3. System Administration | 593
To use co-authoring, you must enable Microsoft Office for the web tools in your vaults.
Deployment Instructions
M-Files Cloud You must have a valid Microsoft 365 subscription to use the Microsoft Office for the
web services.
Request our customer support (M-Files Support Portal) or your M-Files reseller to
enable these features.
On-premises Refer to Enabling Microsoft Office for the Web Services for M-Files to deploy Office
server Online Server and set M-Files to use Microsoft Office for the web services.
Self-managed Your organization must be a part of Office Cloud Storage Partner Program to
cloud environment enable these features.
Refer to Enabling Microsoft Office for the Web Services for M-Files to deploy Office
Online Server and set M-Files to use Microsoft Office for the web services.
By default, the task area is collapsed and it can be expanded by the user. Add this registry key on the
client computer to specify whether task area is visible or hidden when the user opens M-Files Desktop.
This setting must be added before the user has logged in to the vault for the first time.
Key HKEY_CURRENT_USER\SOFTWARE\Motive\M-Files\<version>\Client
\MFShell<vault name>
Value name TaskPaneInitialState
Value type REG_DWORD
Description Specifies whether the task area is hidden, visible, or completely disabled when the
user opens M-Files Desktop.
Default value 1 The task area is hidden.
Valid values 0 The task area is disabled and cannot be opened by the user.
1 The task area is hidden but can be expanded by the user.
2 The task area is visible but can be hidden by the user.
Use the settings in this section to make M-Files Desktop show only a selected set of properties in these
places:
6. As the value of the Column setting, select a property that you want to add to the list.
8. Click Save.
6. As the value of the Property definition setting, select a property that you want to add to the list.
8. Click Save.
6. As the value of the Property Definition setting, select a property that you want to add to the list.
9. As the value of the Value List setting, select a value list that you want to add to the list.
11.Optional: Change the value of the Checked out / Checked out to setting if you want to hide the
properties Checked out, Checked out to, or both from the list.
12.Click Save.
When you mark an assignment complete, M-Files Desktop shows the comment dialog. You can change
this behavior with the instructions given here.
M-Files | 3. System Administration | 596
The Manage Client Settings Centrally setting must be set to Yes. Before you set it to Yes,
read the setting description on the Info tab.
3. Change the behavior with the Show Mark Complete Dialog setting.
For information about the options, see the setting description on the Info tab.
Disabling the comment dialog for assignments with Custom Vault Data
Note: You cannot use this method if Manage Client Settings Centrally is set to Yes.
3. Expand the Namespaces node, click Add Namespace, and expand the newly added namespace
node.
5. Use the Storage Type drop-down menu to select the MFConfigurationValue storage.
8. In the Namespace Description field, enter for example Settings related to assignments.
11.Expand the namespace group you just created, then select the namespace node, and finally the
Configuration node.
12.Click Add Named Value, and expand the newly created named value node.
14.In the Value field, enter a configuration similar to the example below.
{
"MFShell":{
"ShowMarkCompleteUI":<X>
}
}
Change the value of <X> according to how you want the user interface to behave:
Value of Description
<X>
0 The comment dialog is not shown.
1 The comment dialog is shown. This is the default behavior.
2 The comment dialog is shown for assignments when they are marked complete
in the task area.
3 The comment dialog is shown for assignments when they are marked complete
with the metadata card.
The new behavior is enabled for users as soon as they have logged out from and logged back in to the
vault. To log out all vault users, restart the vault. However, taking a vault offline must always be done in a
controlled manner and the vault users must be notified beforehand.
You can set a file type of your choice to act as the primary file type for multi-file documents in the vault.
This has these effects:
• The icon of the specified file type is shown as the icon of the multi-file document.
• The Document Preview shows the preview of the primary file when the multi-file document is selected.
• Double-clicking the object does the default action of the primary file type.
Note: This feature is supported in M-Files Desktop only. The common Windows dialogs, such as
Open or Save As, are not affected by the primary file type settings.
M-Files | 3. System Administration | 598
To specify a primary file type to be used in a vault, do these steps on the M-Files server computer:
4. Expand the newly created node and select a class value for the Document Class setting.
This value specifies the object class to which the setting applies.
These filtering settings specify the primary file type for the selected class.
6. Expand the newly created node and specify a value for the Filter setting.
The value can include wildcard characters, for example: order-?.txt or *.pdf.
Enter only a single value for each setting node. You can, however, add as many setting nodes
with the Add Filter command as you need.
The filtering values are evaluated from top to bottom. You can move a setting up or down by
right-clicking it (the node level under File Name Filters) and selecting Move Up or Move Down
in the context menu.
Note: Taking a vault offline should always be done in a controlled manner and the vault
users should be notified beforehand.
Multi-file documents of the selected class stored in this vault and any connected external repositories now
use the specified file type as their primary file and behave as described at the top of this section. If the
document contains more than one file matching the filtering conditions, the file that has been added first is
used as the primary file.
You can set a limit for the maximum number of characters that a property value added to Microsoft Word
documents can contain. Add this Microsoft Windows registry setting to the client computer:
M-Files | 3. System Administration | 599
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Client
\MFOfficeAddin
Value name LongValueInMultilineTextPropertyInWordAllowed
Value type REG_DWORD
Description Specifies whether users can add property values of over 255 characters to Microsoft
Word documents with the M-Files Insert Property feature.
Default value 1 Long values can be added.
Valid values 0 When a long property value is added to a Microsoft Word document, only the
first 255 characters are shown.
1 It is possible to add long values. The number of characters added can be higher
than 255 characters.
It is possible to add metadata properties to Microsoft Word, Microsoft Excel, and Microsoft PowerPoint
documents with the M-Files for Microsoft Office plugin. The Microsoft Office plugin is included in the M-
Files Desktop installation package. For more information on this feature, see Add M-Files Property.
With M-Files Desktop, the Microsoft Office plugin updates the property values when the document is
opened in the Microsoft Office application. In addition, you can set the metadata fields to be updated on
the server when the document is checked in. This can be especially helpful for M-Files Web and M-Files
Mobile users.
Note: In some environments, automatic metadata field updates can decrease performance.
2. Expand File Operations > Extension Filter for Embedded Metadata Update on Check-In.
Use ALL to set the metadata of all valid file types to be updated. When you use this value, do
not add other extensions.
6. Click Save.
Note: M-Files Desktop in M-Files January '24 Update and later no longer refer to public links.
Instead, these links have the name visitor link for anyone. This means that M-Files Desktop uses
the new name "visitor link for anyone", but the links still use the configuration of public links. The
classic M-Files Web still uses the term "public link".
Before you start to configure public links, make sure that these prerequisites are completed:
To enable or disable public links for all vaults on an M-Files Server, see Configuring public links for M-Files
Server. When you have configured public links for M-Files Server, you can configure vault-specific public
link settings.
To configure visitor links for anyone for M-Files Desktop and public links for the classic M-Files Web, see
Configuring visitor links for anyone for M-Files Desktop and public links for the classic M-Files Web. To
only configure public links for the classic M-Files Web, see Configuring public links for the classic M-Files
Web.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files
\<version>\Server\MFServer
Value name EnableSharedPublicLinks
Value type REG_DWORD
Description
Enables or disables the public link feature on the server. When disabled, visitor
links for anyone and public links cannot be created with clients or APIs, and
previously shared visitor links for anyone and public links no longer operate.
If you disable this feature, make sure that you also specify the same settings
for the necessary clients. For instructions, see Configuring visitor links for
anyone for M-Files Desktop and public links for the classic M-Files Web or
Configuring public links for the classic M-Files Web.
Default
value 1
Valid values 1 The Create Visitor Link for Anyone option is enabled.
M-Files | 3. System Administration | 601
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files
\<version>\Server\MFServer
0 The Create Visitor Link for Anyone option is disabled.
Configuring visitor links for anyone for M-Files Desktop and public links for the classic M-Files
Web
Before you start, make sure that notifications are enabled on the server and in the vault. Otherwise,
passcodes to open M-Files links cannot be sent.
To configure visitor links for anyone for M-Files Desktop and public links for the classic M-Files Web:
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 6. For example, Named
Values > Sharing Settings > Public Link Sharing Settings.
To disable or enable the Visitor Link for Anyone feature in M-Files Desktop and the Share Public Link
feature in the classic M-Files Web:
8. Click Add Named Value and expand the new named value node.
false
Note: If you disable the features, make sure that you also add the corresponding registry
setting for M-Files Server. For instructions, see Configuring public links for M-Files Server.
M-Files | 3. System Administration | 602
or
true
To specify whether the visitor links for anyone and public links can point to the latest version of the shared
files or only to the specific, shared version:
11.Click Add Named Value and expand the new named value node.
a. To allow links to point to the latest version of the shared file, in Value, enter this value:
true
or
b. To set links to always point to the specific, shared file version, in Value, enter this value:
false
Note: Visitor links for anyone and 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:
14.Do the steps from 1 to 7, but use this value in Namespace: M-Files.Core.Client.Settings
15.Click Add Named Value and expand the new named value node.
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 features, restart the vault so that the changes are taken into use:
To configure public links for the classic M-Files Web in the Advanced Vault Settings section in M-Files
Admin:
M-Files | 3. System Administration | 603
2. In the navigation area, expand Client > Classic Web > Sharing.
Note: If you set Enable Sharing to No, make sure that you also add the related registry
setting for M-Files Server. For instructions, see Configuring public links for M-Files
Server.
4. Click Save.
Using M-Files Named Value Manager, you may add the Send and Save to M-Files button to the Microsoft
Outlook composer window on all client computers, or disable the Send and Save to M-Files button
altogether. For more information on the Send and Save to M-Files function, see Functions in Microsoft
Outlook.
Note: You need M-Files Named Value Manager for distributing the settings. For downloading the
tool as well as for instructions on using it, see the document Distributing Vault-Specific Registry
Settings from M-Files Server.
Complete the following steps to configure the Send and Save to M-Files button for all client computers:
2. Use the Server drop-down menu to select the M-Files server and then the Vault drop-down menu to
select the document vault.
3. Use the Storage Type drop-down menu to select the MFConfigurationValue storage.
6. In the left-side pane, double-click New Named Value Key and enter the following value:
MSOutlookRibbon
a. If you want to display the Send and Save to M-Files button in the Microsoft Outlook composer
window on all client computers, add the following value to the right-side pane:
{
"Common": {
"MSOutlookRibbon": {
M-Files | 3. System Administration | 604
"ShowSendAndSaveInBuiltInTab": 1
}
}
}
or
b. If you want to disable the Send and Save to M-Files button on all client computers, add the
following value to the right-side pane:
{
"Common": {
"MSOutlookRibbon": {
"ShowSendAndSaveInMFilesTab": 0
}
}
}
8. Click Save and then close M-Files Named Value Manager if you no longer need it.
The Send and Save to M-Files button settings you have specified affect all vault users in the selected
vault.
When you are creating or editing a grouping level for a view, the Define Grouping Level dialog normally
shows the Reference direction setting that allows you to select the metadata reference direction between
the object type of the grouping level and the objects in the view. You can use a Windows registry setting to
disable this option and therefore only allow the To <selected object type> reference direction to be used.
Do the following to disable the Reference direction setting in the Define Grouping Level dialog:
1. Add the following setting to the Windows registry of the server computer:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files
\<version>\Server\MFServer\VaultOptions\{<vault GUID>}
Value name EnableReverseGroupingLevelsForViews
Value type REG_DWORD
Description Specifies whether the Reference direction setting is in use in the Define
Grouping Level dialog in this vault.
Default value The default value is 1, meaning that the setting is enabled.
Valid values 1 The setting is in use.
0 The setting is not in use. The reference direction is always To
<selected object type>.
Phonic and fuzzy searches are disabled by default in a vault and you can enable them in M-Files Admin.
5. Click Save.
You must set up the synonym search and create a custom thesaurus so that the vault users can find
documents using synonyms in the search query. If your thesaurus is large, the synonym search can have a
negative effect on the performance of the search.
1. Use a text editor to create your own custom thesaurus file that is similar to this:
Each Item contains a synonym group. The Name element contains a description for the
synonym group and it has no effect on search. The Synonyms element contains a single
synonym group. Separate the synonyms with a space.
4. Click Configurations.
5. In the navigation area, expand Advanced Vault Settings > Configuration > Search.
8. Click Save.
Now when users search for announcement, the search results list documents that contain the words
announcement, notice, bulletin, statement, or publication. Synonyms are identified in
document contents and metadata.
M-Files | 3. System Administration | 607
By default, M-Files searches for inflected forms of your search term (see Quick Search for more
information). This feature can be disabled by unchecking the option Look for different inflected forms of
the words in Quick Search in the Additional Conditions dialog. If you want this feature to be disabled by
default for all vault users, complete the steps below on the M-Files server computer.
Note: You need M-Files Named Value Manager for distributing these settings. For downloading
the application as well as for instructions on using it, see the document Distributing Vault-Specific
Registry Settings from M-Files Server.
2. Use the Server drop-down menu to select the M-Files server and then the Vault drop-down menu to
select the document vault.
3. Use the Storage Type drop-down menu to select the MFConfigurationValue storage.
6. In the left-side pane, double-click New Named Value Key and enter the following value: SearchBar
7. Select the newly added key, and in the right-side pane, enter the following value:
{
"MFShell": {
"SearchBar": {
"DefaultStemmingEnabled": false
}
}
}
Your configuration in M-Files Named Value Manager should now be similar to the example
shown below.
M-Files | 3. System Administration | 608
8. Click Save and then close M-Files Named Value Manager if you no longer need it.
The search for inflected forms is now disabled by default in the selected vault for all vault users.
By default, M-Files sorts search results by their relevance. For more information on how document
relevance in relation to the search term is determined, see Search result sorting.
Note: You need M-Files Named Value Manager for distributing some of the settings. For
downloading the application as well as for instructions on using it, see the document Distributing
Vault-Specific Registry Settings from M-Files Server.
This behavior can be prevented so that search results are sorted by user preference instead. Make the
following changes on the M-Files Server computer to prevent search results to be automatically sorted by
their relevance:
2. Use the Server drop-down menu to select the M-Files server and then the Vault drop-down menu to
select the document vault.
3. Use the Storage Type drop-down menu to select the MFConfigurationValue storage.
6. In the left-side pane, double-click New Named Value Key and enter the following value:
RememberSearchResultsSortingCriteria
M-Files | 3. System Administration | 609
7. Select the newly added key, and in the right-side pane, enter the following value: true
Your configuration in M-Files Named Value Manager should now be similar to the example
shown below.
8. Click Save and then close M-Files Named Value Manager if you no longer need it.
9. Optional: If you use the classic M-Files Web, make the following registry change on the M-Files server
computer:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server
\MFWA\Sites\1\Vaults\<vault GUID>\Configurations
Value DefaultSearchSortPropertyID
name
Value type REG_SZ
Description The ID of the property by which search results are sorted.
Value <no value> Empty the value to disable the sorting of search results by their
relevance in M-Files Web.
M-Files no longer forces search results to be sorted by their relevance, and therefore users can change the
column by which search results are sorted and the user preference is retained in subsequent searches.
M-Files | 3. System Administration | 610
Search facets are filters that let users get more focused search results. These filters include, for example,
customer, file type, class, and date. Facets and faceted search are available in vaults that use Micro Focus
IDOL or Smart Search as the search engine. Only system admins and users with the Full control of vault
rights can change these settings. For more information about the configuration, refer to the document
Configuring Faceted Search.
When the setup is saved, M-Files Desktop and M-Files Web show search facets after the user does as
search. After you have specified the settings, vault restart is not necessary.
5. In Type, select a facet that the user will see in M-Files Desktop as a filter.
For more information about the configuration, refer to the document Configuring Faceted
Search.
7. Optional: Set Show More Link to Yes if you want the users to see the link in M-Files Desktop when
there are more than five facet values.
8. Optional: In Display Order, write an integer that defines the order of the filters in M-Files Desktop.
A facet with the value 1 is put before a facet with the value 2, and so on.
9. Click Save.
In addition to using the Automatic Updates dialog, you can configure automatic updates on the server
computer and client computers with Microsoft Windows registry settings. For the changes to take effect,
you must restart the M-Files Server service. For more information on automatic updates, see Updating M-
Files.
Note: If automatic updates are disabled, you must have local administrative permissions on your
computer to install an available update.
M-Files | 3. System Administration | 611
Tip: In Microsoft Windows, you can use Group Policy Objects to distribute registry settings to
multiple computers.
Add or edit the following Windows registry setting to disable or enable the automatic updates. To make
sure that your M-Files software is always up to date, do not disable automatic updates.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\Common\Updates
Value name Enabled
Value type REG_DWORD
Description If the value is set to 0, automatic updates are disabled on the target computer, including
manual update checks with the Automatic Updates dialog. You can update the
software by downloading and running the installation package by hand.
Default value The default value is 1.
Valid values 1 Updates are enabled on the computer.
0 Updates are disabled on the computer.
Add or edit the Windows registry settings in this section to disable or enable specific features of automatic
updates.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name AllowToUseAutoInstallationFeature
Value type REG_DWORD
Description If the value is set to 0, installing automatic updates is disabled and only the Download
updates automatically option is visible on the Settings tab in the Automatic Updates
dialog. You can still install updates in the Installation tab of the Automatic Updates
dialog.
Default value The default value is 1.
Valid values 1 The setting Install updates automatically is shown on the Settings tab.
0 The setting Install updates automatically is not shown and updates are not
automatically installed.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name EnableAutoInstallation
Value type REG_DWORD
M-Files | 3. System Administration | 612
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Description With this setting, you can specify whether automatic updates are automatically installed.
If the setting AllowToUseAutoInstallationFeature is set to 0, this setting has no
effect.
Default value The default value is 0.
Valid values 0 Automatic updates are not automatically installed. The Install updates
automatically option is disabled on the Settings tab of the Automatic
Updates dialog.
1 Automatic updates are automatically installed. The Install updates
automatically option is enabled on the Settings tab of the Automatic
Updates dialog.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name EnableUpdates
Value type REG_DWORD
Description If the value is set to 0, M-Files no longer downloads updates automatically, but you can
run the update check manually in the Installation tab of the Automatic Updates dialog.
Default value The default value is 1.
Valid values 1 M-Files automatically checks for updates and downloads a new version if
one is available.
0 M-Files does not check for new versions automatically.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name CanConfigureAutoInstallingViaUi
Value type REG_DWORD
Description If the value is set to 0, the settings shown on the Settings tab in the Automatic
Updates dialog cannot be changed.
Default value The default value is 1 for Microsoft Windows Server operating systems and 0 for other
operating systems.
Valid values 1 Settings shown on the Settings tab in the Automatic Updates dialog can be
changed.
0 Settings shown on the Settings tab in the Automatic Updates dialog cannot
be changed.
If necessary, you can adjust the installation deadline and the amount of time by which users can delay the
installation. Add the following registry settings on the target computer to adjust the installation deadline:
M-Files | 3. System Administration | 613
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name PostponeDurationInHours
Value type REG_DWORD
Description Users can delay the installation process once before it is started. Edit this value to
change the number of hours by which users can delay the installation process by
selecting Update Later in the options dialog.
Default value 10 The default value for the additional delay is 10 hours.
Valid values Any number of hours.
You can select the preferred days and time of installing M-Files updates. It is recommended that you select
a date and time that is outside working hours so that installing updates does not interrupt daily M-Files
tasks in the organization.
Note that the computer must be running and not in sleep or hibernate mode when the update is scheduled
to be installed. If the computer is not running when the scheduled installation time occurs, the update is
attempted to be installed or scheduled the next time the computer is started.
Add the following registry settings on the target computer to define an installation schedule:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name AutoInstallDays
Value type REG_SZ
Description One or more days when automatic updates are attempted to be installed. Separate
multiple values with a semicolon.
Default value mon;tue;wed;thu;fri;sat;sun
By default, automatic updates are attempted to be installed every day of the
week.
Valid values mon Monday
tue Tuesday
wed Wednesday
thu Thursday
fri Friday
sat Saturday
sun Sunday
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name AutoInstallTimeOfDay
Value type REG_SZ
M-Files | 3. System Administration | 614
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Description The time of day in 24-hour format when automatic updates are attempted to be
installed.
Default value 02:00 By default, automatic updates are attempted to be installed at 02:00.
Valid values Any valid time of day.
You can add random delay to the beginning of the automatic updates by adding the following registry
setting on the target computer:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Common
\MFAUClient
Value name AdditionalMaxRandomSleepingPeriod
Value type REG_DWORD
Description The maximum value for the random delay (in other words sleeping) added to the main
sleeping period (default: one hour) at the beginning of the automatic updates poll-
download-install cycle. The randomness establishes a crude form of load balancing in
a network. When defining the value, take into consideration that too large values may
impact polling frequency and that also several other registry settings affect the sleeping
period and installation. Their combined effect can result in unwanted consequences,
such as preventing a user from postponing the installation during office hours or
delaying the download to occur only after a weekly installation day. With the default
settings, the poll-download-install cycle restarts every 1-2 hours with a mean value of
1.5 hours.
Default value 3600 The default maximum added delay value is one hour (3600 seconds).
Valid values 0 No random added delay.
<1-86400>Maximum random added delay in seconds.
You can use these settings to specify file size and conversion time limits for PDF conversions done in the
context of indexing and file previews.
These are the default settings for the maximum size of the source file by file type.
• Email file: 10 MB
• Microsoft Excel file: 10 MB
• Image file: 100 MB
• PDF file: 10 MB
• Microsoft PowerPoint file: 10 MB
• Microsoft Visio file: 10 MB
M-Files | 3. System Administration | 615
To change these values, do the steps given here on the M-Files server computer as a system
administrator.
5. Optional: Specify the other settings for the selected file format.
For more information, select a setting and see the Info tab.
6. Click Save.
7. In the Advanced Vault Settings section, expand File Previews > Viewer Files and change the value
of PDF Conversion Timeout.
M-Files Server tries to index the contents of the most general file types when a new file version is checked
in to M-Files Server. Indexing enables users to search documents and objects from M-Files using the
words that can be found in the file content. This topic lists the files whose contents are indexed by default
and tells how to add file types to be indexed and how to exclude file types from indexing.
Note: Metadata is always indexed regardless of whether the file extension is in the list of file types
to be indexed or in the blacklist of file types not to be indexed.
M-Files | 3. System Administration | 616
The following table lists the extensions of files whose contents are indexed by default when dtSearch or
Micro Focus IDOL search engine is in use.
If you do not want to use the default list of file types to be indexed, you can use the built-in blacklist
instead. The blacklist contains a predefined set of file extensions specifying the file types that are not
indexed.
Complete the following steps to set the built-in blacklist to be used in indexing:
4. Click Save.
In addition to either the list of file types to be indexed or the list of file types not to be indexed, you can
define other file types to be indexed. Also, you can define some file types you do not want to be included
in indexing. For example, you have the list of file types to be indexed, but you would like to exclude one of
the file types from indexing. To exclude the file contents from indexing, you must define the file extension
according to the following instructions.
2. Expand Search > Full-Text Search > File Extensions To Index or File Extensions To Not Index.
4. In the Extension field, enter the file extension, for instance dwg.
Note: Before you configure the mappings, make sure that you have registered the vault-specific
DNS (Domain Name System) names to DNS.
To specify mappings between incoming connections and M-Files vaults, add this registry configuration on
the M-Files server computer.
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server\Common
Value name VaultDNSConfig
Value type Multi-String Value
Description The value specifies mappings between incoming connections and vaults.
Value
https://<DNS name for the vault 1>={<vault GUID for the vault 1>}
https://<DNS name for the vault 2>={<vault GUID for the vault 2>}
For example:
https://vault1.company.com={990827D8-8AF2-4A4E-B121-4C1A8AD8ECD0}
https://vault2.company.com={F565EDFE-939E-4507-B078-D06902888C98}
You can write one entry per row. To map many DNS names to a single vault, write each connection on a
separate row. However, you cannot map the same DNS name to many vaults. If the list contains the same
DNS name many times, only the topmost entry in the list is effective. For the changes to take effect, you
must restart the M-Files Server service.
In most cases, M-Files clients show date and time values in the format specified in the regional settings of
the client computer. However, in some M-Files Server operations, number and date values are formatted
with the locale settings of the M-Files server computer. In M-Files Cloud, the server uses US locale.
If you cannot change the server computer's locale, you can specify locale settings for the vault to override
the server locale. This can be useful, for example, if you use M-Files Cloud.
When the M-Files server converts Microsoft Word documents that contain dynamic metadata fields to
PDF, M-Files refreshes the metadata fields before the conversion process. Number and date values are
formatted with the locale settings of the M-Files server computer.
Enter the value as a Microsoft Windows language code identifier (LCID). For example, fi-FI,
en-US, or sv-SE.
Number and date metadata fields in PDF conversions now use the new locale setting.
Specifying vault-specific date and time format for automatic values and notifications
You can specify a custom date and time format for automatic values (for example, properties that use
simple concatenation of properties) and notifications.
3. Use the Date Format and Time Format settings to specify the date and time format. For instructions
and examples, select one of the settings and see the Info tab.
! Important: You must specify both settings. Otherwise, M-Files uses the locale settings
of the server.
4. Click Save.
5. Optional: Use the Recalculate option to update the existing automatic values of a property.
8. Use the Custom Date Format and Custom Time Format settings to specify the date and time format.
For instructions and examples, select one of the settings and see the Info tab.
! Important: You must specify both settings. Otherwise, M-Files uses the locale settings
of the server.
9. Click Save.
If the user groups All internal users or All internal and external users do not have edit permissions on a
linked document from an external file source, the document is removed from the external file source when
it is added to M-Files.
This behavior can be prevented by making the following changes on the M-Files Server computer:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server
\MFServer
Value IgnoreACLsForExternalLinks
name
Value type REG_DWORD
Description Prevents linked documents from being removed from the external file source if
document vault users do not have edit permissions to them.
Value 1
Linked documents are now not removed from the external source even if document vault users do not have
edit permissions to the linked documents.
To restore the default behavior, set the IgnoreACLsForExternalLinks value to 0, and restart the M-
Files Server service with Windows Task Manager.
Make the following changes on the M-Files server computer to extend Firebird usability in 64-bit
installations:
M-Files | 3. System Administration | 622
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server
\MFServer\Vaults\<vault GUID>
Value DBPageSize
name
Value type REG_DWORD
Description Changes the usable memory of the Firebird vault.
Value 00004000 Sets the page file size at 16,384 bytes, which is the Firebird
maximum. This increases the database memory allocation and use
to two gigabytes.
3. Run the Optimize Database (Thorough) operation for the vault (see Vault Maintenance for more
information).
The vault performance tests (see Measuring Vault Performance for further information) have predefined
threshold times. The test results indicate if a test takes longer than the time specified by the threshold
value. See below for instructions on modifying the threshold values for vault performance tests.
Defining the threshold time for the database insert speed test
The default threshold time for the database insert speed test is 6,000 milliseconds. You may modify the
threshold time by completing the following steps on the M-Files server computer:
3. In the Threshold field, enter the threshold time for the database insert speed test in milliseconds.
The default threshold time for the network round-trip test is 1,500 microseconds. You may modify the
threshold time by completing the following steps on the M-Files server computer:
3. In the Threshold field, enter the threshold time for the network round-trip test in microseconds.
You can set M-Files Server services to use a managed service account (MSA) or a group managed service
account (gMSA). The account must have local administrator permissions on the server.
! Important: M-Files services normally use the Local System account for login. Use a different
account only when you have a reason to do so. The MFSetup service must use the Local System
account.
Do these changes before you install M-Files. If you have already installed M-Files, you can do the changes
before you update M-Files to the latest version. If M-Files is already updated to the latest version, you must
uninstall M-Files, do the changes, and install M-Files again.
Keys
• HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\Common\Server
\MFServer
• HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\Common\Server
\MFServerAux
• HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\Common\Server
\MFDataExport
• HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\Common\Server
\MFIndexingManager
Value
• Name: ServiceAccountName
• Type: REG_SZ
• Content: <domain>\<service account name>
M-Files | 3. System Administration | 624
Note: All the services in the table must use the same service account.
3. Install M-Files.
• M-Files Server
• M-Files Server Auxiliary Services
• M-Files Reporting Data Services
• M-Files Indexing Services
Web browsers cannot normally request resources from outside the domain where the resources are
hosted. These Cross-Origin Resource Sharing (CORS) settings can be necessary if, for example, you have
an application that uses the M-Files REST API to communicate with the vault.
! Important: The use of CORS is a security relaxation. Before you continue, make sure that the risk
is acceptable.
To enable CORS, add these registry keys and values to the Windows registry of the M-Files Web server:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server\MFWA
\Sites\<site name or ID in Internet Information Services>
Value EnableCrossOriginAccess
name
Value REG_MULTI_SZ
type
M-Files | 3. System Administration | 625
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server\MFWA
\Sites\<site name or ID in Internet Information Services>
Value
A list of mappings that specify which origins have access to which vaults. On each row,
specify the host name (DNS name) on the left side of the equals character. After the equals
character, add the allowed origins separated with semi-colons. It is not recommended to use
an asterisk (*) because it gives cross-origin access from all sites.
You can normally check the URL of the origin domains with your browser. For example, for
SharePoint web apps, the format of the URL is https://<domain identifier>-<instance
identifier>.sharepoint.com.
Example
value https://sample-vault.cloudvault.m-files.com=https://
mfiles-123asd.sharepoint.com;https://mfiles-098xcv.sharepoint.com
https://aa-consulting.cloudvault.m-files.com=https://
aa-consulting-123asd.sharepoint.com;https://aa-
consulting-098xcv.sharepoint.com
https://vaultXXX.cloudvault.m-files.com=https://
mfiles-123asd.sharepoint.com
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server\MFWA
\Sites\<site name or ID in Internet Information Services>
Value name AllowedCrossOriginHeaders
Value type REG_SZ
Description The headers to be allowed in the response.
Value Origin,Content-Type,Accept,Access-Control-Allow-Origin,Cache-
Control,X-Authentication,X-Requested-With,X-Vault,M-Files-Vault,m-
files-session,m-files-extensions
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server\MFWA
\Sites\<site name or ID in Internet Information Services>
Value name AllowedCrossOriginMethods
Value type REG_SZ
Description The methods to be allowed in the response headers.
Value PUT,POST,GET,OPTIONS
You can use Microsoft Authentication Library (MSAL) with M-Files Mobile for authenticating to M-Files
vaults. When MSAL is enabled, the M-Files Mobile applications use the library for authenticating to the
vaults.
M-Files | 4. Frequently Asked Questions | 626
Note: You can use MSAL only with Microsoft Entra ID.
To enable MSAL:
5. In the Configuration tab, expand Scopes > *:Windows > Configurations > Configuration >
Settings > Client.
Make a note that the name of the Configuration setting can come from automatic configuration
and have a different name. For example, AAD.MFGenerated.
8. Click Save.
MSAL can now be used for authenticating to M-Files vaults in M-Files Mobile.
This section deals with some of the most common questions related to the use of M-Files. The questions
have been divided into the categories below.
• Can I do the same stuff with M-Files Mobile as with M-Files Desktop?
• How can I add a new item to a value list?
• How can I add a new property to a class?
• How can I create a document that is only visible to me?
• How can I create a new view in which the objects are displayed by customer?
• How can I find the documents I have created myself?
• How do I change the name of my computer without interfering with M-Files functionality?
• Why can't I edit a document that has been checked out?
Administration of M-Files
Maintenance of M-Files
General questions
In this chapter
In this chapter
• Can I do the same stuff with M-Files Mobile as with M-Files Desktop?
• How can I add a new item to a value list?
• How can I add a new property to a class?
• How can I create a document that is only visible to me?
• How can I create a new view in which the objects are displayed by customer?
• How can I find the documents I have created myself?
• How do I change the name of my computer without interfering with M-Files functionality?
• Why can't I edit a document that has been checked out?
• How does the duplicate detection feature work?
4.1.1. Can I do the same stuff with M-Files Mobile as with M-Files Desktop?
M-Files Mobile is available for the iOS and Android operating systems. The table below summarizes the
differences between the mobile applications and M-Files Desktop.
For a more detailed description of the differences between the mobile applications, see M-Files Mobile
Apps Feature Comparison.
Feature M-Files Desktop M-Files Mobile for iOS M-Files Mobile for
Android
Open object files ✔ ✔ ✔
View metadata ✔ ✔ ✔
Open objects from M- ✔ ✔ ✔
Files URLs
Show subobjects ✔ ✔ ✘
Voice commands ✘ ✘ ✘
Edit metadata ✔ ✔ ✔
Edit files ✔ ✔ ✔
Add comments ✔ ✔ ✔
Add electronic ✔ ✔ ✔
signatures
Add handwritten ✘ ✔ ✔
signatures
Undo checkout ✔ ✔ ✔
Create new objects ✔ ✔ ✔
Mark assignments ✔ ✔ ✔
complete
Create a copy of an ✔ ✘ ✔
object
Create a template based ✔ ✔ ✘
on current object
M-Files | 4. Frequently Asked Questions | 629
Feature M-Files Desktop M-Files Mobile for iOS M-Files Mobile for
Android
Save documents from ✔ ✔ ✔
other apps to M-Files
Save email attachments ✔ ✔ ✔
as new objects
Scan documents using ✔ ✔ ✔
the camera of the device
Share public links ✔ ✔ ✔
Call phone numbers with ✘ ✔ ✔
the metadata card
Navigate to a website by ✔ ✔ ✔
clicking a hyperlink on
the metadata card
Create a new email ✔ ✔ ✔
message by clicking an
email address on the
metadata card
Read files and metadata ✔ ✔ ✔
in offline mode
Create objects in offline ✔ ✔ ✔
mode
Edit object metadata in ✔ ✔ ✔
offline mode
Mark objects for offline ✔ ✔ ✔
availability
Mark views for offline ✔ ✔ ✔
availability
View annotations ✔ ✔ ✔
Annotate documents ✔ ✔ ✔
online
Annotate documents ✔ ✘ ✘
offline
Manage multiple vault ✔ ✔ ✔
connections
Quickly access ✔ ✔ ✔
assignments and recent
objects
View relationships to and ✔ ✔ ✔
from the selected object
Open objects from ✔ ✔ ✔
.mflink attachments
Access all views ✔ ✔ ✔
M-Files | 4. Frequently Asked Questions | 630
Feature M-Files Desktop M-Files Mobile for iOS M-Files Mobile for
Android
Add shortcuts to views ✔ ✘ ✘
Show document ✔ ✔ ✔
collection members
Participate in workflows ✔ ✔ ✔
Convert speech to text ✘ ✔ ✔
Create new objects with ✔ ✔ ✔
M-Files URLs
Add pictures or photos to ✔ ✔ ✔
existing objects
Attach other files to ✔ ✔ ✔
existing objects
Create subobjects with ✔ ✘ ✘
the metadata card of the
parent object
Do a quick search ✔ ✔ ✔
Filter search by object ✔ ✔ ✔
type
Limit search to metadata ✔ ✔ ✔
or file contents only
Share files as email ✔ ✔ ✔
attachments
Share objects and ✔ ✔ ✔
files as M-Files link
attachments
Share files with M-Files ✔ ✔ ✔
URLs
Share or copy files to ✔ ✔ ✔
other applications
Save phone numbers ✘ ✔ ✔
to contacts with the
metadata card
Send a text message ✘ ✔ ✔
with the metadata card
Delete offline content ✔ ✔ ✔
Add vault connections ✘ ✔ ✔
with M-Files URLs
Object type hierarchies ✔ ✔ ✔
Automatic filling of ✔ ✔ (partly supported) ✔ (partly supported)
properties
M-Files | 4. Frequently Asked Questions | 631
Feature M-Files Desktop M-Files Mobile for iOS M-Files Mobile for
Android
Share content with the ✔ ✔ ✔
Copy Link operation
You can use the Add Value button in the toolbar when you work with the metadata card. This function is
available only if it has been specified in the value list properties that regular users can add new values to
this list.
If you are an M-Files system administrator, go to Value Lists in M-Files Admin, right-click the desired value
list, and select Properties in the context menu. Click the Contents... button and add a new item by clicking
the New Item button. If you do not have administrator rights, check with the system administrator that the
Allow users to add new values to this list check box is checked in the properties of the value list.
If the value list is based on an object type, the value list is edited through the object type. In this case, the
new object type is created using the M-Files Desktop user interface.
If you are a regular M-Files user, you can add properties while filling in the metadata card. You can click
Add property on the metadata card to add a new property for the object. Please note that this property is
only added to this particular object, not all objects of the class.
If you are an M-Files system administrator and want to add a property to all documents of the class, go
to Classes in M-Files Admin, right-click the desired class and select Properties from the context menu.
You can add default properties for the class by clicking the Add... button. If the desired property cannot be
found in the list, you need to create a new property definition (see Property Definitions).
When filling in the metadata card, select Only for me in the Permissions field.
4.1.5. How can I create a new view in which the objects are displayed by customer?
1. In M-Files Desktop, click the Home tab to open the home view of the document vault.
2.
Click the Create ( ) button and then select View from the context menu.
3. In the Name field, enter a descriptive name for the view, such as Customers.
You can search for documents based on certain specifications with the Additional Conditions dialog.
1.
Click the Search options button ( ) and then click the Additional Conditions... button.
2. Open the Properties tab.
3. Click the Add Condition button.
4. Specify Created by as the property, select the equals sign (=) as the operator, and your login account
as the value.
5.
Perform the search by clicking OK and then the Search button ( ).
Note: You can also create a view that shows only the documents you have created. For more information,
see Property-Based Conditions and Creating a View.
4.1.7. How do I change the name of my computer without interfering with M-Files
functionality?
If documents are checked out to the client in question when its name changes, edited information may be
lost. This is because checkouts are user and computer-specific. The computer is identified by its name.
After the name is changed, M-Files considers the checkouts to belong to another computer and does not
allow the user to access the edited information.
Check in all documents and items from the computer before changing the computer's name.
4.1.8. Why can't I edit a document that has been checked out?
You cannot edit the document because it has been checked out by another user who has not yet checked
the document back in. This is to prevent the creation of several different copies in M-Files. With system
administrator permissions, the document can be forced to be checked in, but the changes made to the
document during the checkout will then be lost.
You can also send a check-in request to the user who has checked out a document: Right-click the
document and select Send Check-in Request. The user gets an email message about the request.
The message also contains a link to the document. The check-in request is sent to the email address
associated with the user's login account.
If you try to save a file that is already in the vault, M-Files lets you know. M-Files shows you the duplicate
documents to which you have permissions.
M-Files compares only the file content of the documents. Thus, their metadata can be different. For
example, the duplicate documents can have a different name, version history, permissions, and workflow.
The feature does the comparison on a binary level with MD5 checksums. M-Files shows duplicate file
content for documents that have the same MD5 value.
M-Files | 4. Frequently Asked Questions | 633
Note: In some cases, the MD5 value can be different even when the file content of the compared
documents is the same. This happens because some files formats store additional metadata in the
file which changes the MD5 value.
In this chapter
You can use the Add Value button in the toolbar when you work with the metadata card. This function is
available only if it has been specified in the value list properties that regular users can add new values to
this list.
If you are an M-Files system administrator, go to Value Lists in M-Files Admin, right-click the desired value
list, and select Properties in the context menu. Click the Contents... button and add a new item by clicking
the New Item button. If you do not have administrator rights, check with the system administrator that the
Allow users to add new values to this list check box is checked in the properties of the value list.
If the value list is based on an object type, the value list is edited through the object type. In this case, the
new object type is created using the M-Files Desktop user interface.
4. Expand a vault.
5. Select Users.
7. Use the Login account drop-down menu to select a login account for the new user.
The Login account drop-down menu lists all login accounts that have not been added to the
document vault. If you want to create an entirely new login account, see Login Accounts.
M-Files | 4. Frequently Asked Questions | 634
8. Specify the permissions for the user and then click OK.
If you are a regular M-Files user, you can add properties while filling in the metadata card. You can click
Add property on the metadata card to add a new property for the object. Please note that this property is
only added to this particular object, not all objects of the class.
If you are an M-Files system administrator and want to add a property to all documents of the class, go
to Classes in M-Files Admin, right-click the desired class and select Properties from the context menu.
You can add default properties for the class by clicking the Add... button. If the desired property cannot be
found in the list, you need to create a new property definition (see Property Definitions).
Sometimes it can be necessary to change the login account for a user. For example, when a user's last
name has changed or when login accounts are moved between domains. To keep the user history and the
user's personal settings in the vault, do not delete the vault user. Instead, change its login account where
necessary. For the differences of these two, see the descriptions of login account and user.
In the M-Files June '24 Update and later, the events that are related to users also include a user account
ID. The user account ID stays the same even when the account name is changed.
! Important: Changing login accounts when users are synchronized from Microsoft Entra ID
If new login accounts are synchronized from Entra ID, M-Files automatically creates new users for
the new login accounts. To associate the new login account with the correct existing user, you must
first delete the new, automatically created user. Before you do this, make sure that the user has not
used the automatically created user account. Otherwise, user settings and history are lost.
Before you begin, make sure that the new login account has been created in M-Files. To change a login
account of a user:
4. Expand a vault.
5. Select Users.
6. Right-click the user whose login account you want to change and select Properties.
7. In the User Properties dialog, use the Login account drop-down menu to select a new login account
for the user.
8. Click OK.
M-Files | 4. Frequently Asked Questions | 635
The new login account is now associated with the existing user. When the user logs in with the new user
credentials, their previous user history and personal settings in the vault are available.
The Date data type of a property is used to show a date and time as a property value. To change the
format, change the date and time format settings of the client computer's operating system.
Note: These instructions are for Windows 10, but the procedure is highly similar for other Windows
versions.
Do these steps on the M-Files client computer to change the date format:
2. Select Time & language > Region > Additional date, time, & regional settings.
All the properties that use the Date data type now use the format that you have specified here.
Many M-Files Server operations use date and time information. For example, script executions and PDF
conversions. The date and time settings of the M-Files server computer's system account specify how
dates and times are formatted in such operations.
Tip: If you cannot change the locale settings of the server computer, you can use these
instructions to override the server's locale settings: Specifying vault-specific date and time format
for automatic values and notifications. This can be useful, for example, when you use M-Files
Cloud.
Do these steps on the M-Files server computer to change the date and time format:
2. Select Time & language > Region > Additional date, time, & regional settings.
All dates and times generated by the M-Files server computer now use the format that you have specified
in the steps here.
M-Files allows you to automatically import email messages from a specific email folder on an IMAP server
to a vault. To do this, use the Connections to External Sources function in M-Files Admin and specify a
new connection to a mail source.
For instructions on specifying a connection to an IMAP email server, see Mail Sources.
The concepts of a user and a login account are both integral parts of M-Files, but there is an important
difference between them:
• Users are vault-level objects that store user-specific settings and user history as well as permissions
for performing certain operations in a vault. A user object is always linked to one and only one login
account.
• Login accounts are server-level (or in some cases vault-level) accounts that are used for authenticating
users to M-Files Server. A login account can be associated with multiple users, but only one user per
vault.
Example
A&A Consulting hires a new engineer, Amanda Reade, and she naturally needs to have access to the M-
Files vaults of the company.
1. The M-Files administrator of the company creates the login account AmandaR in M-Files Admin.
2. The administrator creates the vault user AmandaR to all the appropriate vaults.
As a result, the login account AmandaR is linked to all the newly created users, and the vault user
AmandaR in all the appropriate vaults is linked to the said login account. The new engineer now also has
access to all the required M-Files vaults.
4.2.8. Why are there objects with the same ID in the vault?
Object IDs are object type specific. This is why it is relatively common for many objects in the vault to have
the same ID. For example, it is normal for a Project object and Employee object to have the same ID.
Sometimes, however, even two objects of the same type can seem to have the same ID. This can occur
because the display ID shown on the metadata card can get its value from different types of identifiers
used in M-Files. This page tells you about these identifiers and how they are used as the object's display
ID.
The M-Files vault identifies an object with – and uses as the object's display ID – one of these identifiers:
Identifier Description
type
Internal ID is unique to each object per object type in a vault. When you refer to an object
in a vault, for example in a script, you must refer to it with its internal ID.
Original ID An original ID is used when an object is replicated from another vault. The original ID
contains the internal ID that the object has in the vault in which it was created. In addition
to the original ID, the replicated object gets a new internal ID in the target vault.
The object is identified with this identifier in the external database. In addition to the
external ID, the object has an internal ID in the vault.
The display ID gets its value from one of these IDs in this order of priority:
1. External ID
2. Original ID
3. Internal ID
In other words:
• If an object has an external ID, it is shown as the object's ID on the metadata card.
• If an object has an original ID but no external ID, the original ID is shown as the object's ID on the
metadata card.
• If an object has no external or original ID, the internal ID is shown as the object's ID on the metadata
card.
M-Files | 4. Frequently Asked Questions | 638
Note: You can use the %INTERNALID% placeholder for a property of the Text data type to add the
internal ID to the object metadata as an automatic property value. For instructions, see Specifying
an Automatic Value for a Property and Simple concatenation of properties.
4.2.9. Why does the intelligence service not extract metadata from some of the files?
In some situations, intelligence services such as M-Files Information Extractor are unable to produce
metadata suggestions based on the content of certain files. The issue may be caused by the simple fact
that M-Files Server is not able to read the file content, and therefore not able to provide the content to the
intelligence service for analysis.
You may come across this kind of issue, for example, if your organization uses password-protected PDF
files. If opening the PDF file without a password or copying content from it is restricted in the security
settings of the PDF file, M-Files will not be able to access the file content. For more information about
password-protected PDF files, see this Adobe article.
In this chapter
The information on this page applies to an on-premises installation. The M-Files system administrator must
do these maintenance tasks on the M-Files server machine to maintain its operational efficiency.
Frequency Task
Frequency Task
Verifying the integrity of master database
Quarterly backups and vault backups. See Maintenance
recommendations for on-premises vaults.
Follow the links for further instructions on carrying out a specific task.
In this chapter
Check events related to M-Files in the Windows event log on a regular basis for any issues, especially
ones pertaining to backups. You might want to also consider using a PowerShell script or a third-party
application for sending e-mail notifications when aforementioned events occur.
5. Click Filter Current Log... on the Actions pane in the Application section to list only the entries that
are related to M-Files.
6. In the Event sources drop-down menu, select all the applications related to M-Files, such as M-Files,
M-Files Compliance Kit, and MFClient.
The application event log should now list only the entries that are related to M-Files.
Note: If the disk space on the server computer allows, we recommend expanding the maximum log
size of the Application log to, for instance, 200,000 KB to cover more events. In some error cases,
a large number of events may be recorded to the log, thus filling the default log size of about 20
MB very quickly. This may make it impossible to track down the origin of the issue. You can change
the log size by right-clicking the Application node in the left-side tree view and then selecting
Properties from the context menu. Expanding the log size of the client computers is rarely needed,
but may be of use in some cases.
It is important to keep track of how much resources are needed to run the M-Files system. If the resource
consumption reaches certain thresholds, it might be time to consider upgrading your system. See also
System Requirements and Technical Details for the hardware and system operating requirements.
Note: You can check the location of the metadata file and the file data folder in the Document
Vault Properties dialog in M-Files Admin. See Checking the Size of a Firebird Metadata File for
detailed instructions.
• memory
• disk space and health
• backup size and duration (should not overlap with optimization)
Regularly verify that all your scheduled replication tasks produce the expected results and that there are no
replication conflicts in any of the vaults. For instructions on how to find and resolve replication conflicts, see
Conflicts and their resolution.
M-Files | 4. Frequently Asked Questions | 641
Clear replication conflicts at least once a week, but it is a good idea to appoint a user to check the conflicts
every day.
Manual Optimization
If your organization uses Microsoft SQL Server as the database engine and you store the file data in a file
system folder (instead of the vault database), manually run the Optimize Database (Thorough) operation
from one to four times a year. This is the only way to remove any destroyed files from the file data server in
this type of setup. Run the operation also after an exceptionally large number of files have been destroyed
at once, for example after files are archived to another vault.
Note: Make sure that the optimization is not done between file data and metadata backups.
Note: It is possible that the Firebird and Microsoft SQL Server vaults are taken offline for the
duration of the operation. Before you run the operation for Firebird vaults, make sure that the server
has at least three times the amount of hard disk space required by the metadata file of the vault.
For instructions on how to check the size of the vault metadata file, see Checking the Size of a
Firebird Metadata File.
4. Right-click a vault.
This option is available only when the files are in the file system and the vault uses Microsoft
SQL Server.
Note: If this option is enabled and the vault uses dtSearch, the vault will be taken offline.
Note: Depending on the size of the vault, the operation can take an extensive amount of time to
complete.
Verify and Repair (Quick) checks for metadata inconsistency issues and makes sure that the files for the
objects are present with the correct size and status.
M-Files | 4. Frequently Asked Questions | 642
Verify and Repair (Thorough) does also file integrity checks for the file data. More specifically, the
operation calculates checksums and makes sure that delta files can be reconstituted. See important
information for details.
Recommendations
• For example, changes to server hardware or upgrades of the server operating system.
• When the vault does not operate normally.
Important information
• Use the thorough operation only if you have a reason to suspect that the contents of the data files are
corrupt. This can be, for example, because your antivirus software has changed the data.
• The thorough operation takes considerably longer than the quick operation.
• Before you start a thorough check, it can be useful to temporarily disable the weekly Optimize
Database (Thorough) operation in scheduled jobs. The optimization job can take the vault offline and
interrupt the verify and repair operation.
Reported errors
In the Verify Document Vault report dialog, if you see errors that cannot be repaired automatically:
• Create a support case in M-Files Support Portal or contact your M-Files reseller immediately. Please
provide the full contents of the report dialog and the full version number of your M-Files Server
software.
• Do not try to repair the errors yourself.
• Do not click Yes in the dialog to let M-Files try to repair the errors.
Errors that cannot be repaired automatically are explicitly marked in the list of errors. When M-Files support
has fixed the errors, start the verify and repair operation again.
In the Verify Document Vault report dialog, if there are only issues that M-Files can fix automatically, click
Yes. If the process ends with an error, create a support case in M-Files Support Portal or contact your M-
Files reseller immediately.
Do the steps given here only if M-Files support tells you to do so:
a) Open Advanced Vault Settings.
b) Go to Database > Verification.
M-Files | 4. Frequently Asked Questions | 643
• The vault can be used when the operation searches for issues.
• If the vault is taken offline, the operation is interrupted. For example, the weekly thorough optimization
or other maintenance breaks (such as installation of vault applications) can cause this.
• The operation can be long. The length of the operation is mainly dependent on these factors:
4. Right-click a vault.
M-Files checks the vault for errors. See this information for instructions on how to repair errors.
If your organization uses unlimited event logs (see The Electronic Signatures and Advanced Logging
module), it is a good idea to archive M-Files event logs once or twice per year. If you also have M-
Files Compliance Kit installed, you can do this automatically with the Log Exporter module. For more
information, refer to Compliance Kit - Log Exporter - Functional Description.
If The Electronic Signatures and Advanced Logging module and Advanced Event Log features are not
in use, M-Files Server removes the oldest events when the number of events is close to the specified
maximum.
4. Expand a vault.
8. Select the folder to which you want to export the events and click OK.
9. Click Delete to delete the exported events from the event log.
The events from the M-Files event log are archived in the selected location as an XML file.
If M-Files users are experiencing noticeable performance issues in their day-to-day use of M-Files, carry
out the procedures outlined below to pinpoint the potential source or sources of the problem. System
slowness may be caused by various factors, such as hardware or infrastructure issues, vault structure or
periodic maintenance operations, or issues related to opening views or files, and so on.
When you contact our support about performance issues, it is best to attach these details to your request:
• Windows application event log copy for M-Files events (see How do I save a copy of M-Files errors in
the Windows Application event log for instructions)
• An export of Server Activity Monitor data in M-Files Admin
• Screenshot of the Windows Task Manager tab displaying CPU and RAM usage
• Page file information
• Hardware specifications of the servers
Performance issues may be caused by hardware or infrastructure related problems. Inspect the following
performance counters on the M-Files Server computer as well as the Microsoft SQL Server computer (if
they are separate servers):
• The page file usage: Use Performance Monitor to check the current and peak page file usage. Note that
Windows always uses the page file no matter how much RAM you have, but if the page file peak usage
is higher than around 10 percent, it may indicate that the system is at least periodically low on RAM or
that RAM usage is excessive. See Inspecting Page File Usage in Performance Monitor for instructions
on checking page file usage.
• Current RAM usage in Windows Task Manager.
• The CPU load in Windows Task Manager: If the load spikes close to 100 percent, the system may be
under-resourced or some of the processes may be hoarding excessive amounts of resources.
• The network connectivity between the server computers if M-Files Server and Microsoft SQL Server
are running on separate servers. Network latency between the servers may cause noticeable slowness
for the end users. We recommend M-Files Server and Microsoft SQL Server to be used in the same
subnetwork to reduce latency.
• Make sure the Microsoft SQL Server instance has been assigned a memory limit. It should be set high
enough to provide as much RAM for the SQL Server as possible but low enough to prevent the system
M-Files | 4. Frequently Asked Questions | 645
from swapping. In general, leave from 3 to 4 GB for the host operating system and its services, and
if M-Files Server runs on the same system, allocate from 2 to 3 GB for it and other processes. See
Changing the Memory Limit for a Microsoft SQL Server Instance for instructions on setting the memory
limit for the Microsoft SQL Server instance.
Note: These values are approximates and depend on multiple factors, such as the number of
vaults, the use of server side vault applications, and so on.
System slowness may also be caused by issues in the vault structure, and periodic maintenance
operations may be perceived as performance issues by the end user.
The following factors related to vault structure or maintenance operations can cause (temporary) system
slowness:
• The metadata of the vault may not be optimal. There should not, for instance, be value lists with tens of
thousands of entries or classes with hundreds of obligatory properties.
• Modifying named access control lists causes the permissions of every affected document to be updated
and may thus induce temporary system slowness.
• Running background jobs like optimizations and backups may cause temporary slowness. These
operations should not be run during high usage hours.
• A large number of export and import jobs running at short intervals can cause performance issues.
• A large number of connections to external sources that synchronize at short intervals can cause
performance issues.
• The event log in M-Files Admin may be used to reveal instances of exceptional vault use, such as
excessive number of file downloads.
• For Firebird vaults, the metadata file size should be no larger than 2 GB per vault. See Registry
Setting for Extending Firebird Usability for instructions on defining the maximum metadata file size and
Checking the Size of a Firebird Metadata File for instructions on checking the metadata file size.
Perform the following checks to verify if system slowness occurs in conjunction with opening views or
performing searches:
1. Use M-Files Desktop on the M-Files server computer and use Local Procedure Call as the protocol for
connecting to the vault to rule out potential network-related issues. See Adding a Vault Connection for
instructions on defining the vault connection and using Local Procedure Call as the protocol.
2. Log in to the vault as a normal user, not as administrator, so that permission checks are not bypassed
when using the vault and thus you can verify whether or not the issue is related to permission checks.
3. Try to change the properties of a view, and then press ⇧ Shift + F5 to fully refresh the view. Try to
modify different properties of views, such as filters or grouping levels, to see if the problem is related to
views.
Note: You can create a copy of an existing view so that you do not need to change the
properties of the original view. Right-click a view of your choice and select Copy from the
context menu, then right-click on an empty space in the listing area and select Paste from the
context menu.
In this chapter
• How do I save a copy of M-Files errors in the Windows Application event log
• Inspecting Page File Usage in Performance Monitor
M-Files | 4. Frequently Asked Questions | 646
How do I save a copy of M-Files errors in the Windows Application event log
Note: These instructions are for Windows 10, but the procedure is highly similar for other Windows
versions.
If every M-Files user in your organization is experiencing the same issue, it is recommended to save a
copy of the application event log on the M-Files server computer. If the issue is an isolated one, on the
other hand, you should only save a copy of the log on the computer where the issue occurs. Complete the
steps below on the appropriate computer.
1. Right-click the Start icon and select Event Viewer from the context menu.
3. Click Application.
5. Open the Event sources drop-down menu and select M-Files and any other applications related to M-
Files, such as M-Files Compliance Kit or MFClient.
A copy of the filtered application event log is saved to the location that you have specified. The copy
contains only the errors that are related to M-Files.
5. Right-click on the graph and select Add Counters... from the context menu.
8. Select % Usage under Paging File and then click the Add button to add the counter on the Added
counters list.
5. In Server memory options, enter values to the Minimum server memory and Maximum server
memory fields.
If Microsoft SQL Server memory consumption is not limited, Microsoft SQL Server can use a large amount
of memory and the server can after some time start to use virtual memory. This can cause performance
issues and other problems.
The best practice is to set the Microsoft SQL Server memory limit so that the operating system does not
use the paging file in normal operation. It is usually better to set the memory limit too low than too high. In
most environments, you must keep at least 2 GB memory free for the operating system. In systems with
more available memory, leave more capacity for the operating system.
There are many things that have an effect on the applicable memory limit. You can, for example, monitor
the system behavior to find the correct memory limit.
Examples
If Microsoft SQL Server is used on a dedicated server and the server machine has 8 GB of memory, set
the Microsoft SQL Server memory limit to 5 or 6 GB.
If Microsoft SQL Server is used on a server that does also other tasks, make sure that there is enough free
memory for other applications. If M-Files Server is used on the same server, decrease the memory limit 1
to 2 GB more. For example, if the server machine has 8 GB of memory and M-Files Server is not in heavy
use, the applicable Microsoft SQL Server memory limit is 3 or 4 GB.
The metadata file of a Firebird vault is by default stored under the following location on the server
computer:
We recommend that you start to plan migration to Microsoft SQL Server when the size of the metadata file
for a vault is close to 1 GB.
Tip: You can change the amount of usable memory of a Firebird vault to two gigabytes. See
Registry Setting for Extending Firebird Usability.
3. Right-click a vault.
4. Click Properties.
The metadata file location along with the file data location is shown at the bottom of the dialog.
M-Files | 4. Frequently Asked Questions | 650
7. Open the metadata file folder you have located in the previous step and select the metadata file.
When migrating document vaults to a new server, use the same version of M-Files on both the old and the
new server. If you need to upgrade M-Files in conjunction with the migration, upgrade M-Files on the new
server only after the migration is complete and you have verified that the document vaults are functional on
the new server.
Migrating document vaults to a new server when using Firebird as the database engine
If your document vaults use Firebird, complete the following steps to migrate the vaults to a new server:
You may create a view that contains all the documents that are currently checked out in the vault
by using the Checked out status filter for a view.
3. Back up the master database and copy the backup file to the new server computer.
4. Take full backups of your document vaults and copy the backup files to the new server computer.
The backup files contain file data regardless of whether the file data is stored in the default
location, or in a separately specified location, so there is no need to copy the file data
separately.
By selecting the Evaluation installation option, you do not have to install a license on
the new server because the existing license is taken into use when you restore the master
database.
c) Complete the installation.
8. Restore the document vaults from the backups using the option Restore using original identity.
Pay attention to file data locations when restoring the vaults. If in doubt, check the settings on
the old M-Files server.
9. Copy the search indexes from the old server computer to the new one:
a) In M-Files Admin, in the left-side tree view, right-click a vault and select Properties.
b) Open the Advanced tab, and then click Define.
By default, the Indexes folder can be found under the location specified in the Location for
vault data on server field.
In larger vaults, the search indexes might be placed in an alternate location. Check the index
location according to the instructions in How do I check the location of the active search
indexes?.
c) Copy the Indexes folder to the new server for each vault that you want to migrate.
11.Specify backup jobs and update the backup file locations if necessary.
12.Stop and disable the M-Files Server service on the old server computer to make sure no users
accidentally connect to it in the future.
M-Files | 4. Frequently Asked Questions | 652
13.Either:
a. If you are using a DNS alias for your M-Files Server, update the alias to point to the new server
computer. This way you do not have to distribute new vault connection settings to client computers.
or
b. Edit the document vault connection settings on the client computers so that they connect to the new
server address. For instructions, see Adding a Vault Connection.
14.Make sure that any external systems that point towards M-Files use either the DNS alias, or the DNS
name or IP address of the new M-Files server.
Migrating document vaults to a new server when using Microsoft SQL Server as the database
engine
The instructions assume that Microsoft SQL Server is not changed during the migration. If Microsoft SQL
Server is installed on the same computer as M-Files Server and therefore also requires migration, see
Migrating the Vault Database from One Microsoft SQL Server to Another for further instructions. It does not
matter whether you migrate M-Files Server before migrating the document vaults or the other way around.
If your document vaults use Microsoft SQL Server, complete the following steps to migrate the vaults to a
new server:
You may create a view that contains all the documents that are currently checked out in the vault
by using the Checked out status filter for a view.
3. Back up the master database and copy the backup file to the new server computer.
4. In Microsoft SQL Server Management Studio, take full backups of your document vaults as a
precaution.
5. If the file data is stored on the file system, complete the following steps:
a) In M-Files Admin, in the left-side tree view, right-click a vault and select Properties.
b) Open the Advanced tab and click Define.
c) Click File Data Location.
d) Click Define.
e) Using File Explorer or any other file managing application, copy the file data folders from the location
shown in the File-System Folder dialog to the new server computer or network share.
6. Attach the document vaults to the new server in M-Files Admin using the original identities of the vaults.
If the file data is stored on the file system, make sure to specify the correct file data location
when attaching the vaults.
For instructions, see Attaching a Vault and Changing the Location of the Vault File Data for
Microsoft SQL Server.
7. Copy the search indexes from the old server computer to the new one:
a) In M-Files Admin, in the left-side tree view, right-click a vault and select Properties.
b) Open the Advanced tab and click Define.
By default, the Indexes folder can be found under the location specified in the Location for
secondary data on the M-Files server field.
In larger vaults, the search indexes might be placed in an alternate location. Check the index
location according to the instructions in How do I check the location of the active search
indexes?.
c) Copy the Indexes folder to the new server for each vault that you want to migrate.
9. Specify backup jobs and update the backup file locations if necessary.
10.Stop and disable the M-Files Server service on the old server computer to make sure no users
accidentally connect to it in the future.
11.Either:
a. If you are using a DNS alias for your M-Files Server, update the alias to point to the new server
computer. This way you do not have to distribute new vault connection settings to client computers.
or
b. Edit the document vault connection settings on the client computers so that they connect to the new
server address. For instructions, see Adding a Vault Connection.
M-Files | 4. Frequently Asked Questions | 654
12.Make sure that any external systems that point towards M-Files use either the DNS alias, or the DNS
name or IP address of the new M-Files server.
If M-Files Web is installed on the M-Files application server, you need to install Internet Information
Services and M-Files Web on the new server computer after installing M-Files Server on the new server
computer.
If M-Files Web is installed on a separate proxy server instead, the following steps must be completed.
1. If you upgrade M-Files Server after migrating to a new server computer, upgrade the M-Files Web proxy
server to the same M-Files version as the one you installed on the new application server.
2. In the Microsoft Windows registry of the M-Files Web proxy computer, update the following setting to
point to the new M-Files application server:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files
\<version>\Server\MFWA
Value name Server
Value type REG_SZ
Value The DNS name of the M-Files application server.
On the RPC proxy computer, update the HOSTS file so that the server hostname (the one that clients use
for connecting to the M-Files server) points to the IP address of the new M-Files application server.
For further information, see the document Enabling RPC over HTTPS Connections to M-Files Server.
M-Files automatically checks for software updates. When an M-Files update becomes available, the
update is downloaded to your computer and installed automatically. You can delay the update for a limited
time if you are working on something important while an update becomes available.
The feature gets the latest update information from the update server using HTTPS on TCP port 443. This
means that normally it is not necessary for you to change any firewall settings.
Note: For the automatic updates to run, local administrative permissions on your computer are not
necessary.
4.3.5. How much disk space do encrypting file data and taking backups require?
If you enable encrypting file data at rest or backups on the M-Files server computer, it is essential that you
ensure that there is enough disk space on the server computer at all times to accommodate encrypted file
data and backup data.
M-Files | 4. Frequently Asked Questions | 655
Encrypting file data at rest makes an encrypted copy of your file data while leaving the unenrypted file
data temporarily in place, which essentially doubles the space needed for vault file data on the disk. Thus
enabling encryption requires at least double the amount of disk space that your vault file data takes. You
can specify the location of the vault file data with the database engine settings in the advanced properties
of your vault.
After you have enabled encryption and ensured that your vault content is accessible, you must manually
run the Optimize Database (Thorough) operation to remove the unencrypted file data of the vault. If the
option Delete the files of destroyed objects is available, select it.
Note: Make sure that the optimization is not done between file data and metadata backups.
Note: The scheduled automatic optimization does not remove the unencrypted file data.
For more comprehensive backup instructions, please see the M-Files knowledge base article M-Files
Backup Policy.
! Important: Do not back up an active M-Files system with a snapshot of the file system where its
data is stored. This can create a damaged or unusable backup because write operations to files
(most importantly, the database engine files) can be ongoing and, thus, incomplete. If you use full
virtual machine (VM) snapshots for backups, make sure that the VM software fully supports creation
of snapshots of an active system. This means that the software can restore the system to exactly
the same state, including the memory and CPU states.
The M-Files server is used to save important data, so it is very important to take care of backup
procedures. A regular backup should be made of each document vault and master database on the server.
Backups are easy to set up with the scheduled jobs in M-Files Admin. We recommend setting M-Files to
run backups every night.
Example: Your organization has a separate disk server. The master database and document vault
backups are run on the M-Files server every night using the scheduled jobs. The jobs are set up so that
each produces a single file that replaces the older one. Backup files are set to be transferred to the disk
server and from there to a tape drive. In the event of problems, like hardware failure, the backups allow
quickly returning M-Files to working order.
! Important: Do not back up an active M-Files system with a snapshot of the file system where its
data is stored. This can create a damaged or unusable backup because write operations to files
(most importantly, the database engine files) can be ongoing and, thus, incomplete. If you use full
virtual machine (VM) snapshots for backups, make sure that the VM software fully supports creation
M-Files | 4. Frequently Asked Questions | 656
of snapshots of an active system. This means that the software can restore the system to exactly
the same state, including the memory and CPU states.
M-Files Server itself does not necessarily require the M-Files server machine to be rebooted, but you
should schedule periodic reboots of the server machine because of the added benefit and security of
installing Microsoft Windows updates. Keeping a server online without periodic updates and restarts leads
to potential vulnerabilities and even failures due to pending operating system updates.
For best practices on scheduling periodic reboots, the article Best Practices with Microsoft Windows Server
Update Services provides examples on better control on restarting the server after installing Microsoft
Windows updates when avoiding a reboot is not an option.
The vault backup operation can be used to store your vault file data and metadata so that in the event of
data loss, your document vault can be recovered from a backup. See Backing Up a Vault for instructions
on backing up a document vault.
Data that is collected or generated by someone or something else than vault users and administrators is
considered secondary data, and such data is not included in the backups as it is generally not needed for
succesfully restoring a document vault.
Below is a categorization of secondary data that is not included in the vault backup files. Note that you
generally do not need to worry about this type of data when considering backups as this data is always
automatically generated by the M-Files system whenever needed. Below information is therefore mainly for
your reference only.
Search indexes
M-Files generates and maintains indexes of your vault document contents and metadata by periodically
going through the contents of the document vault. These indexes are used for locating objects when the M-
Files search function is used.
Index data may be stored in the following locations on the M-Files server computer:
Usually, this type of data need not be preserved for backups or when migrating document vaults to a new
server computer. However, in large vaults, where the index recreation can take a large amount of time, it is
recommended to back up the index as well. For more information, refer to M-Files Backup Policy.
Image thumbnails
Image thumbnail files are generated by M-Files when the thumbnail view is used in M-Files Desktop. For
more information on different view modes, see Customizing M-Files Desktop User Interface.
Thumbnail data may be stored in the following locations on the M-Files server computer:
This type of data need not be preserved for backups or when migrating document vaults to a new server
computer.
Document preview data is generated by M-Files when documents are previewed in the Preview tab in the
M-Files client.
Document preview data may be stored in the following folders on the M-Files server computer:
This type of data need not be preserved for backups or when migrating document vaults to a new server
computer.
Logs
M-Files creates log files in various locations on the M-Files server computer after certain processes are
run. The log files generally have either the LOG or the TXT file extension. Log files are often used for
troubleshooting purposes and may be requested by our customer support for further analysis of an issue.
This type of data need not be preserved for backups or when migrating document vaults to a new server
computer.
4.3.9. What kind of operations can I schedule to be run at specific intervals in M-Files?
The following operations can be scheduled and run by M-Files Server as background processes:
See the links above for instructions on how you can specify a schedule to determine when each operation
is run.
By default, the Indexes folder can be found under the location specified in the properties of the vault.
Check the index location:
2. Click Properties.
M-Files | 4. Frequently Asked Questions | 658
By default, the Indexes folder can be found under the location specified in the Location for
secondary data on the M-Files server field.
In larger vaults, the search indexes might be placed in an alternate location. Check the alternate index
location:
6. Check the active indexes from Active Metadata Index and Active Filedata Index or Active
Combined Index.
7. Check the path to the indexes from the Path field of the index.
4.3.11. How do I check the full version number of M-Files Desktop and M-Files Server
Note: These instructions are for Windows 10, but the procedure is highly similar for other Windows
versions.
Complete the steps below either on the M-Files Desktop client computer to identify the full version number
of M-Files Desktop or on the M-Files Server computer to identify the full version numbers for both M-Files
Desktop and M-Files Server.
1. Right-click the Windows taskbar and select Task Manager from the context menu.
3. Locate the MFClient (M-Files Desktop) and MFServer (M-Files Server) services in the Name column.
4. Take note of the full version number of each service in parentheses in the Description column.
4.3.12. How do I save a copy of M-Files errors in the Windows Application event log
Note: These instructions are for Windows 10, but the procedure is highly similar for other Windows
versions.
If every M-Files user in your organization is experiencing the same issue, it is recommended to save a
copy of the application event log on the M-Files server computer. If the issue is an isolated one, on the
other hand, you should only save a copy of the log on the computer where the issue occurs. Complete the
steps below on the appropriate computer.
M-Files | 4. Frequently Asked Questions | 659
1. Right-click the Start icon and select Event Viewer from the context menu.
3. Click Application.
5. Open the Event sources drop-down menu and select M-Files and any other applications related to M-
Files, such as M-Files Compliance Kit or MFClient.
A copy of the filtered application event log is saved to the location that you have specified. The copy
contains only the errors that are related to M-Files.
In this chapter
The cause of the problem can be either authentication or the network connection.
If there are problems with the network connection, an error message usually reveals the cause of the
problem. As regards authentication, there can be a few problems that should be solved by making the
following checks.
1. Check that you have an active login account in M-Files Admin (refer to Login Accounts) and that a user
(refer to Users) has been created for the login account in the document vault.
2. Ensure that your password is correct.
3. Check that you are using the authentication method (Windows/M-Files) specified for your login account.
You can see your authentication method in the Authentication column in the login accounts.
M-Files | 4. Frequently Asked Questions | 660
This topic offers you guidance if you are experiencing problems in one of the following situations when
using M-Files Desktop:
• You right-click a document and select Sharing, E-mail and PDF > Save as PDF... from the context
menu.
• You right-click a document and select Sharing, E-mail and PDF and then select either Convert to PDF
(replaces original file) or Convert to PDF (adds separate file) from the context menu.
• You right-click a document and select Scanning and Text Recognition (OCR) > Convert to
Searchable PDF... from the context menu.
• You right-click a document and select Create > Annotation... from the context menu.
Issues surrounding PDF conversions and annotations may be related to the same root cause since
annotating a document requires that it is first converted to PDF format. See below for common solutions to
these issues.
You may need to reinstall the PDF converter used by M-Files if you receive one of the following error
messages after attempting to convert a document to PDF or after attempting to add annotations to a
document:
• The M-Files PDF printer driver is not properly installed. Class not
registered.
• Unspecified error.
Make sure that your computer has an application for opening the original document
To be able to convert a document to PDF format in M-Files, you need to have an application for opening
the document installed on your computer. So for instance, if you wish to convert a Microsoft Word
document to PDF, you need to have Microsoft Word installed on your computer. And similarly, if you want
to convert a Microsoft Excel workbook to PDF, you must have Microsoft Excel installed on your computer.
Ensure that the document you are trying to convert is not checked out by another user. You need to able to
check out the document to convert it to PDF format.
M-Files | 4. Frequently Asked Questions | 661
Ensure that the document that you are trying to convert is not password-protected. If the document is
protected by a password, M-Files is unable to open it and in such cases you are unable to convert the
document to PDF format or to add annotations to it.
If you attempt to add annotations to your document but the annotation toolbar is not shown, the file size of
the document may be too large.
Similarly, your document may be too large if you try to convert it to PDF format but the conversion fails and
an error message similar to the following is displayed:
By default, the maximum file size for PDF conversions is 10 MB for these file formats:
• Email messages
• Microsoft Excel documents
• Images
• PDF documents
• Microsoft PowerPoint documents
• Visio documents
• Microsoft Word documents
Another limitation of converting large documents to PDF is time. If your PDF conversion takes more than
120 seconds to complete, the conversion fails with an error message similar to the following:
These limitations can be increased by modifying advanced vault settings on the M-Files server computer.
For instructions, see Specifying PDF Conversion Limitations for Indexing and File Preview.
If there are problems with non-English content, you can try to enable the Advanced Vault Settings option
PDF Conversion > Word Files > Extended Language Support.
Each user has the Checked Out to Me view, and it cannot be destroyed. However, the view may have
been hidden.
Note: You can hide views by clicking the view and selecting Hide View from the View menu.
1. In the listing area, right-click on an empty area and select Unhide Views... from the context menu.
2. Select the hidden view from the list and click Unhide.
If you are an M-Files system administrator, you must enable saving attachments in Outlook format and
install Microsoft Exchange Server or a 32-bit MAPI client on the M-Files server computer that hosts the
vault. For more information, see Mail Sources.
If you are a vault user, inform your M-Files system administrator about this issue and refer the
administrator to this page.
4.4.5. Why did a file with a grayed-out icon appear on the M-Files drive when I saved a
new document in Microsoft Word?
The file became a temporary local file in the document vault. You can convert the temporary local file to a
document. For instructions, see Converting a temporary local file to a document.
If you create a document in M-Files, the Created timestamp shows the time when the document is created
in the vault. If you drag and drop a file to create a document in M-Files, the Created timestamp shows
when the document is added to M-Files. In other words, it is not the original creation time of the file. As a
result, the Last modified timestamp can be earlier than the Created timestamp.
For imported files, the Created timestamp shows the original creation time and not the time that the file
was imported to your M-Files vault.
When a document is added to M-Files, M-Files Server stores the Created timestamp in the UTC-0 format
and the M-Files client then adjusts the displayed timestamp according to the time zone settings of your
operating system.
In this chapter
In addition to this guide, you can look for help in Getting Started with M-Files or consult your organization's
M-Files system administrator.
M-Files | 4. Frequently Asked Questions | 663
Customer Support
The M-Files upgrade agreement covers customer support (see also Contacting Support).
Please note that customer support does not provide instructions on using the software.
More Information
If you are a developer or an M-Files system administrator, you might be interested in our documentation
for:
• M-Files API
• M-Files Web Service
• M-Files UI Extensibility Framework
In a system with fewer than 40 users, the M-Files server can be run on a computer meeting the Windows
operating system requirements. The higher the number of concurrent users, the more is required of the
hardware. Free space requirements depend on the number of documents and other objects. The version
history, however, does not expand the disk space requirement in a linear fashion, because M-Files Server
saves the data in the form of changes between different versions.
The M-Files server and its document vault can be easily transferred to another server machine as system
requirements increase.
For more information about new, version-specific M-Files features, refer to the M-Files website page
https://community.m-files.com/product-resources.
M-Files automatically checks for software updates. When an M-Files update becomes available, the
update is downloaded to your computer and installed automatically. You can delay the update for a limited
time if you are working on something important while an update becomes available.
The feature gets the latest update information from the update server using HTTPS on TCP port 443. This
means that normally it is not necessary for you to change any firewall settings.
Note: For the automatic updates to run, local administrative permissions on your computer are not
necessary.
M-Files includes an ActiveX/COM API. Supported languages include VB.NET, C#, Visual Basic, VBScript,
and C++. Additionally, M-Files includes the M-Files Web Service API that allows programmatic access to
M-Files through a REST-like interface. See Application programming interface (API).
You may use VBScript ("Microsoft Visual Basic Scripting Edition") code in M-Files for the following
functions:
See the links above for instructions on adding VBScript code in each instance.
You can access and manage objects contained in the document vault by means of M-Files API and
VBScript in the above-mentioned circumstances.
VBScript basics
Below are some elementary basics of VBScript to get you started. Note that we are just scratching the
surface here. See Useful resources for further instructions. If you are new to scripting and unfamiliar with
concepts such as variables and functions, it might be helpful to first read a beginner's guide to scripting,
such as Learn Beginning Scripting.
Statements
In VBScript, a line break ends a statement and thus there is no separate termination character for ending
statements. The example below contains two statements:
Dim szPropertyName
szPropertyName = PropertyDef.Name
If you want to divide a statement into separate lines, you may use the underscore character (_) to indicate
that a statement is continued on the next line:
Err.Raise MFScriptCancel, _
"The document vault already contains an object with the same title.
Please choose another title."
Commenting
Always comment what you are doing in your code so that others reading your code understand what is
going on. You can add a comment in your code using the ' character:
szCurrentTitle = oCurrentTitleProp.GetValueAsUnlocalizedText
It is a good approach to add a comment above any line of code that you may think is not immediately
obvious to the reader.
Variables
Dim szCurrentTitleProp
Values are assigned to variables using the equals (=) sign. You should always declare you variables
before assigning them new values:
Dim szCurrentTitleProp
szCurrentTitleProp
= PropertyValues.SearchForProperty( iTitleProperty ).GetValueAsUnlocalizedText
You may use the Option Explicit statement to force explicit declaration of all variables. If you attempt
to use an undeclared variable when Option Explicit is enabled in your script, your script will not work.
For instance, the following script would not work since the variable szValue has not been declared before
it is assigned a value:
Option Explicit
szValue = PropertyValue.GetValueAsUnlocalizedText
When you are scripting in M-Files, you have a number of predefined variables at your disposal. The
variable PropertyValue, for example, can be used for fetching the value of a property. See Available
VBScript Variables for the complete list of predefined variables.
Note: We recommend you to use the so-called Hungarian notation when naming variables. This
way you, or whoever reading your code, has a clear understanding of the data type of the value
stored in the the variable. You can use, for instance, the following notation:
Constants
You can use constants for storing values that must remain constant throughout the script:
Const iMaxNumberOfItems = 50
Note that you must assign a literal value to a constant. You cannot use a variable, another constant or a
function to initialize a constant.
M-Files | 4. Frequently Asked Questions | 666
Objects
Objects are assigned to variables using the Set statement. You may create a new instance of an M-Files
API object and assign it to a variable in the following fashion:
Dim oTitleSearch
Set oTitleSearch = CreateObject( "MFilesAPI.SearchCondition" )
Objects are components that have their own properties and methods. Methods are functions that belong to
a specific object and that can be used in the context of the object. Properties, on the other hand, are used
to view or set values of an object. You access the properties and methods of an object using dot notation:
When scripting in M-Files, you will take advantage of the objects available in VBScript, and more
importantly, the objects available in M-Files API. Refer to the M-Files API documentation for complete
details.
Concatenating strings
You may concatenate two or more strings into one using the & operator:
In the above example, the proposal title, stored in the variable szName, is the result of the concatenation of
the following strings:
The resulting proposal title could thus be, for example, Proposal #5577 / ESTT.
M-Files | 4. Frequently Asked Questions | 667
You can add a line break to your string by concatenating the VbCrLF constant with your strings:
Err.Raise MFScriptCancel, _
"The document vault already contains an object with the same title." &
VbCrLF & "Please choose another title."
Raising errors
If you need to, say, validate a property value with VBScript, it is necessary to display an error message to
the user if the value the user entered is invalid. You can raise an error in VBScript using the Raise method
of the Err object:
Err.Raise MFScriptCancel, "The property """ & szPropertyName & """ must have
a value of at least 10 characters."
The method takes the error number and description as parameters. For M-Files scripting purposes, the
MFScriptCancel variable is used as it stores the M-Files error number.
If statements
If statements are used for executing a group of statements if the condition specified in the If statement
evaluates to true:
Err.Raise MFScriptCancel, "The property """ & szPropertyName & """ must
have a value of at least 10 characters."
End If
The if block must end with an End If statement. All the statements between If and End If are
executed if the condition specified between If and Then evaluates to true. You can use the And operator
to specify multiple conditions that must all be true for the if block to be executed, or the Or operator to
specify multiple operators, one of which must be true for the if block to be executed. You can use the
following comparison operators for specifying the condition:
• == checks if the value of two operands are equal or not, if yes, then the condition is true.
• <> checks if the value of two operands are equal or not, if not, then the condition is true.
• > checks if the value of the left operand is greater than the value of the right operand, if yes, then the
condition is true.
• < checks if the value of the left operand is less than the value of the right operand, if yes, then the
condition is true.
• >= checks if the value of the left operand is greater than or equal to the value of the right operand, if
yes, then the condition is true
• <= checks if the value of the left operand is less than or equal to the value of the right operand, if yes,
then the condition is true
You can also nest an If statement inside another If or, say, an Else statement or use the ElseIf
statement to create a deeper branching logic in your script.
M-Files | 4. Frequently Asked Questions | 668
You can use a subroutine to define a section of code to be used multiple times by reference in your code:
Sub CloseFile()
oMyFile.Close
Set oMyFile = Nothing
End Sub
Or, you can define a function to use multiple times a section of code that returns a value of some kind:
Closefile()
IsOdd( 5 )
Useful resources
Your most valuable sources of information on scripting within M-Files are the following:
The M-Files API documentation is an exhaustive reference to the M-Files API objects, methods, interfaces,
properties, and enumerations that you can take advantage of within VBScript code. The latter resource,
on the other hand, lists and explains all the variables with preassigned values that you can readily utilize in
your VBScript code.
In addition to the two aforementioned resources, you may find the following external websites useful:
Example
The example below is a script that can be used for validating a property when the user attempts to save
metadata changes on the metadata card. The script ensures that the entered property value must be at
least 10 characters in length. Let us take a closer look at the script:
Option Explicit
szPropertyName = PropertyDef.Name
M-Files | 4. Frequently Asked Questions | 669
szValue = PropertyValue.GetValueAsUnlocalizedText
Err.Raise MFScriptCancel, "The property """ & szPropertyName & """ must
have a value of at least 10 characters."
End If
First, the variables szPropertyName and szValue are declared, after which the name of the
property and its value we are validating are stored in the variables we have just declared. We use the
GetValueAsUnlocalizedText method (refer to the M-Files API documentation for more information) to
obtain the property value as unlocalized text.
Our condition for validating the property value is that the value must have at least 10 characters. We
evaluate that condition in an If statement. We have defined in the condition of the If statement that the
length of the property must be less than 10 characters for the statement inside the If statement to be
executed. If the property value is 10 characters or more, the If code block is not executed and the script
execution is finished.
In the if block, we send an error message to the user where we state that the property value that the
user entered must have at least 10 characters, thus instructing the user to add a longer value. After the
error message is displayed, the metadata card is displayed again, allowing the user to modify the invalid
property value.
For complete instructions on validating property values with VBScript, see Automatically Validating
Property Values.
4.5.7. What is the difference between a named access control list (NACL) and a user
group?
M-Files allows you to use named access control lists and user groups to manage information related to a
group of individuals, but they essentially serve a very different purpose.
With user groups, administrators can arrange individuals into separate groups based on common
features, such as their position in the organization (for example "HR" and "Managers"), their physical
location (for instance "Vermont office" and "Chicago office"), or their expertise (such as "Legal matters" and
"Translation"). User groups can be managed with M-Files Admin (see User Groups).
Named access control lists, on the other hand, can be used for specifying various access rights to
objects in a vault. They contain a list of subjects (individual users, user groups or pseudo-users) coupled
with a list of permissions, essentially controlling rights for reading, editing and deleting objects as well as
for changing their permissions. Named access control lists can also be managed with M-Files Admin (see
Named Access Control Lists).
The vault contains a large number employment agreements that are currently visible to all vault users. The
HR manager wants them to be visible to the HR team only.
The first thing she needs to do is create a user group for all the users that belong to the HR team. Now,
as she cannot use the user group to directly control any access rights, she also needs to create a named
access control list for associating the newly created user group with the access rights of her choice.
M-Files | 4. Frequently Asked Questions | 670
Note: Users whose login account has the System administrator system role, and users who have
either the See and read all vault content or Full control of vault rights are able to see all vault
content.
Finally, the HR manager must associate the newly created named access control list with the employment
agreements. She can do this with the properties of the employment agreement class.
4. Expand a vault.
6. Click Classes.
7. In the listing area, select the class representing the employment agreements.
If there is no class for employment agreements, you can create a new class for this purpose.
8. From the task bar on the left side of the listing area, select Properties.
10.Check the Restrict the permissions of objects that refer to this class check box.
12.Select the newly created named access control list in the menu below the check box.
14.Optional: If an information dialog about disabled automatic permissions for certain property definitions
is displayed, note down the property definitions mentioned in the Property definitions currently
disabled list and click OK.
To make sure that the permission settings are activated when the class for an employment
agreement is selected as the value of any of the properties mentioned in the list, you need to
explicitly allow automatic permissions to be used for these property definitions.
a. Change Objects' Permissions to apply the new access rights to all the objects that will be created
from this moment forward.
or
b. Change and Activate Objects' Permissions to apply the new access rights to all the existing
objects as well as to all the objects that will be created from this moment forward.
or
16.Optional: In the left-side tree view, under Metadata Structure (Flat View), select Property Definitions.
17.Optional: Double-click one of the property definitions that you noted down in step 14.
18.Optional: Select the Enable automatic permissions via this property check box and click OK.
19.Optional: Select either Change Objects' Permissions or Change and Activate Objects' Permissions
(see step 15).
20.Optional: Repeat the steps from 17 to 19 for all the property definitions noted down in step 14.
Depending on what you selected in step 15, either a) only new objects or b) both new and existing objects
whose class represents the employment agreements are now visible only to the user group whose
members are part of the HR department. As explained in this note, this does not, however, apply to system
administrators and vault users with rights to see and read all vault content.
M-Files | Index | 672
Index
A business Intelligence 526
access 12
access control list 473
C
add to favorites 21 cache 141
add vault 121 categorizing pinned items 22
additional conditions CFR 153
permissions 104 check in
administrative rights 426 check in with comments 62
Advanced Document Compare 68 check out 59, 632
advanced vault settings 487, 592 class
AI assistant 80 class group 423
alias 336, 338 create 420
Android 14 classic M-Files Web 164
annotations clear archiving marker 57
enabling 208 clear local cache 140
using 64 cloud authentication
application configuration 480
configuration 480 co-authoring 59, 61
connector 571 collection members 76
disable 478 comments 65
enable 478 common rule 134
export 478 compare document content 68
install 478 computer-specific settings 126, 138
intelligence service 568 concatenated 394, 398, 637, 664
license 478 concatenation 394, 398, 637, 664
type concurrent editing 59
client application 138, 478 configuration
server application 138, 478 add 482
uninstall 478 modify 482
archiving 57, 289 configurations
assignment 44 advanced vault settings 487, 592
authenticating to custom vault data 489
M-Files Mobile 625 export 485
authentication 625 import 486
AutoCAD connection status 15
M-Files functions 73 connections to external locations 260
automatic updates contact 12
registry settings 170, 610 convert to multi-file document 33
settings 142, 169 convert to PDF 48, 48
automatic value convert to single-file document 33
VBScript 400 copy a document vault 221
automatic values 664 copy link 84
automation 664 copy links 82
create
B document 31
object 31
back up a Ground Link proxy 587 create login account 189
back up a search index 233, 233, 233 create PDF
back up a vault 225 create PDF of existing object 48
background tasks 330 Created
backup timestamp 662
differential 193 custom vault data 489
full 193 customer support 12
secondary data 656
blacklist 615
bring online 241, 241
D
browser requirements 164 data set 528
M-Files | Index | 673
data type 99 G
database engine
Firebird 208, 210, 621 getting started 11
Microsoft SQL Server go offline 79
file data location 216 go online 80
database insert speed 334 ground link 578, 579, 579, 581, 585, 586, 587, 587, 588,
default search filters 96 589, 590, 590, 591
default vault language 257 Ground Link proxy
delete a vault 236 backup 587
DELETE statement 352, 357, 379, 384 configuration 581
destroy 57 restore 587
destroy a vault 236 grouping level
detach 224 reference direction 604
digest message 134 grouping pinned items 22
disable Ground Link 589
disk space 155
document
H
collection 7 hardware 155
deleted document 97 hit highlighting 87
document collection 76 home screen 15
document comparison 68 hotkeys 24
domain 121 how do I log in to a vault? 13
how do I log out of a vault? 13
E
electronic signature 465, 469
I
Electronic Signatures and Advanced Logging module 153 ID
email integration 56 display ID 637
enable external ID 637
MSAL 625 internal ID 637
enable search engine original ID 637
enable Micro Focus IDOL 231 IMAP
enable Smart Search 231 folder 636
event handler IML 567
execution order 564 import languages 256
Excel import login account 190
insert property 71 indexing 231
M-Files functions 70 indexing views 116
export indirect view 110
export results of views or searches 119 individual ID 97
Export languages 254 inherited property definitions 418
external object INSERT INTO statement 352, 357, 379, 384
refresh 141 installation 167
external repository instructions 12
log in 576 intelligence service
log out 576 metadata suggestions 638
external source Intelligent Metadata Layer
delete 277 architecture 567
external sources connector
e-mail source 278, 636 add 571
linked document 621 authentication 575
metadata 263 configuration 480, 572
external repository
F authentication 575
external repository user 439
facet search 96 external repository user group 441
faceted search 96 intelligence service
favorites 21 add 569
FDA 21 CFR Part 11 153, 208 configuration 480, 570
file data location 216 promote 578
filters tab 87 interactions between vaults 335
iOS 14
M-Files | Index | 674
password S
change password 140
PDF sample vault 167
conversion save as PDF 48
locale 619 scanning 37
settings 614 scheduled 193, 193
performance scripting
configuration options 622 execution order 564
permissions search
automatic 208, 370 additional conditions 96
effective 41 advanced search 94
metadata-driven permissions 208 boolean 89
restriction 41 criterion 57
pinned 15, 21 filter 95
pinned group 22 Filters tab 94
pinning items 21 fuzzy 605
placeholder 495 indirect search 89
POP3 278 operators 89, 91
PowerPoint phonic 605
insert property 71 quick search
M-Files functions 70 inflected forms 607
pre-shared key 151 refinement 95
property results
edit multiple 30 sorting 608
toolbar 29 search bar 15
property definition search results in other vaults 87
create 393 subordination of search criteria 89
data type synonym 89, 605
date 389 wildcard 89, 91
number (integer) 389 search filters 96
number (real) 389 search index
protocol 179 backup 233, 233, 233
public link dtSearch 233, 615
configuration options 600 file format 615
publication settings 522 IDOL 233, 615
Micro Focus IDOL 615
search refinements 95
Q search result sorting 87
quick search 89, 91, 605 searchable PDF 274
SELECT statement 352, 357, 379, 384
send check-in request 59, 632
R server 155
setting up vault 121
redlining
setup 167
enabling 208
share
using 64
passcode-protected visitor link 85
relationships 74
share link 84
replace with file 38
share passcode-protected visitor link 84
replication
share to M-Files users 84
export 291, 295
share to vault users 84
import 299
share visitor link for anyone 84
schedule 309
visitor link for anyone 85
report access identity 532
share content 82
report URL 534
share passcode-protected visitor link 85
reporting data services 528
share public links 600
reports 526
share visitor link for anyone 85, 600
restore a Ground Link proxy 587
sharing 84
restore document vault 228
sharing link 84
right pane 15
shortcuts 24
roll back 72
single-file document
rollback 72
SFD 33
round-trip time to the database server 334
Smart Search 231
M-Files | Index | 676
V
validating property values 405
validation 405
value list
contents 366
external
refresh 361, 387
icons for value list items 366
vault
access 151
attach 222
backup
Microsoft SQL Server 214
connection 121