Announcements
Why are you creating a separate request field for this? Since the Report Layout section on the request page is distinct from your custom fields, it is not possible to programmatically change the layout using AL code directly.
In Business Central, the layout selection on the report request page cannot dynamically control the layout used for rendering the report based on a custom option field.
However, you can work around this limitation by either using multiple reports or guiding the user to select the layout manually from the Report Layout Selection page before running the report.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,371 Super User 2026 Season 1
YUN ZHU 1,806 Super User 2026 Season 1
AndrewThomas81 1,371