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
Commentaires
https://aka.ms/ContentUserFeedback.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour