DefaultRenderingLayout Property
Version: Available or changed with runtime version 9.0.
Sets the default layout that should be used for this report.
Applies to
- Report
Example
The following example shows how to use this property together with a rendering section.
report 50124 MyExcelReport
DefaultRenderingLayout = MyExcelLayout;
// More report properties goes here
rendering
{
layout(MyExcelLayout)
{
Type = Excel;
Caption = 'Excel layout for the sales report';
Summary = 'The Excel layout for the sales report is used for ad-hoc analysis';
LayoutFile = './Src/Reports/SalesReport.xlsx';
}
layout(MyWordLayout)
{
Type = Word;
Caption = 'Word layout for the sales report';
Summary = 'The Word layout for the sales report is used for print and pdf generation';
LayoutFile = './Src/Reports/SalesReport.docx';
}
}
// dataset definition goes here
See also
Developing reports
Defining multiple report layouts
Get Started with AL
Developing Extensions
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈