Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

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 :)

*This post is locked for comments

  • 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 214 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,015 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

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans