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

I have the same question (0)
  • DONA Profile Picture
    642 on at

    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

  • Community Member Profile Picture
    on at

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

  • Community Member Profile Picture
    on at

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

  • dolee Profile Picture
    11,279 on at

    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

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

  • Suggested answer
    Rachit Profile Picture
    4,015 User Group Leader on at

    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.

  • dolee Profile Picture
    11,279 on at

    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.

  • Community Member Profile Picture
    on at

    Thanks for your guide. It works.

  • Suggested answer
    Dhruv R Thakar Profile Picture
    214 on at

    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

  • Suggested answer
    Kakang Prabu Profile Picture
    30 on at

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

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

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Sukrut Parab Profile Picture

Sukrut Parab 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans