16
It would be nice if you could specify a list of custom report layouts for use on a report and have them automatically created as custom report layouts when the extension is installed.

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.
Category: Development
STATUS DETAILS
Completed
Ideas Administrator

Thank you for this suggestion! 2022 release wave 1 is adding support for a new rendering section in reports, allowing specifying multiple report layouts, even of the same type, as well as caption and summary surfacing in UI when selecting layout. Old layout properties cannot be used in combination, there is a new code action to convert. Report extensions can add additional report layouts (e.g. report layout packages), but not remove layouts or change the default layout.

Thus resolving this idea.

FLEgCsHWQAMVv_t.png

Thanks,
Business Central R&D team

Comments

D

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

D

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

D

also discussed on https://github.com/Microsoft/AL/issues/4407

Category: Development

D

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

D

Something equivalent was discussed on Yammer:
https://www.yammer.com/dynamicsnavdev/#/Threads/show?threadId=1337858451644416

Category: Development