{"title":"DefaultRenderingLayout Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-defaultrenderinglayout-property/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-defaultrenderinglayout-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-defaultrenderinglayout-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Sets the default layout that should be used for this report.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":121,"chars":22},{"level":2,"title":"Example","slug":"example","at":143,"chars":861},{"level":2,"title":"Related information","slug":"related-information","at":1004,"chars":217}],"text":"> Version: _Available or changed with runtime version 9.0._\nSets the default layout that should be used for this report.\n## Applies to\n Report\n## Example\nThe following example shows how to use this property together with a rendering section.\n```al\nreport 50124 MyExcelReport\n    DefaultRenderingLayout = MyExcelLayout;\n    // More report properties goes here\n\n    // dataset definition goes here\n\n    rendering\n    {\n        layout(MyExcelLayout)\n        {\n            Type = Excel;\n            Caption = 'Excel layout for the sales report';\n            Summary = 'The Excel layout for the sales report is used for ad-hoc analysis';\n            LayoutFile = './Src/Reports/SalesReport.xlsx';\n        }\n\n        layout(MyWordLayout)\n        {\n            Type = Word;\n            Caption = 'Word layout for the sales report';\n            Summary = 'The Word layout for the sales report is used for print and pdf generation';\n            LayoutFile = './Src/Reports/SalesReport.docx';\n        }\n    }\n\n```\n## Related information\nDeveloping reports<../devenv-reports>\nDefining multiple report layouts<../devenv-multiple-report-layouts>\nGet Started with AL<../devenv-get-started>\nDeveloping Extensions<../devenv-dev-overview>"}