Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Report Extension to change defaults on request page

Posted on by 2,418

Hi All

Is there a way to sue report extensions to change the defaults on a standard report - set boolean to true on request page? Looking at the code for report extensions below trigger is not available for extensions:

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/triggers-auto/report/devenv-oninitreport-report-trigger

Thanks

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,296 Super User 2024 Season 2 on at
    RE: Report Extension to change defaults on request page

    Hi, Sorry I didn't test it in detail, if the global variable in the standard report is a protected variable, you might be able to access it in the report extension.

    More details: https://yzhums.com/21738/

    pastedimage1675045345176v1.png

    Or you can change your mind. Hide this value on the Request Page and assign this value to True in the Report's Trigger.

    Hope this can give you some hints 

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Report Extension to change defaults on request page

    I don't think you can change the request page in a report extention.

    The best approach will be to create a copy of the report and modify that.

    Then you can use the event substituting report to have your custom report printed instead of the standard 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.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,188 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans