community postAL Developmentcommunity - not Microsoftreviewed - checked by Opus

Business Central 2025 wave 2 (BC27): ‘Concealed’ text field type for sensitive data (New field-level property: MaskType)

Business Central 2025 wave 2 introduces the MaskType field-level property that allows developers to conceal sensitive text field values by default with a toggle to reveal them. This feature works for Code, Text, Decimal, and Integer fields on card and document pages, and supports both desktop and mobile clients.

post Dynamics 365 Lab

Yun Zhu · 2025-09-18 · 499 words · about 2 min

"Concealed: The client handles this as a concealed field."

Key points

  • MaskType is a new enum property with values None (default) and Concealed that hides field values by default
  • Users can reveal hidden values through an eye button toggle until the page is refreshed
  • Only applicable to Code, Text, Decimal, and Integer field types on card or document pages, not repeaters or list pages
  • MaskType differs from ExtendedDataType Masked property which permanently displays dots and cannot be removed
  • Cannot be used together with ExtendedDataType Masked, and modifications to MaskType on standard fields may cause publishing errors

Quotes

  • “Concealed: The client handles this as a concealed field.” (Defines the Concealed enum value that activates the masking behavior)
  • “List pages or grids do not support this, only document/card pages (not supported in repeaters)” (Clarifies important scope limitations developers must understand when implementing MaskType)

Heads up

  • preview-disclaimer: “This new feature is not yet documented in the Business Central 2025 release wave 2 (BC27) release plan” (about version BC27, version 2025 release wave 2)
  • warning: “The use of the MaskType property is restricted by AW0017, which prohibits setting this property on fields inside repeater controls.” (about version BC27, version 2025 release wave 2)
  • warning: “The Property ‘MaskType’ cannot be used if the property ‘ExtendedDataType’ is set to ‘Masked’” (about version BC27, version 2025 release wave 2)
  • gotcha: “Although this property can be set for standard fields, an error will be prompted when publishing.” (about version BC27, version 2025 release wave 2)

Context

  • Features: MaskType field property, Concealed field type, Toggle visibility toggle, Page inspection display
  • Versions: BC27, 2025 wave 2

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.