Announcements
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Abhilash Warrier 461 Super User 2026 Season 1
Subra 445
André Arnaud de Cal... 440 Super User 2026 Season 1