Hi, Readers.
The public preview for Dynamics 365 Business Central 2025 release wave 1 (BC26) is available. Learn more: Link.
I will continue to test and share some new features that I hope will be helpful.
Use new properties on a report layout:
Business value:
https://learn.microsoft.com/en-us/dynamics365/release-plan/2025wave1/smb/dynamics365-business-central/use-new-properties-report-layout?wt.mc_id=DX-MVP-5004336
The new properties added to report layouts significantly enhance the flexibility and functionality of your reporting. The ObsoleteState property allows developers to mark layouts as deprecated, ensuring a smoother transition and better management of future updates. Meanwhile, the ExcelLayoutMultipleDataSheets property enables more complex and customized Excel reports without compromising existing layouts. These enhancements streamline your reporting processes, reduce the risk of errors, and ultimately save time and resources for your business.
This is also mentioned in AL Language extension changelog Version 15.0:
Added the
https://marketplace.visualstudio.com/items/ms-dynamics-smb.al/changelogObsoleteState
,ObsoleteReason
, andObsoleteTag
properties to the Report Layout to enable marking a layout as obsolete.
Added theExcelLayoutMultipleDataSheets
property to the Report Layout to specify whether an Excel layout should be rendered with multiple data sheets or a single one.

With this wave (BC26), the following new properties are available for report layouts:
- ObsoleteState
- ExcelLayoutMultipleDataSheets
With the ObsoleteState property, a developer can signal that a layout is deprecated and will be removed in a later release.ObsoleteState Property
: Marks whether the object will be deprecated.ObsoleteReason Property
: Specifies why the object has been marked as Pending in the ObsoleteState property.ObsoleteTag Property
: Specifies a free-form text to support tracking of where and when the object was marked as obsolete, for example, branch, build, or date of obsoleting the object.
For example,

The property is shown on the Report Layouts page.

With the ExcelLayoutMultipleDataSheets property, a developer can override the global property defined on the report object to the layout context. For reports where the global property ExcelLayoutMultipleDataSheets wasn’t set (and therefore interpreted as False), a developer can add Excel layouts that use the ExcelLayoutMultipleDataSheets feature without adding the risk of breaking existing Excel layouts that users added.
In Business Central 2023 wave 2 (BC23): Sets whether an Excel layout will render to multiple data sheets or in a single sheet named Data (ExcelLayoutMultipleDataSheets Property), we have discussed this new property before, but at that time it could only be set globally for the report object. For example,

With this wave, we can set this property for layouts individually.

PS:
The Property ‘ExcelLayoutMultipleDataSheets’ can only be used if the property ‘Type’ is set to ‘Excel’ AL AL0223

Great, give it a try!!!😁
END
Hope this will help.
Thanks for reading.
ZHU
コメント