All new goodies about AL Namespace in BC 2025 wave 2
AL namespace additions in Business Central 2025 wave 2 (BC27): a new AL namespace field on the All Objects with Captions table, Record ID formatting with format type 9 to show the namespace, and evaluating a Record ID against a fully qualified namespace. All three are demoed.
- Introduction and overview of AL namespace
- Comparing BC26 and BC27 - the new AL namespace field
- Finding AL namespace in All Objects with Captions table
- Creating extensions and using System Reflection namespace
- Demonstrating AL namespace in analysis mode
- Using AL namespace with Record ID formatting
- Evaluating Record ID against fully qualified namespaces
- Summary and conclusion
Overview
The video compares BC26 and BC27 and shows that the All Objects with Captions table now has an AL namespace field. It is a Text 500 field. It is not visible on page 9174 in the base application, but the page is extensible, so it can be shown through a page extension. The demo also covers the System Reflection namespace, which the table belongs to, and analysis mode.
The second half covers Record ID. A Record ID can be formatted with format type 9 to show the fully qualified AL namespace of its record, and it can be evaluated against a fully qualified name such as Microsoft Sales Customer to test which namespace a record belongs to.
Key points
- BC27 adds a Text 500 field called AL namespace to the All Objects with Captions table.
- The field is not shown on page 9174 in the base application; the page is extensible, so add the field with a page extension.
- The All Objects with Captions table is in the System Reflection namespace.
- Formatting a Record ID with format type 9 returns the fully qualified AL namespace of the record.
- A Record ID can be evaluated against a fully qualified namespace to test whether a record belongs to it.
- The example fully qualified name for Customer is Microsoft Sales Customer.
Features
Every feature below: status not stated, demoed.
| Feature | At |
|---|---|
| AL namespace field in All Objects with Captions table | 0:24 |
| Record ID formatting with AL namespace | 6:24 |
| Record ID evaluation against fully qualified namespace | 7:58 |
AL objects mentioned
As heard in the captions. A name that matches one object page by exact type and name links to it; the others stay as named.
- table “All Objects with Captions” at 0:24
- page “All Objects with Captions” at 0:59
- page 9174 “All Objects with Caption” at 1:27
- page “All Objects with Caption (page 9174)” at 2:49
- table “Sample” at 6:06
- report “Data Also Sample” at 6:06
- page 22 “Customer List” at 7:10
Not found in BC28-30: table “All Objects with Captions”, page “All Objects with Captions”, page “All Objects with Caption (page 9174)”, table “Sample”, report “Data Also Sample”.
Quotes
- 0:24 “the table is called all objects with captions. uh and the new field is called uh al namespace.”
- 1:27 “if we switch to bc27 and we go to the same page all object with caption”
- 2:25 “al name space it’s a text 500 field and it was also added to the dropdown to the uh group field group”
- 4:46 “the table is part of namespace system reflection. So that’s how that’s how it goes.”
- 6:52 “now that it will display the type the al name space of that record id in which a al name space that”
