{"title":"PreviewMode Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-previewmode-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-previewmode-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-previewmode-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 how the report opens when you preview it.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":112,"chars":22},{"level":2,"title":"Property value","slug":"property-value","at":134,"chars":332},{"level":2,"title":"Syntax","slug":"syntax","at":466,"chars":42},{"level":2,"title":"Remarks","slug":"remarks","at":508,"chars":627},{"level":2,"title":"Related information","slug":"related-information","at":1135,"chars":75}],"text":"> Version: _Available or changed with runtime version 1.0._\nSpecifies how the report opens when you preview it.\n## Applies to\n Report\n## Property value\nValue|Available or changed with|Description\nNormal|runtime version 1.0|Specifies that the report opens in the default view mode where you can navigate between entries and so on.\nPrintLayout|runtime version 1.0|Specifies that the report opens in the print layout mode that shows how the report will print on paper.\n## Syntax\n```al\nPreviewMode = Normal;\n```\n## Remarks\nIn the Report - Properties window, in the PreviewMode field, specify how the report must open in preview mode. The default mode can be different to how the report prints on paper. If you want to make sure that users see the report as it will look on paper, choose PrintLayout.\nRegardless of your choice, users can change the display mode in the Print Preview window. For example, if you choose the default mode, users can choose the Print Layout button. However, if the AL code for the report uses the PREVIEW function to disable printing from the preview, then users cannot change the display mode to print layout.\n## Related information\n../methods-auto/report/reportinstance-preview-method"}