Enable and disable keys at runtime
Enable and disable keys at runtime
A key can be defined with Enabled set to false and enabled by code at runtime. This suits features most customers do not use.
Area: Developer tools. Status: GA. Developer relevance: high. Airtime: 1 min across 1 video, demoed.
Status evidence
- Nothing said about status; launch event convention: generally available unless stated otherwise.
Where they talk about it
- What's new: Server and Database: 6:13 to 6:53, demo at 6:26
Quotes
- 6:13 "now you can have that index define it as enabled equal false" - Shows how to define an index that stays off until a feature needs it.
- 6:53 "we can now add an index that spans both the base table and your extension fields" - A long-requested capability that follows from the single-table model.
Prerequisites mentioned
- Key defined with Enabled = false in AL
Documented features match
- AL developers can turn indexes on/off in AL code. - high confidence (llm). Docs say: General availability, roadmap id 573314. Same
Docs checked on 2026-10-02: the match is against Microsoft's what's new pages for the wave as they were on that date. Microsoft keeps filling the documentation, so "no documented item" can go stale. The wider product documentation on learn.microsoft.com was searched for this feature on the same date; the feature's data lists an article when one was found.
Tags: al, indexes, database, performance
Generated by pipeline step 06. Source: YouTube auto-captions of the launch event videos, see the deep links. Not official.