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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

when we exactly consider CONTROLLER CLASS in SSRS REPORT?

(0) ShareShare
ReportReport
Posted on by 30

Hi All,

Can you please let me know when we exactly need CONTROLLER CLASS in SSRS REPORT?

As per my requirement i have to do one report for Purchase order. In dialog only we need to PURCH ID lookup.

As i know, i can achieve this requirement through ( CONTRACT + DP CLASS ).. Because i don't have any validation in dialog.

Is it correct?

Kindly let me know when we consider CONTROLLER CLASS in SSRS report?

Please give me more shed on this.

Thanks!

I have the same question (0)
  • Blue Wang Profile Picture
    on at

    Hi @rp@n,

    Controller class is used to control the report execution as well as preprocessing of the report data. The SSRS reporting framework uses this class to modify the report dialogs, calling the SQL Server reporting services, as well preprocessing parameters for the report.

    Controller class is also used when reports are opened from a form and are needed to show selected record details.

    Please refer this:www.dynamics101.com/.../

  • @rp@n Profile Picture
    30 on at

    Thanks

    That i understand, but my question is "IS REQUIRED ALWAYS CONTROLLER CLASS?"

    I saw in some customized and stand. reports using only CONTRACT + DP CLASS.

    Please give me more shed on this.

    Thanks!

  • Blue Wang Profile Picture
    on at

    Hi @rp@n,

    No, it's not necessary.

    The specific class or combination depends on your needs.

    You can even create reports without parameters, without using the contract class, and even without the controller class.

  • Suggested answer
    Martin Dráb Profile Picture
    237,990 Most Valuable Professional on at

    Yes, there is always a controller, as there is always a UI builder if you show a dialog. But if you don't need any special behavior, you simply use the default implementations and you don't even have to be aware of it.

    Only when you need something custom, you create a specialization of the default controller.

  • @rp@n Profile Picture
    30 on at

    Thanks Martin,

    Means if dialog is there in report as a  parameter, then it will always required controller or UI Builder class. but depend on requirements.

    if not , then we will go for contract + DP class .

    is it rite?

  • Martin Dráb Profile Picture
    237,990 Most Valuable Professional on at

    No, that's not what I said. Let me make it even simpler:

    1. There is always a controller. Period.

    2. If you show a dialog, you're using a UI builder. The magic that builds the UI (the dialog) is the UI builder class. That's why it's called that way. If you're not building UI, then you don't need a UI builder, because there is nothing to build.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 471 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 423 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans