Metadata Card Configuration

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.

With metadata card configurations, you can:
  • 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.

Important information to know before you use metadata card configurations

  • 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.

Metadata card configurations in the Configurations editor.

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:
  • Move Up to move the rule up in the list
  • Move to Top to move the rule to the top of the list
  • Move Down to move the rule down in the list
  • Move to Bottom to move the rule to the bottom of the list
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.