{"title":"Enabled Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-enabled-property/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-enabled-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-enabled-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Sets a value that indicates whether a field or key is enabled or disabled, or whether a control can respond to user-generated events.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":194,"chars":329},{"level":2,"title":"Property Value","slug":"property-value","at":523,"chars":144},{"level":2,"title":"Syntax","slug":"syntax","at":667,"chars":37},{"level":2,"title":"Remarks","slug":"remarks","at":704,"chars":1237},{"level":2,"title":"Related information","slug":"related-information","at":1941,"chars":89}],"text":"> Version: _Available or changed with runtime version 1.0._\nSets a value that indicates whether a field or key is enabled or disabled, or whether a control can respond to user-generated events.\n## Applies to\n Table field\n Table key\n Page Label\n Page Field\n Page Group\n Page Part\n Page System Part\n Page Chart Part\n Page Action\n Page Action Group\n Page Custom Action\n Page System Action\n Page File Upload Action\n Profile\n> NOTE\n> For information about the Enabled property for Profiles, see devenv-enabled-profile-property.\n## Property Value\nTrue on pages if the field, key, or control is enabled; otherwise, false on pages. The default is true on pages and profiles.\n## Syntax\n```al\nEnabled = false;\n```\n## Remarks\nFor keys, this property determines whether any index (normal or SIFT) defined in the key is created in the database. If you are not using the key or if you rarely use the key, you may want to mark it as disabled for performance reasons. When you want to use the key you can change this setting.\nFor fields, this property determines whether you can store data in the field. If the field is unused, disable it to conserve database space. In an XMLPort, a disabled field is read from the external file on import, but it is not inserted in the database.\nFor controls, the Enabled setting for the container that contains this control overrides what is entered here.\nOn pages, you use the Enabled property for group, part, field, and action controls. You can enable or disable the control either statically by setting the property to true or false, or dynamically by using a Boolean variable or a Boolean field on the page. The Boolean field on the page can be either a true/false Boolean or a Boolean expression, such as \"Credit Limit > Sales YTD\".\n> NOTE\n> You can also use as property value a Boolean variable that evaluates to true or false. To use a variable for the Enabled property, it must be set as a global page variable.\n## Related information\nTable Properties<devenv-table-property-overview>\ndevenv-properties"}