Skip to main content Skip to complementary content

Visible and default rules

Availability-noteDeprecated
This section defines how to define visible or default rules.

Visible rules

These rules are used to set whether an element is visible in the Talend MDM Web UI. This can either be all the time of conditionally based on other data in the record. This type of rule is instantiated immediately, not when the record is saved. This is one of the limited customizations of the Talend MDM Web UI possible, along with Customizing the layout of a business entity.

Information noteWarning: If a field is not visible and is mandatory, a default value rule must be used. Otherwise, records will not be able to be created using the Talend MDM Web UI.

The logic for a visible rule is defined as an XQuery function. A simple logic to always hide a field would use the XQuery function for the Boolean value 'false': fn:false().

For a more complex rule, one or more XPaths to the other elements in the same record can be used.

Default value rule

This rule is used to set a default value for a field. It only applies to data entered using the Talend MDM Web UI. For more information, see Customizing the layout of a business entity.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!