Skip to content

Layout Packages

A Document Creator Layout Package (.dcr) is a file that contains multiple layouts. Layout packages can be used to easily export/import multiple layouts from one Dynamics 365 Business Central database to another. Layouts that are imported from a layout package always add new layout records, rather than replacing any existing layout records.

Export / ImportLink

You can export and import layout packages from the Custom Report Layouts page. The Export Layout Package... and Import Layout Package... can be used for this purpose.

layout-package-actions

Info

If layouts are found that would be overwritten during the import of a Layout Package, then the current version of the layout is automatically added to the Custom Report Layout Archive before the package is imported, along with a comment that reads "Layout Package Import".

layout-package-import-archive

Tip

Document Creator ships with a set of W1 Report Templates. This comprises the source code of the report objects and a layout package. See Templates.

Dataset ExtensionsLink

By default, layout packages also include Dataset Extensions for the reports that the layouts apply to. If you import dataset extensions from a layout package, then any existing dataset extensions for the same report will be overwritten.

To change whether or not Dataset Extensions should be included, you can change the value of the Layout Package Contents field in the Document Creator Setup page.

layout-package-contents