Overview
Search results based on a property return objects where another property has the same value.
Example:
Object Employee has a few objects, including "Employee1"
Object1 that has property Property1 = "Employee1"
Object2 that has property definition Property2 = "Employee1"
Search: in M-Files Desktop, advanced search → Employee is "Employee1"
Results: Object1 and Object2 will be shown.
Details
When creating a new Object Type, for example: "Employee", M-Files automatically creates a Property Definition (multi-select) that uses the same name as the Object Type ("Employee"). By default, in advanced search, only the property 'Employee' is shown, no 'Employee (any property)'.
Using this property as a filter in advanced search will return the same results as when using Property (any property). You can find more information in this article https://m-files.force.com/s/article/Property-vs-Property-any-property-in-the-drop-down-lists. This means that the search results will include all objects where a property value matches your search term (if the property has been defined to show values from the Object Type X).
Solution
To change this behavior, you can enable the "Show Typed Value Expressions and Default Properties" in M-Files Admin:
- Configuration → Client → set "Manage Client Settings Centrally'' to "Yes".
- Configuration → Client → Desktop → Search → Search Bar → set "Show Typed Value Expressions and Default Properties" to "Yes".
After these changes you will be able to see both 'Employee' and 'Employee (any property)'.
With this, you can choose whether to show any property listing the Employee objects, or just the particular property.
