17
It would be very useful to have a public procedure to set the default report layout via code.
I suggest to add a new Codeunit in the "Report Layouts App".
This is an often required feature as you can read in this yammer thread: https://www.yammer.com/dynamicsnavdev/threads/2564931706757120
Similiar to the procedure in this gist: https://gist.github.com/mortenseifert/85ca62a9c792ebb2ae5e6fbc5f1cb947
procedure SetDefaultReportLayout(ReportId: Integer; LayoutName: Text[250])
STATUS DETAILS
Needs Votes

Business Central Team (administrator)
Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team