Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home

Metadata will not get filled automatically when drag-drop a document into a view

Last updated on 30 October 2026 · 2 min read

M-Files Admin

Overview

Users may experience that when adding a new object to M-Files when drag-drop a file inside the view and grouping level, metadata is not auto-populated. For example, if the view includes grouping based on classes, a class is not auto-populated when drag-drop a file inside a virtual folder.

Solution

One common reason for this kind of error is that there is Advanced Vault Setting "Configuration > Client > Common > Metadata Card > Property Prefilling > Allow for Object Types" defined in M-Files Admin, and there are only some object type IDs defined but not the ID 0 for the Document Object Type. When the setting is specified, prefilling is enabled only for those object types and disabled for all other object types.

Earlier this was defined via PrefillingEnabledObjectTypeIDs registry setting on the client computer.

More information regarding the registry setting:

KeyHKEY_CURRENT_USER\Software\Motive\M-Files\<M-Files version>\Client\Common\<VaultName>\DocumentPropertiesUI
Value namePrefillingEnabledObjectTypeIDs
Value typeREG_MULTI_SZ (Multi-String Value)
Description

Using this registry setting, you can specify object type IDs that can use prefill functionality. If specified, prefill is enabled only for those object types and not for any other object type.

This can be used to prevent M-Files from automatically adding and filling in properties for new objects based on view filters when a new object is created inside a view. If you want to disable prefill for all object types, then enter a high enough value that will not match with any object type ID, like 9999.

Value data IDs of object types for which prefill should be enabled. Prefill will be disabled for all other object types.

The registry setting is commonly defined via Namespace M-Files.Core.Client.Settings in M-Files Admin tool Configurations - Custom Vault Data

Graphical user interface, text, application     Description automatically generated

Configuration value for Named Value:

{

"Common": {

"DocumentPropertiesUI": {

"PrefillingEnabledObjectTypeIDs":[ "OT_ID1, OT_ID2" ]

}

}

}

Adding Object type ID 0 for the PrefillingEnabledObjectTypeIDs list enables prefilling for the Document Object type. Logout/login cycle from M-Files Desktop application on client computer updates the value to the client computer's registry and automatic metadata filling should be working after this.

If no values are defined in this list, prefilling will be enabled for all the object types.

See also this article, where this setting may cause an error when saving email from Outlook.

Still need help?

On this page