Dynamics 365 Business Central: Disabling option to choose Report Layouts on the request page

Dynamics 365 Business Central

Hi, Readers.
Today I would like to briefly discuss a simple question I saw in Business Central Forum before, Disabling option to choose different report layouts at request page (dynamics.com).
As you might know, in Business Central 2022 wave 2 (BC21), Microsoft introduced the following new feature, Business Central 2022 wave 2 (BC21): Choose the report layout on request page (Select a report layout before printing).

Business value:

Users can choose which report layout to use on the request page. This will make it easier to use different report layouts for different purposes, especially for Excel layouts.

https://docs.microsoft.com/en-us/dynamics365-release-plan/2022wave2/smb/dynamics365-business-central/users-choose-report-layout-request-page

It is very convenient, users can select the layout they need to print before printing on the request page. But if we only have one layout file and don’t want the user to select, is there any simple way? Yes, we can manage it with permissions.

But there is one thing to note here. In page 9660 “Report Layouts”, Microsoft sets the Permissions property.

According to my test, there is no way to exclude the table permissions for control (Maybe I didn’t test enough).

So just use the page to control, for example,

In this way, users can open the report’s request page and print the report normally, but an error will be reported when selecting Report Layout.

Sorry, the current permissions prevented the action. (Page 9660 Report Layouts Execute: _Exclude_ReportLayouts)

PS: Because this is not included in the base application, if you want to view the standard code for this part, you need to download the symbol file of the extension below.

App ID: b7174aae-753c-4e71-bacb-d973995dce5e
Name: _Exclude_ReportLayouts
Publisher: Microsoft

More details: How to list all installed extensions/apps in your Business Central environment (Including hidden apps – “_Exclude_……”)

Of course, we can also consider customization. However, please try not to customize what the standard can do unless there are special requirements.
Very simple, give it a try!!!😁

PS:
1. Business Central 2022 wave 1 (BC20): New pages for report layout administration (page 9660 “Report Layouts”)

2. Dynamics 365 Business Central: Add Custom Report Layouts to Report Layouts (Migrate to System Layouts)

3. Dynamics 365 Business Central: How to set the default report layout via AL (“Report Layout List 2000000234”)

END

Hope this will help.

Thanks for reading.

ZHU

コメント

Copied title and URL