This would allow us to include multiple different layouts for the same report in an extension without needing to import the layouts after we install the package.
I see it being either a new object type (reportlayoutregistration) with report id, layout type, layout name, file name; or as a new section that can be specified on a report/report layout directly.
Comments
I'd like this, but implemented differently than the suggested new object type, in my head just an array of layouts in the report file would work (and then report extensions also allowing additions to that array).
Category: Development
Maybe the simplest solution would be to extend the properties RDLCLayout and WordLayout or add another property to the report object in order to support multiple layouts.
Category: Development
also discussed on https://github.com/Microsoft/AL/issues/4407
Category: Development
summary of that link: Report extensions show a start of support for this, as they install their layouts as "Built-in" ones, but we can only specify one layout per report extension object, and only one report extension object per extension/appId, so we can't make multiple layouts available for selection within a single extension unfortunately.
Category: Development
Something equivalent was discussed on Yammer:
https://www.yammer.com/dynamicsnavdev/#/Threads/show?threadId=1337858451644416
Category: Development
Business Central Team (administrator)