Notifications
Announcements
No record found.
HI Dynamics Community,
I have one query I have 2 reports design and have Two menu items of same type . I want to call it from same controller class Using if condition
but facing difficulty in syntax .
Please give us more information about your problem.
hi martin ,
I have two design and have make one controller class for both design.
have make two different output menu items for both i want to add condition on my controller class that when user click output menu item of 1 design open and for second as same
You mentioned a problem with syntax...
Hi Wasam,
Basically, what you want is to call the Report designs directly from the controller class, like this:
if(someCondition) { this.parmReportName(ssrsReportStr(ReportName, ReportDesign1)); } else { this.parmReportName(ssrsReportStr(ReportName, ReportDesign2)); }
You can add it on the outputReport() method on your controller class.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 611 Most Valuable Professional
André Arnaud de Cal... 529 Super User 2025 Season 2
Sohaib Cheema 285 User Group Leader