Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

Selecting the report design at the runtime based on the dialog parameter values

Posted on by 309

Hi,

Here is a solution to select the design at the runtime based on dialog field values in AX 2012 SSRS reports. Hope this will help you.

 

Please go through the link here

 

Thanks,

Prasan :)

Categories:
  • Suggested answer
    Kakang Prabu Profile Picture
    Kakang Prabu 30 on at
    RE: Selecting the report design at the runtime based on the dialog parameter values

    I use this way for your problem and I try work for me.

    dhruvrthakar.blogspot.com/.../change-ssrs-report-design-based-on.html

  • Suggested answer
    Dhruv R Thakar Profile Picture
    Dhruv R Thakar 212 on at
    RE: Selecting the report design at the runtime based on the dialog parameter values

    Below is the solution to change the report design at run time based on dialog parameter values. Hope below link will help you and other members also.

    dhruvrthakar.blogspot.com/.../change-ssrs-report-design-based-on.html

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: AX 2012 – SSRS Reporting : Selecting the report design at the runtime based on the dialog parameter values

    Thanks for your guide. It works.

  • dolee Profile Picture
    dolee 11,279 on at
    RE: AX 2012 – SSRS Reporting : Selecting the report design at the runtime based on the dialog parameter values

    Hi VDY,

    In addition to what Rachit said, the preRunModifyContract method is the hook to change to a different report design based on user input parameters from the dialog before the report is run. Whether to do it in the same method or put the logic in a seperate method is up to you to decide.

  • Suggested answer
    Rachit Profile Picture
    Rachit 4,011 User Group Leader on at
    RE: AX 2012 – SSRS Reporting : Selecting the report design at the runtime based on the dialog parameter values

    Hi VDY,

    Check out the method \Classes\CustAgingReportController\getReportName() which is getting called from the preRunModifyContract method as mentioned by Dominic.

    @Prasan -> Appreciate your efforts in sharing information with the community, you can use your blog to share such information as that will give you right platform to reach out the community with such updates and also easier for community members to search it in future. If there is no open question in this thread then please mark this thread as Answered. Have a great day.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: AX 2012 – SSRS Reporting : Selecting the report design at the runtime based on the dialog parameter values

    Hi Dominic, where does it specify what design to be selected based on parameter of contract?

  • dolee Profile Picture
    dolee 11,279 on at
    RE: AX 2012 – SSRS Reporting : Selecting the report design at the runtime based on the dialog parameter values

    Hi guys,

    You can look at standard code for an example. Open the CustAgingReportController class. Look at the preRunModifyContract method.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: AX 2012 – SSRS Reporting : Selecting the report design at the runtime based on the dialog parameter values

    Hi John, Did you find solution for this? Thanks.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: AX 2012 – SSRS Reporting : Selecting the report design at the runtime based on the dialog parameter values

    Hi Prasan, This link is not working. Can you please provide it? THanks.

  • DONA Profile Picture
    DONA 642 on at
    RE: AX 2012 – SSRS Reporting : Selecting the report design at the runtime based on the dialog parameter values

    Hi Prasan,

    I am interested to see the solution but the link seems broken :-(.

    Please can you post the good link

    Thanks in advance

    John83

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,986 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans