web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Change of custom Layout for same report through EVENT

(0) ShareShare
ReportReport
Posted on by 134

Hi experts,

My question is if I want to run two different layouts for same report on the basis of some checkmark (boolean) on invoice ... how can i do that ??? I can't find an event that is used to switch layout..

Layout should automaticaly get attached on the base of that checkmark user should not manually change the layout .....

Thanks for your consideration

I have the same question (0)
  • Suggested answer
    Amit Profile Picture
    2,563 on at
  • Abdullah Khalid Profile Picture
    134 on at

    And how can we switch to other layout automatically.... like on basis of come check

  • Verified answer
    YUN ZHU Profile Picture
    101,414 Super User 2026 Season 1 on at

    Hi, You can specify the layout that needs to be run with code before the report is run.

    I hope the following information can give you some hints.

    Select a report layout before printing

    https://yzhums.com/25943/

    Thanks.

    ZHU

  • Abdullah Khalid Profile Picture
    134 on at

    Hi Yzhums,

    Your mentioned blog is helpful but what i want is to automatically attach layout on base of some check from invoice.... I don't want to get user input... I'm looking for an Event that has parameter of record and custom report layout which i can use to change layout....

    Thanks

  • Verified answer
    YUN ZHU Profile Picture
    101,414 Super User 2026 Season 1 on at

    Hi, my example is to let the user choose, but you can add some conditions, such as A condition use A Layout, B condition use B Layout, and then run the report.

    If you're looking for certain events, hopefully other experts can give you better advice.

    Thanks.

    ZHU

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,216 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,471 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,369

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans