Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

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

(0) ShareShare
ReportReport
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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
Zain Mehmood Profile Picture

Zain Mehmood 6 Moderator

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans