{"title":"DefaultLayout Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-defaultlayout-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-defaultlayout-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-defaultlayout-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":"Specifies whether the report uses the built-in RDL or Word report layout by default.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":145,"chars":22},{"level":2,"title":"Property value","slug":"property-value","at":167,"chars":312},{"level":2,"title":"Syntax","slug":"syntax","at":479,"chars":206},{"level":2,"title":"Remarks","slug":"remarks","at":685,"chars":1071},{"level":2,"title":"Related information","slug":"related-information","at":1756,"chars":323}],"text":"> Version: _Available or changed with runtime version 1.0._\nSpecifies whether the report uses the built-in RDL or Word report layout by default.\n## Applies to\n Report\n## Property value\nValue|Available or changed with|Description\nRDLC|runtime version 1.0|Specifies the built-in RDL layout as the default layout.\nWord|runtime version 1.0|Specifies the built-in Word layout as the default layout.\nExcel|runtime version 9.0|Specifies the built-in Excel layout as the default layout.\n## Syntax\n```al\nreport 50124 MyExcelReport\n{\n    DefaultLayout = Excel;\n\n    // more report code here\n}\n```\nAllowed values are defined in the option type ../methods-auto/defaultlayout/defaultlayout-option.\n## Remarks\nA report object can include a built-in layout of either an Excel type, Word type, or RDL type. When you set the property to a type, then that layout type is used by default to view, save, and print a report. Users can change a report to use another layout from the Dynamics 365 Business Central client.\n> WARNING\n> Using the report properties DefaultLayout, ExcelLayout, RDLCLayout, and WordLayout should be avoided as these properties will be deprecated in a later release. Instead, it's recommended to use the property DefaultRenderingLayout together with the new rendering syntax introduced in runtime version 9.0.\n> In Visual Studio Code, when hovering over any line with the ExcelLayout, RDLLayout, or WordLayout property, you can use the code action Convert to 'Rendering' to convert to the new rendering syntax.\n> See devenv-defaultrenderinglayout-property.\n> The use of any of these report properties impact performance as every call loads the full layout in memory even if the intent is only to check if a given report had a layout of the given type.\n## Related information\nDeveloping reports<../devenv-reports>\nDefining multiple report layouts<../devenv-multiple-report-layouts>\nCreating an RDL Layout Report<../devenv-howto-rdl-report-layout>\nCreating an Excel layout report<../devenv-howto-excel-report-layout>\nCreating a Word Layout Report<../devenv-howto-report-layout>"}