Hi, Readers.
Today I would like to share another mini tip about Business Central, how to quickly copy a report layout (Create a copy of the selected layout).
A report layout controls the content and format of a report. It determines which fields from the report dataset appear, how they’re arranged, and which text styles and images the report uses. In Business Central, you can select the layout that a report uses, create a new layout, or modify an existing layout. There are four types of layouts that you can use for reports:
- Word
- RDLC
- Excel
- External
For example,

The Report layouts page, provides users with an overview of the different available layouts for reports. Both built-in layouts and layouts that are uploaded by the user are listed here. On this page, the user can export layout files and upload new versions of report layouts.

Since there is no built-in copy function, I recently noticed that some developers export the layout file first and then import it into a newly created layout to duplicate it.


However, that extra step isn’t necessary. There is a much simpler approach, which is actually documented in Microsoft Learn. More details: Copying an existing layout lets you quickly create a new, identical layout that you can customize.
Let me run a quick test.
- Select Search (Alt+Q)
in the upper-right corner, enter Report Layouts, and then choose the related link.The Report Layouts page appears and lists all the layouts currently available for all reports.The Report Layouts page lists all layouts for all reports.


- Select the layout that you want to copy for the new layout, and then select the Edit Info action.

- Turn on the Save Changes to Copy toggle, if it isn’t already on.
Save Changes to a Copy
Create a copy of the selected layout with the specified changes.

- In the Layout Name field, enter a new name.

- Select OK.The new layout appears on the Report Layouts page.

Done.

Very simple. Give it a try!!!😁
PS: If needed, you can change the settings in your new layout. To learn more, go to Modify a layout.
END
Hope this will help.
Thanks for reading.
ZHU




コメント